Show More
@@ -363,10 +363,8 b' class mercurial_sink(common.converter_si' | |||||
363 | return p2 |
|
363 | return p2 | |
364 |
|
364 | |||
365 | def puttags(self, tags): |
|
365 | def puttags(self, tags): | |
366 | try: |
|
366 | tagparent = self.repo.branchtip(self.tagsbranch, ignoremissing=True) | |
367 | tagparent = self.repo[self.tagsbranch].node() |
|
367 | tagparent = tagparent or nodemod.nullid | |
368 | except error.RepoError: |
|
|||
369 | tagparent = nodemod.nullid |
|
|||
370 |
|
368 | |||
371 | oldlines = set() |
|
369 | oldlines = set() | |
372 | for branch, heads in self.repo.branchmap().iteritems(): |
|
370 | for branch, heads in self.repo.branchmap().iteritems(): |
General Comments 0
You need to be logged in to leave comments.
Login now