mercurial/hg.py
changeset 18303 4d1671b39168
parent 17938 fd903f89e42b
child 18382 f3b21beb9802
--- a/mercurial/hg.py	Thu Jan 03 21:07:04 2013 +0100
+++ b/mercurial/hg.py	Fri Jan 11 20:34:54 2013 +0100
@@ -113,7 +113,7 @@
     if not repo:
         raise util.Abort(_("repository '%s' is not local") %
                          (path or peer.url()))
-    return repo
+    return repo.filtered('hidden')
 
 def peer(uiorrepo, opts, path, create=False):
     '''return a repository peer for the specified path'''