per file merge hooks would like a way to maintain state
Bug #513822 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Robert Collins |
Bug Description
Now that bug #491711 has landed, using it has shown a small deficiency.
Specifically, per-file hooks often want to maintain some state across the merge
(such as whether they are enabled, what files to work on, etc.)
One option would be to change the hook so that at the beginning of the merge
we call a hook which returns an object (potentially None if the hook is
disabled). Afterwards, in the inner loop, those objects are used (methods
called) that perform the same actions that we are doing today.
Related branches
lp:~lifeless/bzr/bug-513822
(Merged)
Changed in bzr: | |
status: | Confirmed → Fix Released |
assignee: | nobody → Robert Collins (lifeless) |
milestone: | none → 2.1.0 |
Changed in bzr: | |
milestone: | 2.1.0 → 2.1.0rc2 |
To post a comment you must log in.