On Feb 18, 2016, at 8:56 AM, Stephan Beal <sgb...@googlemail.com> wrote:
> 
> s2> var m = c.loadManifest('current');;
> 
> s2> foreach(m=>k) print(k)

I wonder, would it be practical to use f-s2sh for repository sharding?

That is, I want to take a single long-lived repo holding several projects and 
break it up into project-specific repos, each holding only the artifacts 
relevant to that particular project.

Each project is strictly confined to a top-level directory in the repo, so 
selecting the relevant artifacts wouldn’t be difficult.  It should even be easy 
to drop that extra directory level in the output repo, so that 
prj/path/to/file.cpp becomes path/to/file.cpp in the new prj.fossil repo.

I suspect the tricky part is tracing branches correctly, so that the output 
repo’s structure is an exact subset of the input repo.

I’d hoped bundles could do this, but even with --standalone, you don’t get a 
repo that can stand on its own.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to