https://bz.mercurial-scm.org/show_bug.cgi?id=6242
Bug ID: 6242 Summary: debugupgraderepo fails due to *.i files with size of 0 bytes Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug Priority: wish Component: Mercurial Assignee: bugzi...@mercurial-scm.org Reporter: stammber...@gmx.de CC: mercurial-devel@mercurial-scm.org Python Version: --- Tried to upgrade a repository to use the sparse-revlog option by adding [format] sparse-revlog = yes to the hgrc file. Then calling hg debugupgraderepo --run If there exist any *.i files in .hg/store/data/... with a size of 0 bytes these files are not copied (or converted) into the temporary repository "upgrade.and the conversion of the repository fails with an error message something like "The system can't find the file...". Here the output: ----------------- c:\MyProject>hg debugupgraderepo --run upgrade will perform the following actions: requirements preserved: fncache, revlogv1, store added: dotencode, generaldelta, sparserevlog dotencode repository will be better able to store files beginning with a space or period generaldelta repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster sparserevlog Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. plain-cl-delta changelog storage will be reformated to store raw entries; changelog reading will be faster; changelog size may be reduced beginning upgrade... repository locked and read-only creating temporary repository to stage migrated data: c:\MyProject\.hg\upgrade.p5ywyu (it is safe to interrupt this process any time before data migration completes) migrating 24498 total revisions (19320 in filelogs, 2588 in manifests, 2590 in changelog) migrating 1.59 GB in store; 27.7 GB tracked data migrating 2850 filelogs containing 19320 revisions (1.59 GB in store; 27.4 GB tracked data) Transaktion abgebrochen! Zurückrollen abgeschlossen removing temporary repository c:\MyProject\.hg\upgrade.p5ywyu Abbruch: Das System kann die angegebene Datei nicht finden: 'c:\MyProject\.hg\upgrade.p5ywyu\.hg/store\data/_programm/_d_e_v_i_m_a_g_e_s/_s_c_t2.jpg.i' ---------------- The file "_s_c_t2.jpg.i" has a size of 0 bytes! -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel