[PATCH 1 of 1 RFC] tag: abort if not at a branch head

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Dec 7 03:19:28 CST 2010

On Tue, Dec 7, 2010 at 09:56, Adrian Buehlmann <adrian at cadifra.com> wrote:
> On 2010-12-07 09:45, Dirkjan Ochtman wrote:
>> On Tue, Dec 7, 2010 at 01:14, Matt Mackall <mpm at selenic.com> wrote:
>>> I'm hard-pressed to think of any realistic use cases for committing a
>>> tag at somewhere other than a branch head. Can anyone think of one?
>> Seems sensible to me.
> Meaning...
> ... you want to abort hg tag unconditionally if parent is not a branch head?

I think requiring --force is about right. We don't go around stopping
people from starting new heads in normal commits, do we?



More information about the Mercurial-devel mailing list