Manually adding tags

ZyX zyx.hg at yandex.ru
Fri Aug 26 21:21:40 UTC 2011


Reply to message «Re: Manually adding tags», 
sent 22:44:40 27 August 2011, Saturday
by Harvey Chapman:

> Ah, good suggestion.
> 
> hg tag --no-commit ... = hg tag ... ; hg rollback
No, not this. I would be fine with having `hgtag' script or alias that does `hg 
tag && hg rollback', but mercurial can rollback only one operation, so this 
solution has undesirable side-effect.

Original message:
> On Aug 26, 2011, at 12:39 PM, Becker, Mischa J wrote:
> > A no-commit option would be great.  Back when I used tags, I was always
> > doing a rollback after the tag to undo the tag-only commit.  Since
> > rollback leaves the .hgtags file altered, the new tag would be included
> > in my next commit.
> 
> Ah, good suggestion.
> 
> hg tag --no-commit ... = hg tag ... ; hg rollback
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20110827/8c762e88/attachment.asc>


More information about the Mercurial mailing list