Mercurial > hg-stable
diff mercurial/localrepo.py @ 3132:81da3c45aabd
Move defaultrev into changectx
This also causes tag on a repository with no working directory
to default to tip.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 15 Sep 2006 15:23:52 -0700 |
parents | 4c9fcb5e3b82 |
children | 1605e336d229 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Sep 18 17:43:31 2006 +0200 +++ b/mercurial/localrepo.py Fri Sep 15 15:23:52 2006 -0700 @@ -318,7 +318,7 @@ f = f[1:] return filelog.filelog(self.opener, f, self.revlogversion) - def changectx(self, changeid): + def changectx(self, changeid=None): return context.changectx(self, changeid) def filectx(self, path, changeid=None, fileid=None):