[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Undo a commit

From: Daniel Carrera
Subject: Re: [Monotone-devel] Re: Undo a commit
Date: Fri, 10 Oct 2008 19:09:11 +0200
User-agent: Thunderbird (Macintosh/20080914)

Daniel Carrera wrote:
Ok. "mtn suspend" and "mtn disapprove" look like good solutions. Combined with "mtn rebase" that would cover my use case.

Actually, it looks like "suspend" is used to suspend certs rather than revisions. But that's ok, I still have "disapprove".

$ mtn commit
mtn: beginning commit on branch ''
mtn: committed revision 1e129601c2cd983fc6c73053cc13544ac36cc229

## Oops, I made a mistake.

$ mtn log|grep Ancestor|head -n 1
|   Ancestor: 4b4069fffd06d8f4c5981314d99838bda9a9b75a

$ mtn rebase 4b4069fffd06d8f4c5981314d99838bda9a9b75a

$ mtn disapprove 1e129601c2cd983fc6c73053cc13544ac36cc229

It's not as simple as "mtn undo" but it's good enough.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]