projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4b6d6
)
Extract commit date for SVN
author
Laurent Bachelier
<laurent@bachelier.name>
Sun, 17 Feb 2013 00:57:55 +0000
(
01:57
+0100)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 22 Feb 2013 19:28:15 +0000
(14:28 -0500)
This gives the same date format as the Git extractor
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
irkerhook.py
patch
|
blob
|
history
diff --git
a/irkerhook.py
b/irkerhook.py
index 09cb20441a481f18a6feedede1a6b2229fd65fe8..6e86b80693d5eb93b7d8347ee099a36ca0c2030b 100755
(executable)
--- a/
irkerhook.py
+++ b/
irkerhook.py
@@
-303,6
+303,7
@@
class SvnExtractor(GenericExtractor):
commit.branch = ""
commit.rev = "r%s" % self.id
commit.author = self.svnlook("author")
+ commit.commit_date = self.svnlook("date").partition('(')[0]
commit.files = self.svnlook("dirs-changed").strip().replace("\n", " ")
commit.logmsg = self.svnlook("log").strip()
return commit