diff mercurial/localrepo.py @ 3127: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
+++ b/mercurial/localrepo.py
@@ -318,7 +318,7 @@ class localrepository(repo.repository):
             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):