sapling/mercurial
Martin Geisler 5b4e5428df replace "i in range(len(xs))" with "i, x in enumerate(xs)"
The remaining occurrences should be the ones where "xs" is mutated or
where "i" is used for index arithmetic.
2009-05-26 22:59:52 +02:00
..
hgweb hgweb: extract config values after reading webdir-config 2009-05-26 10:16:17 +02:00
pure replace "i in range(len(xs))" with "i, x in enumerate(xs)" 2009-05-26 22:59:52 +02:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py ancestor: use set instead of dict 2009-05-17 03:53:13 +02:00
archival.py use 'x is None' instead of 'x == None' 2009-05-20 00:52:46 +02:00
base85.c Some additional space/tab cleanups 2008-10-20 15:19:05 +02:00
bdiff.c bdiff: add comment about normalization 2009-01-12 17:51:57 +01:00
bundlerepo.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
byterange.py byterange: fix import error 2009-05-14 13:20:04 +02:00
changegroup.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
changelog.py changelog: refuse to add revisions with empty usernames 2009-05-16 11:12:49 +02:00
cmdutil.py cmdutils: Take over glob expansion duties from util 2009-05-24 16:38:29 -05:00
commands.py use ui instead of repo.ui when the former is in scope 2009-05-24 22:37:20 +02:00
config.py config: make remap actually work 2009-05-04 14:21:43 -05:00
context.py workingfilectx: always use the same filelog, even for renames 2009-05-20 02:08:53 +02:00
copies.py use 'x is None' instead of 'x == None' 2009-05-20 00:52:46 +02:00
demandimport.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
diffhelpers.c Handle patches with misformatted empty lines 2007-11-01 17:15:50 -05:00
dirstate.py dirstate: skip step 3 in walk if nothing new will match 2009-05-14 19:54:26 +02:00
dispatch.py dispatch: remember loaded extensions in a real set 2009-05-07 17:56:57 +02:00
encoding.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
error.py turn some comments back into module docstrings 2009-04-26 01:24:49 +02:00
extensions.py ui: print_exc() -> traceback() 2009-04-26 16:50:44 -05:00
fancyopts.py some modernization cleanups, forward compatibility 2009-05-13 14:08:39 +02:00
filelog.py filelog encoding: move the encoding/decoding into store 2009-05-20 18:35:47 +02:00
filemerge.py use ui instead of repo.ui when the former is in scope 2009-05-24 22:37:20 +02:00
graphmod.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
hbisect.py hbisect: use set.update for bulk updates 2009-05-17 16:57:12 +02:00
help.py templatefilters: add filter to convert date to local date (issue1674) 2009-05-24 11:41:07 +02:00
hg.py clone: try updating to the actual changeset specified in options 2009-05-14 22:00:56 +02:00
hook.py some modernization cleanups, forward compatibility 2009-05-13 14:08:39 +02:00
httprepo.py named branches: client branchmap wire protocol support (issue736) 2009-05-23 17:03:51 +02:00
i18n.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
ignore.py match: add some default args 2009-05-24 02:56:14 -05:00
keepalive.py util: remove md5 2009-05-04 21:30:39 +02:00
localrepo.py match: add some default args 2009-05-24 02:56:14 -05:00
lock.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
lsprof.py cleanup: drop unused assignments 2009-03-23 13:13:06 +01:00
lsprofcalltree.py drop unused imports 2009-05-14 15:35:46 +02:00
mail.py patchbomb: quoted-printable encode overly long lines 2009-05-08 18:30:44 +02:00
manifest.py drop unused imports 2009-05-14 15:35:46 +02:00
match.py match: fix _patsplit breakage with drive letters 2009-05-24 16:37:34 -05:00
mdiff.py replace "i in range(len(xs))" with "i, x in enumerate(xs)" 2009-05-26 22:59:52 +02:00
merge.py merge: give hint as to how to discover uncommitted changes 2009-05-22 11:42:21 -05:00
mpatch.c allow Mercurial to compile on Haiku 2008-09-17 10:22:35 +02:00
node.py put license and copyright info into comment blocks 2009-04-26 01:13:08 +02:00
osutil.c osutil: silence uninitialized variable warning 2009-05-24 16:27:50 +02:00
parsers.c Some additional space/tab cleanups 2008-10-20 15:19:05 +02:00
patch.py replace "i in range(len(xs))" with "i, x in enumerate(xs)" 2009-05-26 22:59:52 +02:00
posix.py cmdutils: Take over glob expansion duties from util 2009-05-24 16:38:29 -05:00
repair.py replace xrange(0, n) with xrange(n) 2009-05-25 23:06:11 +02:00
repo.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
revlog.py replace xrange(0, n) with xrange(n) 2009-05-25 23:06:11 +02:00
simplemerge.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
sshrepo.py named branches: client branchmap wire protocol support (issue736) 2009-05-23 17:03:51 +02:00
sshserver.py named branches: server branchmap wire protocol support (issue736) 2009-05-23 17:02:49 +02:00
statichttprepo.py statichttprepo: handle remote not supporting Range headers 2009-05-24 18:31:01 +02:00
store.py filelog encoding: move the encoding/decoding into store 2009-05-20 18:35:47 +02:00
streamclone.py filelog encoding: move the encoding/decoding into store 2009-05-20 18:35:47 +02:00
strutil.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
templatefilters.py templatefilters: add filter to convert date to local date (issue1674) 2009-05-24 11:41:07 +02:00
templater.py templater: replace eval with closure 2009-05-17 18:17:04 -05:00
transaction.py transaction: add atomic groups to transaction logic 2009-05-11 21:12:40 +02:00
ui.py ui: honor interactive=off even if isatty() 2009-05-21 20:59:36 +02:00
url.py url: use CONNECT for HTTPS connections through HTTP proxy (issue967) 2009-05-22 08:56:43 +02:00
util.py util: simplify range expression 2009-05-26 22:37:26 +02:00
verify.py verify: use set instead of dict 2009-05-17 04:14:15 +02:00
win32.py posixfile: remove posixfile_nt and fix import bug in windows.py 2009-05-13 21:36:16 +02:00
windows.py cmdutils: Take over glob expansion duties from util 2009-05-24 16:38:29 -05:00