Fossil SCM

support for incremental import/export

Open

4b881458c3b93b8… · opened 15 years, 2 months ago

Type
Feature_Request
Priority
Severity
Resolution
Open
Subsystem
Created
Feb. 11, 2011 9:38 a.m.

According to the post which I sent to the mailing list, I believe it would be nice if Fossil would extend its current support for import/export from/to Git by adding support for incremental import/export according to the Git's fast-import/export docs:


 --export-marks=<file> 

Dumps the internal marks table to <file> when
complete. Marks are written one per line as :markid SHA-1. Frontends
can use this file to validate imports after they have been completed,
or to save the marks table across incremental runs. As <file> is only
opened and truncated at checkpoint (or completion) the same path can
also be safely given to --import-marks.

--import-marks=<file> 

Before processing any input, load the marks specified in <file>. The
input file must exist, must be readable, and must use the same format
as produced by --export-marks.

This would (hopefully) enable Fossil users to keep using Fossil while collaborating with other SCM systems, something what one can e.g. achieve with Bazaar by using bzr-{hg,git,svn} plugins.


joerg added on 2011-09-12 13:19:30 UTC: "fossil export" supports marker files. It doesn't work reliably for git though as it tends to fail on the git side during testing. It was complaining about missing objects, which are clearly part of an earlier import.


Comments (1)

anonymous 12 years, 5 months ago

I would like to bump this up. It's been two years and even incremental import from git (or git bundles, which can be offset from a tag/rev/time offset) would be most useful.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button