[Extension] Dirty hack of 'shelve' and 'unshelve' command

Aaron Bentley aaron.bentley at utoronto.ca
Thu May 19 15:44:08 BST 2005


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

Erik Bågfors wrote:
| I think this is very useful. But I'd love to also see a "bzr commit
| --interactive" or something like that, that would let the user select
| the hunks he likes to commit.

This idea really bothers me, and has since I heard about per-hunk commit
in Darcs.  Committing selected hunks that may make no sense out of
context, with no opportunity for review, and only one chance to get it
right?  How is that better than typing one extra command?

People clearly want this, even though from where I stand, it looks like
they're on crack.  So what am I missing?

| bzr partialcommit -m 'message' could run
|
| bzr shelve
| bzr commit -m message
| bzr unshelve

How about
bzr shelve && commit -m message && bzr unshelve
so people can ^C out of it at least?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjKY40F+nu1YWqI0RAvZnAJ9ZFU3Vb0ZQjCBXxIRGqmmCUOJXqwCfQB5M
kvWWORxCYBIu77yVGQB+Om0=
=k0i/
-----END PGP SIGNATURE-----




More information about the bazaar mailing list