mercurial/hg.py
changeset 30062 940c05b25b07
parent 30041 1779dde4c9ef
child 30962 11c253997b0e
--- a/mercurial/hg.py	Wed Oct 05 15:28:34 2016 +0200
+++ b/mercurial/hg.py	Fri Oct 07 08:51:50 2016 -0700
@@ -768,10 +768,11 @@
 
     return ret
 
-def merge(repo, node, force=None, remind=True, mergeforce=False):
+def merge(repo, node, force=None, remind=True, mergeforce=False, labels=None):
     """Branch merge with node, resolving changes. Return true if any
     unresolved conflicts."""
-    stats = mergemod.update(repo, node, True, force, mergeforce=mergeforce)
+    stats = mergemod.update(repo, node, True, force, mergeforce=mergeforce,
+                            labels=labels)
     _showstats(repo, stats)
     if stats[3]:
         repo.ui.status(_("use 'hg resolve' to retry unresolved file merges "