lp:~parthm/bzr/300062-better-handling-for-invalid-ignore-pattern
Created by
Parth Malwankar
and last modified
- Get this branch:
- bzr branch lp:~parthm/bzr/300062-better-handling-for-invalid-ignore-pattern
Only
Parth Malwankar
can upload to this branch. If you are
Parth Malwankar
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- John A Meinel: Needs Fixing
- Robert Collins (community): Needs Fixing
-
Diff: 698 lines (+360/-66)17 files modifiedNEWS (+8/-0)
bzrlib/builtins.py (+11/-2)
bzrlib/errors.py (+7/-0)
bzrlib/globbing.py (+134/-4)
bzrlib/ignores.py (+2/-3)
bzrlib/lazy_regex.py (+13/-6)
bzrlib/log.py (+1/-3)
bzrlib/osutils.py (+0/-23)
bzrlib/tests/__init__.py (+1/-2)
bzrlib/tests/blackbox/test_add.py (+30/-0)
bzrlib/tests/blackbox/test_ignore.py (+33/-0)
bzrlib/tests/blackbox/test_ignored.py (+14/-0)
bzrlib/tests/blackbox/test_log.py (+2/-5)
bzrlib/tests/blackbox/test_status.py (+53/-0)
bzrlib/tests/test_globbing.py (+50/-0)
bzrlib/tests/test_ignores.py (+1/-0)
bzrlib/tests/test_osutils.py (+0/-18)
Related bugs
Bug #300062: give a better message for an invalid ignore regexp | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 5291. By Parth Malwankar
-
removed re_compile_checked as re.compile shows InvalidPattern error.
Fixed test cases. - 5289. By Parth Malwankar
-
better invalid pattern error handling.
Invalid patterns are now handled in a single location,
bzrlib.globbing. Globster. - 5286. By Parth Malwankar
-
filter_
invalid_ patterns now returns invalid and valid patterns.
dispay is left to the caller.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:bzr