how to revert update operation
Martin Pool
mbp at canonical.com
Fri Jul 21 04:57:06 BST 2006
On 18 Jul 2006, "Stefan (metze) Metzmacher" <metze at samba.org> wrote:
> Alexander Belchenko schrieb:
> > Oops. My fingers moves faster than I think. I also run revert. :-(
> > And after revert I lose all.
I guess you already worked this out, but the heads plugin discussed the
other day will help you recover your pending merges.
> I think I would be really help full, to let 'bzr revert' take an
> argment, or the -R (recursive option),as svn do.
>
> when you do type 'bzr revert -> tab' and by accident hit the enter
> button all the uncommited work is gone, that that's very bad!
Yes, that's a fair point - regardless of whether you were reverting your
merges or something else. How about this:
bzr revert FILE revert one file
bzr revert -R DIR revert from this point down
bzr revert --all revert the whole tree, including
pending merges
--
Martin
More information about the bazaar
mailing list