I know Fossil is a file versioning system, but when first establishing a repository for a working group, it is useful to create a straw-man folder structure to guide growth. But, one can't (by default?) commit an empty folder to a fossil repository, as there's nothing to 'version'.
Is there a way around this? Can you commit an empty folder somehow?
(I'd prefer to not have to go generate a placeholder "readme.txt" or ".purpose" file for each folder, just to get Fossil to recognize that it should exist... but I will if i must.)
You can use the versionable setting “empty-dirs”. Create a file named
.fossil-settings/empty-dirs in your checkout, and fill it with:
/official_game_assets/alpha
/official_game_assets/beta/Binaries
...
Add that file to the fossil repository, this will maintain a versionable
list of empty directories.
--
Benoit Mortgat
_______________________________________________
fossil-users mailing list
fossil...@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
I've answered a bit fast.
You actually need to declare all sublevels:
/official_game_assets
/official_game_assets/alpha
/official_game_assets/beta
/official_game_assets/beta/Binaries
...
In order to create the dirs, just run “fossil update”.