git rebase - can hg do that ?

David Jack Olrik david at olrik.dk
Tue May 29 08:56:37 CDT 2007


Hi,

I have been playing with gits rebase command and find it extremely  
useful,
can mercurial do this ?

Assume the following history exists and the current branch is "topic":

                  A---B---C topic
                 /
            D---E---F---G master

 From this point, the result of either of the following commands:

     git-rebase master
     git-rebase master topic
would be:

                          A'--B'--C' topic
                         /
            D---E---F---G master

The docs to 'hg transplant' says it can rebase changes, but its  
doesn't seem to do the above.

Any hints ?

-- 
Best regards,
David Jack Olrik <david at olrik.dk>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1855 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20070529/8059dcd5/attachment.bin 


More information about the Mercurial mailing list