aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ball <cjb@thunk.printf.net>2009-06-13 08:43:28 -0400
committerChris Ball <cjb@thunk.printf.net>2009-06-13 08:43:28 -0400
commit6b55225e19cec676bc67a1e584bf73276dc31940 (patch)
treeab27a38d0e71a4f971afeae42e6c5a0aef5e227e
parenta711ecf10df62e30d83c1941065404c53fecd35b (diff)
downloadbugseverywhere-6b55225e19cec676bc67a1e584bf73276dc31940.tar.gz
Use a more general regex to test GIT commits; GIT's output has changed.
-rw-r--r--libbe/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/git.py b/libbe/git.py
index 046e72e..2bb5c59 100644
--- a/libbe/git.py
+++ b/libbe/git.py
@@ -85,7 +85,7 @@ class Git(RCS):
status,output,error = self._u_invoke_client('commit', '-a',
'-F', commitfile)
revision = None
- revline = re.compile("Created (.*)commit (.*):(.*)")
+ revline = re.compile("(.*) (.*)[:\]] (.*)")
match = revline.search(output)
assert match != None, output+error
assert len(match.groups()) == 3