##// END OF EJS Templates
convert-repo: retrieve the commit hash from the tag object for tag import
Matt Mackall -
r1386:a1040345 default
parent child Browse files
Show More
@@ -82,6 +82,8 b' class convert_git:'
82 82 for f in os.listdir(self.path + "/refs/tags"):
83 83 try:
84 84 h = file(self.path + "/refs/tags/" + f).read().strip()
85 c = self.catfile(h, "tag") # read the commit hash
86 h = c.splitlines()[0].split()[1]
85 87 tags[f] = h
86 88 except:
87 89 pass
General Comments 0
You need to be logged in to leave comments. Login now