Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/m/e/mercurial-2.9.1/mercurial/dirstate.py   Mercurial(Download)
    def pathto(self, f, cwd=None):
        if cwd is None:
            cwd = self.getcwd()
        path = util.pathto(self._root, cwd, f)
        if self._slash:

src/h/g/hg-HEAD/mercurial/dirstate.py   hg(Download)
    def pathto(self, f, cwd=None):
        if cwd is None:
            cwd = self.getcwd()
        path = util.pathto(self._root, cwd, f)
        if self._slash:

src/m/e/mercurial-2.9.1/mercurial/match.py   Mercurial(Download)
    def rel(self, f):
        return util.pathto(self._root, self._cwd, f)
    def files(self):
        return self._files
    def anypats(self):

src/h/g/hg-HEAD/mercurial/match.py   hg(Download)
    def rel(self, f):
        '''Convert repo path back to path that is relative to cwd of matcher.'''
        return util.pathto(self._root, self._cwd, f)
 
    def files(self):