changeset 18279:679767c38cb5

clfilter: drop extra filtering in localpeer The repository used by localpeer is already filtered. We no longer need to call a special function.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 06 Jan 2013 04:28:52 +0100
parents 753acee7d6dd
children 47abbaabaaa5
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jan 06 04:41:11 2013 +0100
+++ b/mercurial/localrepo.py	Sun Jan 06 04:28:52 2013 +0100
@@ -91,10 +91,10 @@
         return self._repo.lookup(key)
 
     def branchmap(self):
-        return discovery.visiblebranchmap(self._repo)
+        return self._repo.branchmap()
 
     def heads(self):
-        return discovery.visibleheads(self._repo)
+        return self._repo.heads()
 
     def known(self, nodes):
         return self._repo.known(nodes)