Ability to modify the tree from a pre-commit hook
Bug #186422 reported by
Jelmer Vernooij
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Wishlist
|
Jelmer Vernooij |
Bug Description
affects bzr
For etckeeper, I need to use a hook in "bzr commit" that could change
the tree that is being committed. This is not possible using the current
pre_commit hook.
Perhaps it would be possible to split up pre_commit hook into a hook run
right before the commit is started and a hook that is being run after
the delta has been determined?
The first hook could still allow changing of the tree.
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in bzr: | |
assignee: | nobody → jelmer |
status: | Triaged → Fix Released |
To post a comment you must log in.
I think the hook that permits changing the tree ought to be called start_commit. FWIW, Subversion has a hook called this. (It would be nice if our hook followed a similar signature to make it easier for teams switching from Subversion to Bazaar, assuming the signature meets our needs.)