[darcs-users] How to "simulate" CVS vendor branches?
Sean E. Russell
ser at germane-software.com
Mon Oct 27 14:27:09 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 27 October 2003 07:12, David Roundy wrote:
> > This is the CVS way of doing things, but I don't approve of it. You
> > presumably want someone else to be able to use your libraries without
> > grabbing the rest of your projects.
>
> As I think about it, in some cases this may sometimes be the correct thing
> to do. Especially if the projects in question are very closely linked. In
> the case of general-purpose libraries, however, I still believe each should
> be in its own repo.
Just to throw another perspective on this, Subversion handles repositories
things in a similar way to CVS, and I find it rather handy. Subversion has
no concept of tags, branches, or even projects. It just has repositories
that have directories. The directories can be projects, subprojects,
branches, tags... whatever. It all depends on how you set up your directory
structure. A common way to set up SVN projects is:
/
project/
trunk/
tags/
1.0.1/
branches/
2.0/
anotherproject/
So to create a new branch is simply:
svn copy project/trunk project/branches/3.0
It is an entirely different model than DARCS, so I don't know that there is
any comparison. I do find the Subversion solution to be very clean,
straightforward, powerful, and elegant. We find subprojects to be a very
practically useful idea; a project may depend heavily on a library, and the
library may be entirely ignorant of the project it is part of.
As I said, this is just another perspective, not a suggestion.
- --
### SER
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Dirigibles
### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737
### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/nStHP0KxygnleI8RAh3cAKCx1Fj8La2SoplVpnIny1Fit8NfGACfROX9
tj4IAhVCHY+qnxbQuRfO7fs=
=Gdet
-----END PGP SIGNATURE-----
More information about the darcs-users
mailing list