changeset 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 c4f271293134
children b1a534335548
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)