branches & 'hg update'
Greg Ward
greg-hg at gerg.ca
Fri Jun 19 08:42:15 CDT 2009
On Thu, Jun 18, 2009 at 6:19 AM, Aurélien
Campéas<aurelien.campeas at logilab.fr> wrote:
> Otherwise, I can't reproduce the bug but with this exact sequence:
>
> $ hg branch 9.5
> marked working directory as branch 9.5
> $ hg tag 9.5
Hmmm. Seems to me that this really should provoke at least a warning.
After all, Mercurial already prevents you from doing really bad
things like redefining 'tip' or 'null'. This isn't quite that bad,
but I can see someone coming from a Subversion background thinking
it's OK.
Also, the opposite order -- "hg tag x ; hg branch x" -- should also
trigger a warning. IMHO.
I know we can't possibly catch every such conflict, but we should at
least get the easy ones.
Greg
More information about the Mercurial
mailing list