Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
6704:8251ffb35725 | 6705:fec6bc978843 |
---|---|
489 return filelog.filelog(self.sopener, f) | 489 return filelog.filelog(self.sopener, f) |
490 | 490 |
491 def changectx(self, changeid=None): | 491 def changectx(self, changeid=None): |
492 return context.changectx(self, changeid) | 492 return context.changectx(self, changeid) |
493 | 493 |
494 def workingctx(self): | 494 def workingctx(self, parents=None): |
495 return context.workingctx(self) | 495 return context.workingctx(self, parents) |
496 | 496 |
497 def parents(self, changeid=None): | 497 def parents(self, changeid=None): |
498 ''' | 498 ''' |
499 get list of changectxs for parents of changeid or working directory | 499 get list of changectxs for parents of changeid or working directory |
500 ''' | 500 ''' |