[RFC] rebase --collapse

Stefano Tortarolo stefano.tortarolo at gmail.com
Thu Aug 14 15:36:38 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giorgos Keramidas wrote:
>   % hg rebase --source 2
>   abort: cannot rebase an ancestor

Currently if --dest is not specified it defaults to branch head, you
should try with hg rebase -s 2 -d 1.
It's not very intuitive I guess, maybe I'll write a note somewhere or
change its behaviour.

> One final suggestion I would like to make is to add in key places of the
> rebase extension debugging output.  The command
> 
>   % hg --debug rebase --source 2
>   abort: cannot rebase an ancestor
>   %
> 
> is not very useful right now.  But it could be made a lot more useful if
> we added tracing/debugging output to `rebase.py' that showed what it is
> trying to do while it runs.

You have to use hg rebase --debug.

[ste at nyrael rebase-soc-collapse]$ hg rebase
nothing to rebase
[ste at nyrael rebase-soc-collapse]$ hg rebase --debug
already working on current
nothing to rebase

Cheers,
Stefano

- --
KeyID => 5C955EC7C2513178
fpr A8E3 8A35 F5BE D6CE 3BFA F0A3 5C95 5EC7 C251 3178
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkikl1EACgkQXJVex8JRMXh4QgCgo/ASPTRCMrflHTxHcXweBCY2
234AnjCVp8no1G1VGhXU7tqSVocG+jCQ
=JDIV
-----END PGP SIGNATURE-----


More information about the Mercurial-devel mailing list