[rfc] cherrypicking merge (revision range)

Alexander Belchenko bialix at ukr.net
Mon Nov 20 16:17:15 GMT 2006


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

Recently I do much cherrypicking and actually revision range looks not
so good.

If I need changes from revision 10, I need 'bzr merge -r9..10'
Not so good if you need to repeat it tn times. I remember there was
plans about '-c N' flag that could be equivalent to -r N-1..N.

But things really ugly when I need cherrypick 9-11, then 12-15, then
16-18. Each time I need to calculate in my mind N-1. (If you ask me why
I need cherrypick sequent ranges: because in each range revisions
together represent logical union of changes).

Why 'merge -rN-1..M' and not 'merge -rN..M'?

This revisions range is similar to diff command, but merge is very
different command, is not?

(I understand that we can't change this for merge because of backward
compatibility.)

Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFYdULzYr338mxwCURAmGgAJ9DcPfyHQk2gvBjOpyC3L7Oa57AoACfUXFc
xAiiXjOS3hqAH+qANTf48Fc=
=Lp68
-----END PGP SIGNATURE-----




More information about the bazaar mailing list