How to tag and goes to a tag in hg
Posted
by michael
on Stack Overflow
See other posts from Stack Overflow
or by michael
Published on 2010-04-26T15:57:37Z
Indexed on
2010/04/29
20:57 UTC
Read the original article
Hit count: 317
hg
Hi,
From here, it said 'hg tag 1.0' is to get my hg repository to a tag name. http://wiki.pylonshq.com/display/pylonscookbook/Mercurial+for+Subversion+Users
How can I switch my repository to that tag name? $ hg tag myTag1.0 $ $ hg commit -m "a message" $ hg how to go back to that tag?
and if I make a new 'hg commit' here, what will happen? Will it goes to the branch of myTag1.0? or it will stay with default branch?
Thank you.
© Stack Overflow or respective owner