Hacker News new | ask | show | jobs
by pavel_lishin 5263 days ago
In 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?

2 comments

It's usually .gitkeep from what I've seen. .gitignore usually lives in the repo root.
> How do you get around this in mercurial?

Same (with a .empty or .keep file).