diff mercurial/localrepo.py @ 14603:68a43fdd7d80

localrepo: local() returns self Temporary measure for introducing peers
author Matt Mackall <mpm@selenic.com>
date Mon, 13 Jun 2011 12:51:38 -0500
parents 48ec0763afbb
children 001788ef4bbb
line wrap: on
line diff
--- 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)