Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 16937:5487088f0d43
cmdutil: lowercase finddate status message
This message is output by 'hg revert -d DATE' and 'hg update -d DATE'.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 12 Jun 2012 14:18:18 +0200 |
parents | 5088d0b9a9a1 |
children | fba17a64fa49 |
comparison
equal
deleted
inserted
replaced
16936:ee7dd2307031 | 16937:5487088f0d43 |
---|---|
950 results[ctx.rev()] = d | 950 results[ctx.rev()] = d |
951 | 951 |
952 for ctx in walkchangerevs(repo, m, {'rev': None}, prep): | 952 for ctx in walkchangerevs(repo, m, {'rev': None}, prep): |
953 rev = ctx.rev() | 953 rev = ctx.rev() |
954 if rev in results: | 954 if rev in results: |
955 ui.status(_("Found revision %s from %s\n") % | 955 ui.status(_("found revision %s from %s\n") % |
956 (rev, util.datestr(results[rev]))) | 956 (rev, util.datestr(results[rev]))) |
957 return str(rev) | 957 return str(rev) |
958 | 958 |
959 raise util.Abort(_("revision matching date not found")) | 959 raise util.Abort(_("revision matching date not found")) |
960 | 960 |