##// END OF EJS Templates
localrepo: make it possible to pass multiple path elements to join and wjoin...
Angel Ezquerra -
r22362:c9b32c6a default
parent child Browse files
Show More
@@ -739,11 +739,11 b' class localrepository(object):'
739 739 # if publishing we can't copy if there is filtered content
740 740 return not self.filtered('visible').changelog.filteredrevs
741 741
742 def join(self, f):
743 return os.path.join(self.path, f)
742 def join(self, f, *insidef):
743 return os.path.join(self.path, f, *insidef)
744 744
745 def wjoin(self, f):
746 return os.path.join(self.root, f)
745 def wjoin(self, f, *insidef):
746 return os.path.join(self.root, f, *insidef)
747 747
748 748 def file(self, f):
749 749 if f[0] == '/':
General Comments 0
You need to be logged in to leave comments. Login now