3 ms·
> Fossil does not support versioning directories. In fossil only files are first class objects. It is not possible to commit an empty directory. This is a big s
by jordigh 11y ago
> Fossil does not support versioning directories. In fossil only files are first class objects. It is not possible to commit an empty directory. This is a big shortcoming that all other major SCMs address.
Hm? Neither git nor hg allow this either. The usual workaround in both is to put an placeholder file in the desired "empty" directory, such as a .gitignore.
- node_uzer 11y agohg and svn support versioning directories. I assumed that git also did. If it does not, I stand corrected.
- node_uzer 11y agoYou're also correct about hg not versioning empty directories with the default mercurial install. A previous place I worked had a non-standard extension - that unknown to me may very well have used the .keep file trick you described. So it would appear that fossil not supporting versioning of directories puts it in good SCM company.