From 28dd7abe5900cf3f16e62f3641fd62040764fad8 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Wed, 5 Apr 2006 18:12:35 +0200 Subject: [PATCH] Correctly interpret the "no merge location" message from bzr 0.7. --- libbe/bzr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libbe/bzr.py b/libbe/bzr.py index 7aa6a58..b53429c 100644 --- a/libbe/bzr.py +++ b/libbe/bzr.py @@ -121,7 +121,8 @@ def postcommit(directory): try: invoke_client('merge', directory=directory) except CommandError, e: - if 'No merge branch known or specified' in e.err_str: + if ('No merge branch known or specified' in e.err_str or + 'No merge location known or specified' in e.err_str): pass else: status = invoke_client('revert', '--no-backup', -- 2.26.2