Merge lp:~anj/bzr-keywords/handle-exceptions into lp:bzr-keywords
Proposed by
Andrew Johnson
Status: | Work in progress |
---|---|
Proposed branch: | lp:~anj/bzr-keywords/handle-exceptions |
Merge into: | lp:bzr-keywords |
Diff against target: |
30 lines (+12/-1) 1 file modified
keywords.py (+12/-1) |
To merge this branch: | bzr merge lp:~anj/bzr-keywords/handle-exceptions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Needs Fixing | ||
Review via email:
|
Description of the change
Various repository operations (e.g. rebasing or of merging two branches where one has deleted files in it) can generate exceptions during keyword expansion which prevent the operation from working. This branch adds code to handle those exceptions and thus permit the merge to complete normally.
I haven't checked whether this resolves bug #697260, but it might.
To post a comment you must log in.
Unmerged revisions
- 21. By Andrew Johnson
-
Merged changes from official branch
- 20. By Andrew Johnson
-
Handle various exceptions during keyword processing.
These tend to occur during merges or rebasing, when
one side or other has delted files in the tree.
It seems a bit strange to catch NotImplementedError here - that should never occur here. When did you hit this?