diff -r 16c642a6f07d -r 4d1671b39168 mercurial/hg.py --- 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'''