Show More
@@ -82,6 +82,8 b' class convert_git:' | |||||
82 | for f in os.listdir(self.path + "/refs/tags"): |
|
82 | for f in os.listdir(self.path + "/refs/tags"): | |
83 | try: |
|
83 | try: | |
84 | h = file(self.path + "/refs/tags/" + f).read().strip() |
|
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 | tags[f] = h |
|
87 | tags[f] = h | |
86 | except: |
|
88 | except: | |
87 | pass |
|
89 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now