comparison hgext/convert/common.py @ 5172: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
comparison
equal deleted inserted replaced
5171:f53d97d651f4 5172:6b4c332f241b
132 def puttags(self, tags): 132 def puttags(self, tags):
133 """Put tags into sink. 133 """Put tags into sink.
134 tags: {tagname: sink_rev_id, ...}""" 134 tags: {tagname: sink_rev_id, ...}"""
135 raise NotImplementedError() 135 raise NotImplementedError()
136 136
137 def setbranch(self, branch, pbranch, parents):
138 """Set the current branch name. Called before the first putfile
139 on the branch.
140 branch: branch name for subsequent commits
141 pbranch: branch name of parent commit
142 parents: destination revisions of parent"""
143 pass