equal
deleted
inserted
replaced
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 |