开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜