lp:~marco-pantaleoni/bzr/new_branch_and_repo_hooks
Created by
Marco Pantaleoni
and last modified
Adds the new hooks 'post_branch_init', 'post_switch' and 'post_repo_init', called respectively whenever a new branch is created, when a checkout is switched to a different branch and when a repository is initialized (created).
Only
Marco Pantaleoni
can upload to this branch. If you are
Marco Pantaleoni
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Martin Pool: Approve
- John A Meinel: Needs Fixing
-
Diff: 467 lines (+283/-6)12 files modifiedbzrlib/branch.py (+102/-2)
bzrlib/bzrdir.py (+41/-0)
bzrlib/repofmt/knitrepo.py (+1/-0)
bzrlib/repofmt/pack_repo.py (+3/-1)
bzrlib/repofmt/weaverepo.py (+3/-1)
bzrlib/repository.py (+9/-0)
bzrlib/switch.py (+10/-1)
bzrlib/tests/blackbox/test_branch.py (+30/-0)
bzrlib/tests/blackbox/test_shared_repository.py (+7/-0)
bzrlib/tests/blackbox/test_switch.py (+26/-0)
bzrlib/tests/test_branch.py (+39/-1)
bzrlib/tests/test_bzrdir.py (+12/-0)
Branch information
Recent revisions
This branch has not been scanned yet.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:bzr