Did I find the right examples for you? yes no

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

src/m/e/mercurial-2.9.1/mercurial/commands.py   Mercurial(Download)
        sep = eol = '\0'
 
    getfile = util.lrucachefunc(repo.file)
 
    def matchlines(body):

src/h/g/hg-HEAD/mercurial/commands.py   hg(Download)
        sep = eol = '\0'
 
    getfile = util.lrucachefunc(repo.file)
 
    def matchlines(body):

src/m/e/mercurial-2.9.1/mercurial/context.py   Mercurial(Download)
            return child
 
        getlog = util.lrucachefunc(lambda x: self._repo.file(x))
 
        def parents(f):

src/h/g/hg-HEAD/mercurial/context.py   hg(Download)
            return child
 
        getlog = util.lrucachefunc(lambda x: self._repo.file(x))
 
        def parents(f):

src/m/e/mercurial-2.9.1/mercurial/verify.py   Mercurial(Download)
    cl = repo.changelog
    mf = repo.manifest
    lrugetctx = util.lrucachefunc(repo.changectx)
 
    if not repo.url().startswith('file:'):

src/h/g/hg-HEAD/mercurial/verify.py   hg(Download)
    cl = repo.changelog
    mf = repo.manifest
    lrugetctx = util.lrucachefunc(repo.changectx)
 
    if not repo.url().startswith('file:'):

src/m/e/mercurial-2.9.1/mercurial/graphmod.py   Mercurial(Download)
    if config:
        getconf = util.lrucachefunc(
            lambda rev: config.get(repo[rev].branch(), {}))
    else:
        getconf = lambda rev: {}

src/m/e/mercurial-2.9.1/mercurial/copies.py   Mercurial(Download)
        return repo.filectx(f, fileid=n)
 
    ctx = util.lrucachefunc(makectx)
    copy = {}
    movewithdir = {}

src/h/g/hg-HEAD/mercurial/graphmod.py   hg(Download)
    if config:
        getconf = util.lrucachefunc(
            lambda rev: config.get(repo[rev].branch(), {}))
    else:
        getconf = lambda rev: {}

src/h/g/hg-HEAD/mercurial/copies.py   hg(Download)
        return repo.filectx(f, fileid=n)
 
    ctx = util.lrucachefunc(makectx)
    copy = {}
    movewithdir = {}