hgext/convert/convcmd.py
changeset 35208 bfd072c52e03
parent 35188 9700cb9df140
child 35779 eefabd9ed3e1
equal deleted inserted replaced
35207:5cc14407a739 35208:bfd072c52e03
   448 
   448 
   449     def copy(self, rev):
   449     def copy(self, rev):
   450         commit = self.commitcache[rev]
   450         commit = self.commitcache[rev]
   451         full = self.opts.get('full')
   451         full = self.opts.get('full')
   452         changes = self.source.getchanges(rev, full)
   452         changes = self.source.getchanges(rev, full)
   453         if isinstance(changes, basestring):
   453         if isinstance(changes, bytes):
   454             if changes == SKIPREV:
   454             if changes == SKIPREV:
   455                 dest = SKIPREV
   455                 dest = SKIPREV
   456             else:
   456             else:
   457                 dest = self.map[changes]
   457                 dest = self.map[changes]
   458             self.map[rev] = dest
   458             self.map[rev] = dest