3 ms·
Maybe somebody can add a extension to Mercurial that let's you use empty folders.....
by mariusmg 15y ago
Maybe somebody can add a extension to Mercurial that let's you use empty folders.....
- xentac 15y agoGit and Mercurial both suffer from this "problem". Because manifests/trees must have contents (file hashes) to exist, you can't track an empty folder. I suppose git's tree objects could point to the empty tree to record an empty folder, but most of the git code is comparing file blobs not trees.
- eridius 15y agoGit's tree structure can certainly encode an empty directory, the problem is the index file can't.
- pavel_lishin 15y agoIn git, we solve this problem by sticking a .gitignore file in any directories we want to be part of the repo, but without the contents (cache folders, user-generated data destinations, etc.) How do you get around this in mercurial?