mercurial/upgrade_utils/engine.py
changeset 46252 8023991dc811
parent 46229 52abb1af2995
child 46375 2e8a844d0ae0
child 46695 8da44c36fc74
equal deleted inserted replaced
46251:40ec2173f4dd 46252:8023991dc811
   188     filelogs = {}
   188     filelogs = {}
   189 
   189 
   190     # Perform a pass to collect metadata. This validates we can open all
   190     # Perform a pass to collect metadata. This validates we can open all
   191     # source files and allows a unified progress bar to be displayed.
   191     # source files and allows a unified progress bar to be displayed.
   192     for unencoded, encoded, size in alldatafiles:
   192     for unencoded, encoded, size in alldatafiles:
   193         if unencoded.endswith(b'.d'):
   193         if not unencoded.endswith(b'.i'):
   194             continue
   194             continue
   195 
   195 
   196         rl = _revlogfrompath(srcrepo, unencoded)
   196         rl = _revlogfrompath(srcrepo, unencoded)
   197 
   197 
   198         info = rl.storageinfo(
   198         info = rl.storageinfo(