Merge lp:~parthm/bzr/538703-default-ignore-rules into lp:bzr
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ian Clatworthy | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~parthm/bzr/538703-default-ignore-rules | ||||
Merge into: | lp:bzr | ||||
Diff against target: |
154 lines (+24/-71) 4 files modified
NEWS (+5/-0) bzrlib/builtins.py (+13/-7) bzrlib/ignores.py (+0/-60) bzrlib/tests/blackbox/test_ignore.py (+6/-4) |
||||
To merge this branch: | bzr merge lp:~parthm/bzr/538703-default-ignore-rules | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Clatworthy | Approve | ||
Vincent Ladeuil | Approve | ||
Review via email: mp+23757@code.launchpad.net |
Commit message
Implement 'ignore --default-rules', remove 'ignore --old-default-
Description of the change
=== Fixed Bug #538703 ===
This merge proposal adds the --default-rules option to 'bzr ignore' which prints out the default ignores used by bzr.
The test case uses the python2.4+ builtin 'set' to test this option. I am assuming bzr is supported only on python2.4+. If this is not the case please let me know and I can conditionally use the sets module.
[538703-
*.a
*.o
*.py[co]
*.so
*.sw[nop]
*~
.#*
[#]*#
[538703-
IMO --old-default-rules can be removed as it is for bzr < 0.9 but that can be a separate patch so that functionality is untouched.
This doesn't entirely make sense to me; we write the ignores out to
~/.bazaar/ignores - showing the defaults isn't all that useful, because of
that.