[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: Undo a commit
From: |
Bruce Stephens |
Subject: |
[Monotone-devel] Re: Undo a commit |
Date: |
Thu, 09 Oct 2008 15:06:02 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Daniel Carrera <address@hidden> writes:
> How do I undo a commit? I just made a commit and I just realized that
> the commit included a file that I did not want committed in this
> patch. What's the command to undo the last commit call? Is
> "disapprove" the right command? It looks like the closest thing,
> except that it keeps a history off the change and the undoing of the
> change. Is that right? Is that a feature?
Correct, and it's a feature. You might alternatively commit the
corrected revision (to the parent), and add a "suspend" cert to the
wrong one. That still leaves the change there, but it'll generally be
ignored.
You can also kill a revision in your local database (using db
kill_revision_locally).
(So there's no easy equivalent to amend-record, to amend a commit
(with the proviso that the user is responsible for the mess if the
commit has been propagated somewhere). I don't know that there's any
strong reason for that---I think it's just that nobody's written one.)
[...]
- [Monotone-devel] Undo a commit, Daniel Carrera, 2008/10/09
- Re: [Monotone-devel] Undo a commit, Alex Sandro Queiroz e Silva, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Lapo Luchini, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Lapo Luchini, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/09
- [Monotone-devel] monotone philosophy (was Re: Undo a commit), Bruce Stephens, 2008/10/09
- Re: [Monotone-devel] monotone philosophy (was Re: Undo a commit), Timothy Brownawell, 2008/10/09
- Re: [Monotone-devel] monotone philosophy (was Re: Undo a commit), hendrik, 2008/10/09
[Monotone-devel] Re: Undo a commit,
Bruce Stephens <=
Re: [Monotone-devel] Undo a commit, Daniel Carrera, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Thomas Keller, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Lapo Luchini, 2008/10/09