##// END OF EJS Templates
Tweak finddate to pass date directly....
mark.williamson@cl.cam.ac.uk -
r5836:c5c9a022 default
parent child Browse files
Show More
@@ -902,7 +902,7 b' def show_changeset(ui, repo, opts, buffe'
902
902
903 def finddate(ui, repo, date):
903 def finddate(ui, repo, date):
904 """Find the tipmost changeset that matches the given date spec"""
904 """Find the tipmost changeset that matches the given date spec"""
905 df = util.matchdate(date + " to " + date)
905 df = util.matchdate(date)
906 get = util.cachefunc(lambda r: repo.changectx(r).changeset())
906 get = util.cachefunc(lambda r: repo.changectx(r).changeset())
907 changeiter, matchfn = walkchangerevs(ui, repo, [], get, {'rev':None})
907 changeiter, matchfn = walkchangerevs(ui, repo, [], get, {'rev':None})
908 results = {}
908 results = {}
General Comments 0
You need to be logged in to leave comments. Login now