git rebase - can hg do that ?

David Jack Olrik david at olrik.dk
Tue May 29 18:42:08 UTC 2007


On 29/05/2007, at 16.26, Giorgos Keramidas wrote:
> MercurialQeueus can do that, and it works nicely for local patch  
> queues:

Mq looks nice, but is a bit more work than just writing 'hg rebase  
<branch>'

> If you have made local commits and haven't "merged" any heads,
> you can even put local changesets under MQ control "after the fact",
> and use the MqMerge process to rebase your local patches.

Given this fact it should be possible to create a hg rebase command  
based on Mq. This command should put every revision since last merge/ 
first branch point under MQ control, hg qpop -a, update upstream  
branch, hg qpush -a.

git's rebase function can also remove revisions from branches and  
other branch magic =)

Guess I'll play with Mq for now...

-- 
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://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070529/16ebc750/attachment-0001.p7s>


More information about the Mercurial mailing list