Practical rebase for HG

anatoly techtonik techtonik at gmail.com
Thu Aug 21 06:16:51 UTC 2014


Rebase is useful for reviews. Right now if you update PR, you need
to the following:

$ hg log --graph --limit 10
$ hg rebase
$ hg phase -d -r <start>:<end> -f
$ hg rebase

Then go to Bitbucket -> Admin ->Strip.

$ hg push


Putting aside inevitable BB Admin mess, how do you find the start
and end commits in a single lineage? In the most simple form I need
to make all outgoing commits as drafts, in most complicated only
from the single lineage.
-- 
anatoly t.



More information about the Mercurial mailing list