SCM/VCS: Tracking directories

Posted by Roger Pate on Stack Overflow See other posts from Stack Overflow or by Roger Pate
Published on 2009-07-03T17:06:37Z Indexed on 2010/03/29 2:23 UTC
Read the original article Hit count: 530

Filed under:
|
|

When I first found out that Mercurial tracked files and not directories, I was a bit disappointed. (This means you can't represent an empty directory in the repo.) However, it doesn't seem to be an issue in practice, and makes some things a tad easier for me. How about other SCM systems? (Edit this post to add them.) What advantages or disadvantages have you found by not tracking directories? (Each one separately in an answer, please.)

Do track directories:

  • Subversion
  • Bazaar/bzr
  • (add one!)

Do NOT track directories:

  • Mercurial/hg
  • git
  • (add one!)

© Stack Overflow or respective owner

Related posts about scm

Related posts about version-control