Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hg: How to mark a changeset as 'stable'

Tags:

mercurial

As the repository of hg itself, some changesets are marked with 'stable'. I am wondering how to add the 'stable' mark to changesets. I had googled but it doesn't help. I tried 'hg help tag' but still can not figure out how to do it. Do I miss something very basic?

Thanks in advance.

like image 925
yoco Avatar asked Sep 01 '10 08:09

yoco


People also ask

How do you Uncommit in Heartgold?

A simple way to 'uncommit' your last commit is to use hg strip -r -1 -k. In case the link breaks, the documentation mentioned by @phb states: hg rollback Roll back the last transaction (DANGEROUS) (DEPRECATED) Please use 'hg commit --amend' instead of rollback to correct mistakes in the last commit.

How do I revert a commit in Mercurial?

If you want to revert changes already committed: To backout a specific changeset use hg backout -r CHANGESET . This will prompt you directly with a request for the commit message to use in the backout. To revert a file to a specific changeset, use hg revert -r CHANGESET FILENAME .


1 Answers

I believe they are not "marked" as stable.

Those commits are part of the branch 'stable' history.

alt text

See the graph:

alt text

like image 74
VonC Avatar answered Sep 23 '22 07:09

VonC