Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 7807:bd8f44638847
help: miscellaneous language fixes
author | timeless <timeless@gmail.com> |
---|---|
date | Sat, 28 Feb 2009 12:38:45 +0100 |
parents | e899ead7b8ae |
children | 8c09952cd39a |
comparison
equal
deleted
inserted
replaced
7806:6d0cf2a2acad | 7807:bd8f44638847 |
---|---|
938 return str(rev) | 938 return str(rev) |
939 | 939 |
940 raise util.Abort(_("revision matching date not found")) | 940 raise util.Abort(_("revision matching date not found")) |
941 | 941 |
942 def walkchangerevs(ui, repo, pats, change, opts): | 942 def walkchangerevs(ui, repo, pats, change, opts): |
943 '''Iterate over files and the revs they changed in. | 943 '''Iterate over files and the revs in which they changed. |
944 | 944 |
945 Callers most commonly need to iterate backwards over the history | 945 Callers most commonly need to iterate backwards over the history |
946 it is interested in. Doing so has awful (quadratic-looking) | 946 in which they are interested. Doing so has awful (quadratic-looking) |
947 performance, so we use iterators in a "windowed" way. | 947 performance, so we use iterators in a "windowed" way. |
948 | 948 |
949 We walk a window of revisions in the desired order. Within the | 949 We walk a window of revisions in the desired order. Within the |
950 window, we first walk forwards to gather data, then in the desired | 950 window, we first walk forwards to gather data, then in the desired |
951 order (usually backwards) to display it. | 951 order (usually backwards) to display it. |