diff mercurial/localrepo.py @ 6705:fec6bc978843

context: let workingctx parents be overriden
author Patrick Mezard <pmezard@gmail.com>
date Wed, 18 Jun 2008 22:52:25 +0200
parents 76021ec849c8
children 716a1296e182
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Jun 18 19:04:10 2008 +0200
+++ b/mercurial/localrepo.py	Wed Jun 18 22:52:25 2008 +0200
@@ -491,8 +491,8 @@
     def changectx(self, changeid=None):
         return context.changectx(self, changeid)
 
-    def workingctx(self):
-        return context.workingctx(self)
+    def workingctx(self, parents=None):
+        return context.workingctx(self, parents)
 
     def parents(self, changeid=None):
         '''