Did I find the right examples for you? yes no

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

src/m/e/mercurial-2.9.1/mercurial/commands.py   Mercurial(Download)
        opts['user'] = ui.username()
    if not opts.get('date') and opts.get('currentdate'):
        opts['date'] = "%d %d" % util.makedate()
 
    editor = None

src/h/g/hg-HEAD/mercurial/commands.py   hg(Download)
        opts['user'] = ui.username()
    if not opts.get('date') and opts.get('currentdate'):
        opts['date'] = "%d %d" % util.makedate()
 
    editor = None

src/m/e/mercurial-2.9.1/mercurial/templatefilters.py   Mercurial(Download)
def localdate(text):
    """:localdate: Date. Converts a date to local date."""
    return (util.parsedate(text)[0], util.makedate()[1])
 
def nonempty(str):

src/h/g/hg-HEAD/mercurial/templatefilters.py   hg(Download)
def localdate(text):
    """:localdate: Date. Converts a date to local date."""
    return (util.parsedate(text)[0], util.makedate()[1])
 
def nonempty(str):

src/m/e/mercurial-2.9.1/mercurial/context.py   Mercurial(Download)
    def _date(self):
        return util.makedate()
 
    def status(self, ignored=False, clean=False, unknown=False):
        """Explicit status query
        self._node = None
        self._text = text
        self._date = date and util.parsedate(date) or util.makedate()
        self._user = user
        parents = [(p or nullid) for p in parents]

src/h/g/hg-HEAD/mercurial/context.py   hg(Download)
    def _date(self):
        return util.makedate()
 
    def status(self, ignored=False, clean=False, unknown=False):
        """Explicit status query
        self._node = None
        self._text = text
        self._date = date and util.parsedate(date) or util.makedate()
        self._user = user
        parents = [(p or nullid) for p in parents]

src/m/e/mercurial-2.9.1/mercurial/obsolete.py   Mercurial(Download)
            metadata = {}
        if 'date' not in metadata:
            metadata['date'] = "%d %d" % util.makedate()
        if len(prec) != 20:
            raise ValueError(prec)
        metadata = {}
    if 'date' not in metadata:
        metadata['date'] = '%i %i' % util.makedate()
    if 'user' not in metadata:
        metadata['user'] = repo.ui.username()

src/h/g/hg-HEAD/mercurial/obsolete.py   hg(Download)
            metadata = {}
        if 'date' not in metadata:
            metadata['date'] = "%d %d" % util.makedate()
        if len(prec) != 20:
            raise ValueError(prec)
        metadata = {}
    if 'date' not in metadata:
        metadata['date'] = '%i %i' % util.makedate()
    if 'user' not in metadata:
        metadata['user'] = repo.ui.username()

src/m/e/mercurial-2.9.1/mercurial/changelog.py   Mercurial(Download)
            parseddate = "%d %d" % util.parsedate(date)
        else:
            parseddate = "%d %d" % util.makedate()
        if extra:
            branch = extra.get("branch")

src/h/g/hg-HEAD/mercurial/changelog.py   hg(Download)
            parseddate = "%d %d" % util.parsedate(date)
        else:
            parseddate = "%d %d" % util.makedate()
        if extra:
            branch = extra.get("branch")