Mercurial > hg
comparison hgext/convert/convcmd.py @ 8693:68e0a55eee6e
convert: rewrite tags when converting from hg to hg
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 01 Jun 2009 17:12:42 +0200 |
parents | 827d4e807d57 |
children | eb7b247a98ea |
comparison
equal
deleted
inserted
replaced
8692:827d4e807d57 | 8693:68e0a55eee6e |
---|---|
295 self.ui.status(_('spliced in %s as parents of %s\n') % | 295 self.ui.status(_('spliced in %s as parents of %s\n') % |
296 (parents, rev)) | 296 (parents, rev)) |
297 parents = [self.map.get(p, p) for p in parents] | 297 parents = [self.map.get(p, p) for p in parents] |
298 except KeyError: | 298 except KeyError: |
299 parents = [b[0] for b in pbranches] | 299 parents = [b[0] for b in pbranches] |
300 newnode = self.dest.putcommit(files, copies, parents, commit, self.source) | 300 newnode = self.dest.putcommit(files, copies, parents, commit, |
301 self.source, self.map) | |
301 self.source.converted(rev, newnode) | 302 self.source.converted(rev, newnode) |
302 self.map[rev] = newnode | 303 self.map[rev] = newnode |
303 | 304 |
304 def convert(self, sortmode): | 305 def convert(self, sortmode): |
305 try: | 306 try: |