On Tue, Mar 20, 2012 at 16:51, Benoit Mortgat <mort...@gmail.com> wrote:
> On Tue, Mar 20, 2012 at 16:28, Jeremy Anderson <jere...@gmail.com> wrote:
>> 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'.
>>
>> For example, when developing games with UDK, they recommend a folder
>> structure like this:
>>
>> ├───official_game_assets
>> │   ├───alpha
>> │   ├───beta
>> │   │   ├───Binaries
>
> 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.

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”.

-- 
Benoit Mortgat
_______________________________________________
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