diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-31 04:57:32 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-31 04:57:32 -0400 |
commit | 11d3b00bf4c12446dafeb3cfde9d0ae40608a85d (patch) | |
tree | fe34fdfffa1aceb99734cebe9673d7ba87b8d623 /libbe | |
parent | c0e6288158f30802866495c5ae433474c7daf16e (diff) | |
download | bugseverywhere-11d3b00bf4c12446dafeb3cfde9d0ae40608a85d.tar.gz |
Removed libbe.bzr.Bzr's automerge on post-commit.
I'd done this already in
wking@drexel.edu-20090723154304-swmkxpfagdzff9ai
but for some reason the merge with the email branch brought it back.
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bzr.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libbe/bzr.py b/libbe/bzr.py index 7457815..9eb7de6 100644 --- a/libbe/bzr.py +++ b/libbe/bzr.py @@ -101,20 +101,6 @@ class Bzr(RCS): if index >= 0: return str(index+1) # bzr commit 0 is the empty tree. return str(current_revision+index+1) - def postcommit(self): - try: - self._u_invoke_client('merge') - except rcs.CommandError, e: - if ('No merge branch known or specified' in e.err_str or - 'No merge location known or specified' in e.err_str): - pass - else: - self._u_invoke_client('revert', '--no-backup', - directory=directory) - self._u_invoke_client('resolve', '--all', directory=directory) - raise - if len(self._u_invoke_client('status', directory=directory)[1]) > 0: - self.commit('Merge from upstream') rcs.make_rcs_testcase_subclasses(Bzr, sys.modules[__name__]) |