[Pkg-ocaml-maint-commits] r5811 - /trunk/tools/svn2git/glondu_svn2git.py
glondu-guest at users.alioth.debian.org
glondu-guest at users.alioth.debian.org
Sat Jun 28 17:37:36 UTC 2008
Author: glondu-guest
Date: Sat Jun 28 17:37:36 2008
New Revision: 5811
URL: http://svn.debian.org/wsvn/?sc=1&rev=5811
Log:
Update committers list
Modified:
trunk/tools/svn2git/glondu_svn2git.py
Modified: trunk/tools/svn2git/glondu_svn2git.py
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/glondu_svn2git.py?rev=5811&op=diff
==============================================================================
--- trunk/tools/svn2git/glondu_svn2git.py (original)
+++ trunk/tools/svn2git/glondu_svn2git.py Sat Jun 28 17:37:36 2008
@@ -24,8 +24,18 @@
users_dict = {
"glondu-guest": ("Stephane Glondu", "steph at glondu.net"),
"smimram": ("Samuel Mimram", "smimram at debian.org"),
+ "smimram-guest": ("Samuel Mimram", "samuel.mimram at ens-lyon.org"),
"zack": ("Stefano Zacchiroli", "zack at debian.org"),
"gareuselesinge": ("Enrico Tassi", "gareuselesinge at debian.org"),
+ "treinen": ("Ralf Treinen", "treinen at debian.org"),
+ "gildor": ("Sylvain Le Gall", "gildor at debian.org"),
+ "toots": ("Romain Beauxis", "toots at debian.org"),
+ "jcristau": ("Julien Cristau", "jcristau at debian.org"),
+ "jcristau-guest": ("Julien Cristau", "julien.cristau at ens-lyon.org"),
+ "luther": ("Sven Luther", "luther at debian.org"),
+ "jerome": ("Jerome Marant", "jerome at debian.org"),
+ "ecc-guest": ("Eric Cooper", "ecc at cmu.edu"),
+ "mfurr": ("Mike Furr", "mfurr at debian.org")
}
@@ -70,7 +80,8 @@
def __init__(self, logentry, svn2git):
self.svn2git = svn2git
self.rev = int(logentry.getAttribute("revision"))
- self.msg = logentry.getElementsByTagName("msg")[0].firstChild.nodeValue
+ msg_elt = logentry.getElementsByTagName("msg")[0].firstChild
+ self.msg = msg_elt and msg_elt.nodeValue or "No log message"
user_elt = logentry.getElementsByTagName("author")[0]
self.name, self.email = users_dict[user_elt.firstChild.nodeValue]
date_elt = logentry.getElementsByTagName("date")[0]
@@ -197,11 +208,11 @@
self.repos = "svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/%s" % package
self.tagrepos = "svn://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/%s" % package
# Retrieve history
- r = run_command("svn", "svn log --xml %s" % self.repos)
+ r = run_command("svn", "svn log -v --xml %s" % self.repos)
r = parseString(r).getElementsByTagName("logentry")
revs = [GitCommit(x, self) for x in r]
# Retrieve tags
- r = run_command("svn", "svn log --xml %s" % self.tagrepos)
+ r = run_command("svn", "svn log -v --xml %s" % self.tagrepos)
r = parseString(r).getElementsByTagName("logentry")
tags = [GitTag(x, self) for x in r]
# Merge and sort tags
More information about the Pkg-ocaml-maint-commits
mailing list