From: Chris Ball Date: Sat, 13 Jun 2009 12:43:28 +0000 (-0400) Subject: Use a more general regex to test GIT commits; GIT's output has changed. X-Git-Tag: 1.0.0~86^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b55225e19cec676bc67a1e584bf73276dc31940;p=be.git Use a more general regex to test GIT commits; GIT's output has changed. --- 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