diff -r eb6adf750954 -r c9b32c6a2944 mercurial/localrepo.py --- a/mercurial/localrepo.py Sun Aug 31 12:22:44 2014 +0200 +++ b/mercurial/localrepo.py Thu Aug 28 17:23:05 2014 +0200 @@ -739,11 +739,11 @@ # if publishing we can't copy if there is filtered content return not self.filtered('visible').changelog.filteredrevs - def join(self, f): - return os.path.join(self.path, f) + def join(self, f, *insidef): + return os.path.join(self.path, f, *insidef) - def wjoin(self, f): - return os.path.join(self.root, f) + def wjoin(self, f, *insidef): + return os.path.join(self.root, f, *insidef) def file(self, f): if f[0] == '/':