hgext/convert/subversion.py
changeset 41365 876494fd967d
parent 41327 1281b2265ff5
child 41616 2c13e91ede6e
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
   982 
   982 
   983     def getfile(self, file, rev):
   983     def getfile(self, file, rev):
   984         # TODO: ra.get_file transmits the whole file instead of diffs.
   984         # TODO: ra.get_file transmits the whole file instead of diffs.
   985         if file in self.removed:
   985         if file in self.removed:
   986             return None, None
   986             return None, None
   987         mode = ''
       
   988         try:
   987         try:
   989             new_module, revnum = revsplit(rev)[1:]
   988             new_module, revnum = revsplit(rev)[1:]
   990             if self.module != new_module:
   989             if self.module != new_module:
   991                 self.module = new_module
   990                 self.module = new_module
   992                 self.reparent(self.module)
   991                 self.reparent(self.module)