equal
deleted
inserted
replaced
756 if not self.ui.configbool('phases', 'publish', True): |
756 if not self.ui.configbool('phases', 'publish', True): |
757 return True |
757 return True |
758 # if publishing we can't copy if there is filtered content |
758 # if publishing we can't copy if there is filtered content |
759 return not self.filtered('visible').changelog.filteredrevs |
759 return not self.filtered('visible').changelog.filteredrevs |
760 |
760 |
|
761 def shared(self): |
|
762 '''the type of shared repository (None if not shared)''' |
|
763 if self.sharedpath != self.path: |
|
764 return 'store' |
|
765 return None |
|
766 |
761 def join(self, f, *insidef): |
767 def join(self, f, *insidef): |
762 return os.path.join(self.path, f, *insidef) |
768 return os.path.join(self.path, f, *insidef) |
763 |
769 |
764 def wjoin(self, f, *insidef): |
770 def wjoin(self, f, *insidef): |
765 return os.path.join(self.root, f, *insidef) |
771 return os.path.join(self.root, f, *insidef) |