Mercurial > public > mercurial-scm > hg
diff hgext/convert/common.py @ 5173:6b4c332f241b
convert: hg: optionally create branches as clones
If convert.hg.clonebranches is set, branches will be created as clones of
their parent revisions. All clones will be subdirectories of the
destination path.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 15 Aug 2007 13:21:23 -0700 |
parents | d4fa6bafc43a |
children | c6f932d3e0f6 |
line wrap: on
line diff
--- a/hgext/convert/common.py Wed Aug 15 17:27:51 2007 +0200 +++ b/hgext/convert/common.py Wed Aug 15 13:21:23 2007 -0700 @@ -134,3 +134,10 @@ tags: {tagname: sink_rev_id, ...}""" raise NotImplementedError() + def setbranch(self, branch, pbranch, parents): + """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""" + pass