##// END OF EJS Templates
Merge with stable
Matt Mackall -
r3912:f2c4a2ee merge default
parent child Browse files
Show More
@@ -85,7 +85,7 b' class convert_git:'
85 85 committer = " ".join(p[:-2])
86 86 if committer[0] == "<": committer = committer[1:-1]
87 87 committer = recode(committer)
88 message += "\ncommitter: %s\n" % v
88 message += "\ncommitter: %s\n" % committer
89 89 if n == "parent": parents.append(v)
90 90
91 91 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
@@ -295,7 +295,8 b' class convert:'
295 295 nrev = self.dest.puttags(ctags)
296 296 # write another hash correspondence to override the previous
297 297 # one so we don't end up with extra tag heads
298 file(self.mapfile, "a").write("%s %s\n" % (c, nrev))
298 if nrev:
299 file(self.mapfile, "a").write("%s %s\n" % (c, nrev))
299 300
300 301 gitpath, hgpath, mapfile = sys.argv[1:]
301 302 if os.path.isdir(gitpath + "/.git"):
General Comments 0
You need to be logged in to leave comments. Login now