contrib/convert-repo
changeset 1237 227cfbe34109
parent 705 574869103985
child 1335 bea6356b8bca
--- a/contrib/convert-repo	Tue Sep 13 18:38:27 2005 -0500
+++ b/contrib/convert-repo	Tue Sep 13 19:32:43 2005 -0500
@@ -86,9 +86,7 @@
         for f in os.listdir(self.path + "/.git/refs/tags"):
             try:
                 h = file(self.path + "/.git/refs/tags/" + f).read().strip()
-                p, a, d, m = self.getcommit(h)
-                if not p: p = [h] # git is ugly, don't blame me
-                tags[f] = p[0]
+                tags[f] = h
             except:
                 pass
         return tags