Did I find the right examples for you? yes no

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

src/m/e/mercurial-2.9.1/mercurial/commands.py   Mercurial(Download)
    ui.write(("standard: %s\n") % util.datestr(d))
    if range:
        m = util.matchdate(range)
        ui.write(("match: %s\n") % m(d[0]))
 
    df = False
    if opts.get("date"):
        df = util.matchdate(opts["date"])
 
    branches = opts.get('branch', []) + opts.get('only_branch', [])

src/h/g/hg-HEAD/mercurial/commands.py   hg(Download)
    ui.write(("standard: %s\n") % util.datestr(d))
    if range:
        m = util.matchdate(range)
        ui.write(("match: %s\n") % m(d[0]))
 

src/m/e/mercurial-2.9.1/mercurial/cmdutil.py   Mercurial(Download)
def finddate(ui, repo, date):
    """Find the tipmost changeset that matches the given date spec"""
 
    df = util.matchdate(date)
    m = scmutil.matchall(repo)

src/h/g/hg-HEAD/mercurial/cmdutil.py   hg(Download)
def finddate(ui, repo, date):
    """Find the tipmost changeset that matches the given date spec"""
 
    df = util.matchdate(date)
    m = scmutil.matchall(repo)

src/h/g/hg-HEAD/mercurial/revset.py   hg(Download)
    # i18n: "date" is a keyword
    ds = getstring(x, _("date requires a string"))
    dm = util.matchdate(ds)
    return subset.filter(lambda x: dm(repo[x].date()[0]))
 

src/m/e/mercurial-2.9.1/mercurial/revset.py   Mercurial(Download)
    # i18n: "date" is a keyword
    ds = getstring(x, _("date requires a string"))
    dm = util.matchdate(ds)
    return [r for r in subset if dm(repo[r].date()[0])]