Starting another plugin project
I have looked over your plugin and a the code from push and update. My company wanted to auto update a bound master location so that everyone can see changes in the code. They did not desire to use branching and management prefers the "central" repository method like SVN, SourceSafe, etc. So I created a plugin that updates on post-commit on the master location. This may be a bad post-commit operation, but I wanted to know how I could share the plugin if it was a safe idea and others desired it. It seems I should also check if it is bound to a central location.
"""Update master from bound checkout plugin for Bazaar"""
from bzrlib import (
"""Update the target branch's working copy.
Code borrowed from bzr-automirror."""
print 'Trying to call updatemaster on Master repository . . .'
# Place the following two in a precommit hook so that it works there
#lt = master.
wt = master.
print 'Cannot update Master repository. See other errors.'
print 'Master repository updated.'
Can you help with this problem?
Provide an answer of your own, or ask ybdjkfd for more information if necessary.