pub enum ChangeOp {
New(String),
Edit(String),
Describe {
rev: String,
message: String,
},
Squash(String),
Abandon(String),
Undo,
Redo,
}Expand description
A jj verb on one change. A rev is @, or a full commit id that names
the change it belongs to, so a change rewritten since keeps its target.
Variants§
New(String)
Edit(String)
Describe
An empty message clears the description.
Squash(String)
Into its parent. Both descriptions survive: the parent’s, then the change’s, when both are set.
Abandon(String)
Undo
Redo
Trait Implementations§
impl Eq for ChangeOp
impl StructuralPartialEq for ChangeOp
Auto Trait Implementations§
impl Freeze for ChangeOp
impl RefUnwindSafe for ChangeOp
impl Send for ChangeOp
impl Sync for ChangeOp
impl Unpin for ChangeOp
impl UnsafeUnpin for ChangeOp
impl UnwindSafe for ChangeOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more