Mercurial > public > mercurial-scm > hg
diff hgext/convert/common.py @ 5934:e495f3f35b2d
convert: hg.clonebranches must pull missing parents (issue941)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 26 Jan 2008 19:55:04 +0100 |
parents | 71e7c86adcb7 |
children | 0162c6cc045e 9451a941c536 |
line wrap: on
line diff
--- a/hgext/convert/common.py Tue Jan 22 00:16:50 2008 +0100 +++ b/hgext/convert/common.py Sat Jan 26 19:55:04 2008 +0100 @@ -167,12 +167,11 @@ tags: {tagname: sink_rev_id, ...}""" raise NotImplementedError() - def setbranch(self, branch, pbranch, parents): + def setbranch(self, branch, pbranches): """Set the current branch name. Called before the first putfile on the branch. branch: branch name for subsequent commits - pbranch: branch name of parent commit - parents: destination revisions of parent""" + pbranches: (converted parent revision, parent branch) tuples""" pass def setfilemapmode(self, active):