Fossil User Forum

Another question - new repos?
Login

Another question - new repos?

Another question - new repos?

(1) By Kuiper (kuiperzone) on 2025-06-30 20:57:40 [source]

I have directory on an external drive containing fossil repos.

Q. Would it be wise to create an empty fossil file, configured it with user settings, skin etc., and then use this as a base for all new repos? So when I wanted a new repo, I could simply copy this file?

Or, would this not be wise because, perhaps, each fossil repo has some unique identifier (UUID) generated automatically? In this case, I should use "fossil init" each time?

(2) By Richard Hipp (drh) on 2025-06-30 21:01:04 in reply to 1 [link] [source]

You are advised to use fossil new for each new repository, so that a unique project-code is generated for each one.

(3) By Kuiper (kuiperzone) on 2025-06-30 21:06:02 in reply to 2 [link] [source]

Thanks mate!

(4) By Kees Nuyt (knu) on 2025-06-30 22:36:47 in reply to 3 [link] [source]

Execute

fossil help new

and have a look at the --template option.

(5) By Kuiper (kuiperzone) on 2025-07-01 01:18:52 in reply to 4 [link] [source]

Indeed that works nicely. Thank you Kees.