[Top][All Lists]

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

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

From: Ludovic Brenta
Subject: Re: [Monotone-devel] Re: Undo a commit
Date: Fri, 10 Oct 2008 21:19:03 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Daniel Carrera <address@hidden> writes:
> Ludovic Brenta wrote:
>> Easier:
>> $ mtn rebase p:
>>> $ mtn disapprove 1e129601c2cd983fc6c73053cc13544ac36cc229
>> $ mtn disapprove h:
> Are p: and h: aliases for parent and head? That *is* easier.

Yes.  See the chapter "Selectors" in the monotone manual.

> mtn rebase p:
> mtn disapprove h:
> Very nice. Now, so that I'm clear, what exactly is h:/head? If you
> "rebase", does that change the head?

No, it only changes the revision on which the current workspace is
based.  Other workspaces are unaffected.  The database is unaffected.

> If not, then what happens when a
> branch has two heads? What would h: mean in that case?

In that case, monotone complains and bails out; you have to select one
of the heads unambiguously.

Ludovic Brenta.

reply via email to

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