VCS comparison table
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Oct 21 17:56:27 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Narebski wrote:
> Jan Hudec wrote:
>
>> On Fri, Oct 20, 2006 at 12:05:35AM -0400, Aaron Bentley wrote:
>>> Tim Webster wrote:
>>>> Also svn does not allow files in the same directory to live in
>>>> multiple repos
>>> It would surprise me if many SCMs that support atomic commit also
>>> support intermixing files from multiple repos in the same directory.
>> In fact I think svk would. You would have to switch them by setting
>> an environment variable, but it's probably doable. That is because
>> unlike other version control systems, it does not store the information
>> about checkout in the checkout, but in the central directory and that
>> can be set. I don't know git well enough to tell whether git could do
>> the same by setting GIT_DIR.
>
> You can very simply embed one "clothed" repository into another in GIT,
> like shown below
>
> project/.git
> project/subdir/
> project/subdir/file
> project/subproject/
> project/subproject/.git
> project/subproject/file
> ...
>
> It depends on circumstances if one wants files belonging to subdirectory
> be ignored by top repository. You would want to ignore .git/ directory,
> though.
Any SCM worth its salt should support that. AIUI, that's not what Tim
wants. He wants to intermix files from different repos in the same
directory.
i.e.
project/file-1
project/file-2
project/.git-1
project/.git-2
So file-1 would be in the .git-1 repository, but file-2 would be in the
.git-2 repository.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFOlE70F+nu1YWqI0RAvNcAJ0Rd6ovGoBNtKxcPNOrMH1yc+bzWQCfQlqT
hREsUmCBAW8mIYzfzdnqZqU=
=unGE
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list