hgext/convert/common.py
changeset 5172 6b4c332f241b
parent 5117 d4fa6bafc43a
child 5287 c6f932d3e0f6
--- a/hgext/convert/common.py
+++ b/hgext/convert/common.py
@@ -134,3 +134,10 @@ class converter_sink(object):
         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