hgext/convert/subversion.py
changeset 5373 6aba1835a7b3
parent 5287 c6f932d3e0f6
child 5382 d7d395fb7cd5
equal deleted inserted replaced
5372:6f6aa7f3bc1c 5373:6aba1835a7b3
   145 
   145 
   146         self.last_changed = self.latest(self.module, latest)
   146         self.last_changed = self.latest(self.module, latest)
   147 
   147 
   148         self.head = self.revid(self.last_changed)
   148         self.head = self.revid(self.last_changed)
   149 
   149 
   150     def setrevmap(self, revmap):
   150     def setrevmap(self, revmap, order):
   151         lastrevs = {}
   151         lastrevs = {}
   152         for revid in revmap.keys():
   152         for revid in revmap.keys():
   153             uuid, module, revnum = self.revsplit(revid)
   153             uuid, module, revnum = self.revsplit(revid)
   154             lastrevnum = lastrevs.setdefault(module, revnum)
   154             lastrevnum = lastrevs.setdefault(module, revnum)
   155             if revnum > lastrevnum:
   155             if revnum > lastrevnum: