diff -r a90499a6ad8d -r 965788d9ae09 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Dec 23 16:16:26 2014 -0800 +++ b/mercurial/localrepo.py Sun Dec 21 00:19:10 2014 +0100 @@ -758,6 +758,12 @@ # if publishing we can't copy if there is filtered content return not self.filtered('visible').changelog.filteredrevs + def shared(self): + '''the type of shared repository (None if not shared)''' + if self.sharedpath != self.path: + return 'store' + return None + def join(self, f, *insidef): return os.path.join(self.path, f, *insidef)