[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: Undo a commit
From: |
Ludovic Brenta |
Subject: |
[Monotone-devel] Re: Undo a commit |
Date: |
Fri, 10 Oct 2008 16:47:22 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
Selon Daniel Carrera:
> Ludovic Brenta wrote:
>> Or teach db kill_rev_locally to only change the workspace's parent
>> revision without changing anything to the workspace?
>
> Or make a command "mtn rollback" that is equivalent to kill_rev_locally
> without changing the workspace. It should be simple enough.
>
> Step 1: Edit _MTN/revision to point to the previous revision.
> Step 2: Run kill_rev_locally on the last revision.
I would prefer a single-purpose command, "mtn rebase -r <rev>", that only
rewrites the old_revision field in _MTN/revision. Then, the user can
either kill_rev_locally h:, disapprove h:, or simply commit to create a
divergence if that's what they want.
--
Ludovic Brenta.
- [Monotone-devel] Re: Undo a commit, (continued)
- [Monotone-devel] Re: Undo a commit, Lapo Luchini, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Thomas Keller, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- [Monotone-devel] Re: Undo a commit,
Ludovic Brenta <=
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10