changeset 5836 | c5c9a022bd9a |
parent 5829 | 784073457a0f |
child 5843 | 83c354c4d529 |
--- a/mercurial/cmdutil.py Wed Jan 09 11:15:00 2008 +0100 +++ b/mercurial/cmdutil.py Fri Jan 11 01:36:20 2008 +0000 @@ -902,7 +902,7 @@ def finddate(ui, repo, date): """Find the tipmost changeset that matches the given date spec""" - df = util.matchdate(date + " to " + date) + df = util.matchdate(date) get = util.cachefunc(lambda r: repo.changectx(r).changeset()) changeiter, matchfn = walkchangerevs(ui, repo, [], get, {'rev':None}) results = {}