Mercurial > hg-stable
changeset 6711:86e1f603a369
localrepo: do not expose workingctx options
These are implementation details and probably of no use to client code.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 18 Jun 2008 23:00:20 +0200 |
parents | 0aa91f69a4c4 |
children | 93f127b59793 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Jun 18 22:52:26 2008 +0200 +++ b/mercurial/localrepo.py Wed Jun 18 23:00:20 2008 +0200 @@ -491,10 +491,8 @@ def changectx(self, changeid=None): return context.changectx(self, changeid) - def workingctx(self, parents=None, text="", user=None, date=None, - extra=None, changes=None): - return context.workingctx(self, parents, text, user, date, extra, - changes) + def workingctx(self): + return context.workingctx(self) def parents(self, changeid=None): ''' @@ -793,7 +791,8 @@ update_dirstate = (self.dirstate.parents()[0] == p1) changes = [files, [], [], [], []] - wctx = self.workingctx((p1, p2), text, user, date, extra, changes) + wctx = context.workingctx(self, (p1, p2), text, user, date, + extra, changes) return self._commitctx(wctx, force, force_editor, empty_ok, use_dirstate, update_dirstate) finally: