comparison hgext/convert/subversion.py @ 4873:28b23b9073a8

convert: record the source revision in the changelog
author Brendan Cully <brendan@kublai.com>
date Fri, 13 Jul 2007 08:28:57 -0700
parents 5e365008360f
children 2642726b61b6
comparison
equal deleted inserted replaced
4872:419a6f715c6a 4873:28b23b9073a8
482 cset = commit(author=author, 482 cset = commit(author=author,
483 date=util.datestr(date), 483 date=util.datestr(date),
484 desc=log, 484 desc=log,
485 parents=parents, 485 parents=parents,
486 copies=copies, 486 copies=copies,
487 branch=branch) 487 branch=branch,
488 rev=rev.encode('utf-8'))
488 489
489 self.commits[rev] = cset 490 self.commits[rev] = cset
490 if self.child_cset and not self.child_cset.parents: 491 if self.child_cset and not self.child_cset.parents:
491 self.child_cset.parents = [rev] 492 self.child_cset.parents = [rev]
492 self.child_cset = cset 493 self.child_cset = cset