Having never tried a distributed source control system I decided to try out Mercurial after reading this article. I was fairly disappointed when I found out it is not able to store an empty directory... I know there are a lot of workarounds:
- Adding the creation of the dirs to build script: Brittle - someone will rewrite the script and forget it or deploy the project without the build script.
- Creating dummy files in the directory: Yikes !
- Ensuring the code creates the dirs at runtime: Doable, but having to change code, and make coworkers do it as well is not cool
The bottom line is that I should be able to take an existing project and import it to Mercurial. No "buts", "ifs" or excuses. I'm sticking to subversion for the time being (although it is not perfect either).
Deal-braker: Mercurial can't store empty directories
Date: 2011-04-26 06:14 pm (UTC)- Adding the creation of the dirs to build script:
Brittle - someone will rewrite the script and forget it or deploy the project without the build script.
- Creating dummy files in the directory:
Yikes !
- Ensuring the code creates the dirs at runtime:
Doable, but having to change code, and make coworkers do it as well is not cool
The bottom line is that I should be able to take an existing project and import it to Mercurial. No "buts", "ifs" or excuses. I'm sticking to subversion for the time being (although it is not perfect either).