On Fri, 17 Feb 2017 00:19:08 -0600
Artur Shepilko <[email protected]> wrote:
> To summarize the findings:
> - Sqlite Fossil repo has a number of special cases that do not export
> directly, resulting in "git fast-import" crash.
> - To accomplish the export, one needs to apply the following fixes to
> the __local__ clone of the Sqlite Fossil repo:
> fossil set autosync off
> fossil reparent 590d4ac1ee0db824 eb7a544fe49d1626bacecfe53ddc03fe082e3243
> fossil amend 655991ec8a --date "2010-09-28 19:16:47"
> fossil amend 1ef0dc9328 --date "2010-09-29 13:31:00"
>
> Then initiate the fossil export process anew.
> Please take a note of NOT pushing any of these changes into the Sqlite
> remote repo.
Conformed:
fossil set autosync off
fossil reparent 590d4ac1ee0db824 eb7a544fe49d1626bacecfe53ddc03fe082e3243
fossil amend 655991ec8a --date "2010-09-28 19:16:47"
fossil amend 1ef0dc9328 --date "2010-09-29 13:31:00"
cd ../sqlite-git && fossil export --git \
--export-marks ../sqlite-fossil/fossil.marks ../sqlite.fossil | \
git fast-import --import-marks=../sqlite-fossil/git.marks
--export-marks=../sqlite-fossil/git.marks
Give
error: multiple updates for ref 'refs/tags/experimental' not allowed.
git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects: 115000
Total objects: 39137 ( 74446 duplicates )
blobs : 0 ( 49034 duplicates 0 deltas of
0 attempts)
trees : 27819 ( 18184 duplicates 25217 deltas of
25356 attempts)
commits: 11125 ( 7228 duplicates 0 deltas of
0 attempts)
tags : 193 ( 0 duplicates 0 deltas of
0 attempts)
Total branches: 656 ( 1220 loads )
marks: 1048576 ( 67387 unique )
atoms: 1879
Memory total: 7876 KiB
pools: 2485 KiB
objects: 5390 KiB
---------------------------------------------------------------------
pack_report: getpagesize() = 4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit = 8589934592
pack_report: pack_used_ctr = 64171
pack_report: pack_mmap_calls = 1817
pack_report: pack_open_windows = 2 / 2
pack_report: pack_mapped = 923989449 / 923989449
---------------------------------------------------------------------
i.e. success.
Don't forget to run
git gc --aggressive --prune=all
Before:
du -hs .
884M .
After:
du -hs .
33M .
Thanks!
--
- ptr
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users