changeset 23666 | 965788d9ae09 |
parent 23648 | 915ac9403e13 |
child 23667 | f8df993516d0 |
--- 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)