Merge lp:~vila/bzr/per-file-merge-hook into lp:bzr
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~vila/bzr/per-file-merge-hook |
Merge into: | lp:bzr |
Prerequisite: | lp:~spiv/bzr/per-file-merge-hook-491711 |
Diff against target: |
262 lines (+115/-19) 8 files modified
bzrlib/decorators.py (+2/-1) bzrlib/merge.py (+2/-2) bzrlib/plugins/news_merge/README (+1/-3) bzrlib/plugins/news_merge/__init__.py (+28/-5) bzrlib/plugins/news_merge/news_merge.py (+0/-1) bzrlib/plugins/news_merge/tests/__init__.py (+23/-0) bzrlib/plugins/news_merge/tests/test_news_merge.py (+51/-0) bzrlib/tests/per_merger.py (+8/-7) |
To merge this branch: | bzr merge lp:~vila/bzr/per-file-merge-hook |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
bzr-core | Pending | ||
Review via email: mp+17754@code.launchpad.net |
To post a comment you must log in.
Since spiv is on leave, I've finished his lp:~spiv/bzr/per-file-merge-hook-491711
merge proposal based on:
- the reviews,
- some discussion on IRC,
- some more cleanup.
The core modification is about caching the config data to avoid re-reading
the config files for each merged file.
* bzrlib/ tests/per_ merger. py:
Fix line too long and spurious spaces.
* bzrlib/ plugins/ news_merge/ tests/test_ news_merge. py: tchesConfig) : Ensure that the params get updated.
(TestFilenameMa
* bzrlib/ plugins/ news_merge/ __init_ _.py: matches_ config) : Save the relevant config variable in
(filename_
the hook params.
(install_hook): Wrap the hook installation so we can reuse it for
tests.
* bzrlib/ plugins/ news_merge/ README:
Update the instructions by pointing to the plugin help.
* bzrlib/merge.py:
(MergeHookParams): Delete spurious spaces.
* bzrlib/ decorators. py: decorators) : Mention that we get clearance to copy
(use_pretty_
launchpad code here (since canonical has copyrights on both code
bases).
As it's far too much to be considered simple tweaks, I'd like a review on the diff
before (if approved :) landing both.