projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a711ecf
)
Use a more general regex to test GIT commits; GIT's output has changed.
author
Chris Ball
<cjb@thunk.printf.net>
Sat, 13 Jun 2009 12:43:28 +0000
(08:43 -0400)
committer
Chris Ball
<cjb@thunk.printf.net>
Sat, 13 Jun 2009 12:43:28 +0000
(08:43 -0400)
libbe/git.py
patch
|
blob
|
history
diff --git
a/libbe/git.py
b/libbe/git.py
index 046e72e2bb4a4e77f18e0c21879e98d08df29cf1..2bb5c59d817f5a3f46472a6e8d4f4a94f29a51e2 100644
(file)
--- 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