What folders are commonly used by version control systems?
I need to know what folder names are commonly used by Version Control systems. Many VCSs will create a hidden folder, usually in the top level of the source tree, to store t开发者_JAVA技巧he information that they use.
So far, I only know that Git uses .git/
and SVN uses .svn/
.
What are the folder names that other popular VCSs use?
We could probably divide the VCSs into three groups:
Special Subdirectory in each directory
- CVS
- Subversion (.svn)
The advantage of this is that each directory in the working copy is a self-contained working copy: you can copy it out somewhere else and it will still work. The obvious disadvantage is the clutter. Using automatic tools to scan over one of these working copies need special filtering or they will return spurious results.
Single special directory for each working copy
- Mercurial (.hg)
- SVK
- (Maybe Git, I'm not sure?)
Special file system support
- ClearCase (dynamic view is a mounted FS; snapshot view is more similar to the single directory case)
Mercurial = a single .hg
directory
精彩评论