localrepo: local() returns self
authorMatt Mackall <mpm@selenic.com>
Mon, 13 Jun 2011 12:51:38 -0500
changeset 14603 68a43fdd7d80
parent 14602 c4f271293134
child 14604 b1a534335548
localrepo: local() returns self Temporary measure for introducing peers
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Jun 13 12:51:37 2011 -0500
+++ b/mercurial/localrepo.py	Mon Jun 13 12:51:38 2011 -0500
@@ -563,7 +563,7 @@
         return [(n in nm) for n in nodes]
 
     def local(self):
-        return True
+        return self
 
     def join(self, f):
         return os.path.join(self.path, f)