[MERGE] ignore bzr-commit-* files
John Arbash Meinel
john at arbash-meinel.com
Thu Nov 2 18:28:22 GMT 2006
John Arbash Meinel wrote:
...
> At the very least we need to change how we do it. Whether we default to
> ignoring files that start with 'bzr-commit-', or some other fix.
As I dug into it, I found that we don't actually have any tests for
'commit --strict', which is why it started failing without us noticing.
So the attached patch adds a few test cases, for the various
possibilities (like if we just had a test that showed commit --strict
fails when it should, it wouldn't catch the fact that now 'commit
--strict' fails when it shouldn't).
And the easy fix is to just add './bzr-commit-*' to the list of default
ignores. It means that people who have been using bzr and --strict
commits need to edit their ~/.bazaar/ignore file and add it. But new
users will get './bzr-commit-*' added by default. And it makes the tests
pass again.
I would like to get some version of the attached patch merged soon, so
that I can continue using --strict.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit_strict_message.patch
Type: text/x-patch
Size: 3049 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/4a0e5765/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/4a0e5765/attachment.pgp
More information about the bazaar
mailing list