changeset 3240 | 8d4855fd9d7b |
parent 3197 | ff15ba23c1cf |
child 3241 | a184cd0c2db9 |
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -321,6 +321,9 @@ class localrepository(repo.repository): def changectx(self, changeid=None): return context.changectx(self, changeid) + def workingctx(self): + return context.workingctx(self) + def parents(self, changeid=None): ''' get list of changectxs for parents of changeid or working directory