changeset 13878 | a8d13ee0ce68 |
parent 13872 | e6bd5b403de0 |
child 13892 | 31d15f761631 |
--- a/mercurial/localrepo.py Mon Apr 04 16:21:57 2011 -0500 +++ b/mercurial/localrepo.py Mon Apr 04 16:21:59 2011 -0500 @@ -522,7 +522,7 @@ if isinstance(key, int): return self.changelog.node(key) elif key == '.': - return self.dirstate.parents()[0] + return self.dirstate.p1() elif key == 'null': return nullid elif key == 'tip':