changeset 9667:8743f2e1bc54

merge changes from mpm
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 30 Oct 2009 09:53:39 +0100
parents 71e081b88f3e (diff) 1de5ebfa5585 (current diff)
children 2c24471d478c
files mercurial/cmdutil.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Oct 29 19:03:16 2009 -0500
+++ b/mercurial/cmdutil.py	Fri Oct 30 09:53:39 2009 +0100
@@ -1022,6 +1022,7 @@
 
 def finddate(ui, repo, date):
     """Find the tipmost changeset that matches the given date spec"""
+
     df = util.matchdate(date)
     m = matchall(repo)
     results = {}
@@ -1031,7 +1032,7 @@
         if df(d[0]):
             results[rev] = d
 
-    for ctx in walkchangerevs(repo, m, {'rev':None}, prep):
+    for ctx in walkchangerevs(repo, m, {'rev': None}, prep):
         rev = ctx.rev()
         if rev in results:
             ui.status(_("Found revision %s from %s\n") %