Manually adding tags

Isaac Jurado diptongo at gmail.com
Fri Aug 26 12:40:31 UTC 2011


On Fri, Aug 26, 2011 at 1:26 PM, Scott Palmer <swpalmer at gmail.com> wrote:
>
>> If I understood correctly, you wan to tag a changeset you are about
>> to commit, right?  If that is the case, you can forget about it
>> because the .hgtags file needs the revision ID (the SHA) which you
>> can't know until AFTER commit has been done.  So there is a
>> bootstrapping problem.
>>
>> Besides, the "hg tag" command is just that:
>>
>> $ echo "version shaid" >>.hgtags && hg commit
>
> I think he just wants to include more in that same commit. He is still
> tagging an older version.

Oh well, in that case what I wrote doesn't apply.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci



More information about the Mercurial mailing list