Mercurial操作誤り時の解決方法

例、この流れ実行すると

hg branch t1234
hg pull
hg up default
hg commit
hg push --new-branch

正解

Check all log with tree

hg glog

Check log with tree

hg glog -b t1234

Check log

hg log -b t1234

Use t1234 branch’s parent to compare to see status

hg st --rev=2da0d0c691b7:t1234

See the different of the two branch

hg diff --rev=2da0d0c691b7:t1234