On Fri, Dec 17, 2010 at 6:07 AM, Nolan Darilek <no...@thewordnerd.info>wrote:

> If so, I wonder if a variant of "fossil new" might accept a second
> repository file or URL argument. This would copy all artifacts from the
> second repository into the first, then set a new project ID on the first
> repository. This would ensure that each new project has a distinct ID
> from the template, but still starts with the same artifacts.
>

You can achieve that by doing something like this (which would be easly
scriptable):

(PS: on my system 'f' is a symlink to "fossil")

f clone the_original newrepo.fsl
mkdir newrepo
cd newrepo
f open ../newrepo.fsl
f close     # disassociates the files from the opened repo
rm ../newrepo.fsl
f new ../newrepo.fsl
f open ../newrepo.fsl
f add .
f commit -m ...



-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
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