[BUG] can't commit strict

Aaron Bentley aaron.bentley at utoronto.ca
Sat Nov 11 19:14:05 GMT 2006


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

When I do:
$ bzr clean-tree
$ bzr commit -m "Add help, update navigation"

It fails:
bzr: ERROR: Commit refused because there are unknown files in the
working tree.
Commit message saved. To reuse the message, do
bzr commit --file /home/abentley/Bundle-Buggy/bzr-commit-1eOEYV

I think we've really gone down the wrong path here.

1. Instead of the band-aid of saving commit messages, we should make
sure never to ask a user for a commit message unless their commit will
succeed.

2. We should only save the commit message IF the commit fails

3. We should *never* save a commit message supplied with -m.

4. Adding bzr-commit- to the default ignore does not seem to worked.

This is really, really, frustrating.  It makes me want to make -m mandatory.

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

iD8DBQFFViD90F+nu1YWqI0RArX+AJ91cz8D/N2pJioaaIPkhqfHs1Hf2gCfYCAK
6Z2AxGP4lAA0wTXAW0s3cYY=
=2Olp
-----END PGP SIGNATURE-----




More information about the bazaar mailing list