[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Multiple repos or one repos

From: Tim Hill <drtimhill_at_comcast.net>
Date: 2006-11-14 19:49:22 CET

On Nov 14, 2006, at 9:49 AM, James wrote:

>
> On Nov 14, 2006, at 12:14 PM, Tim Hill wrote:
>
>> What "fine-grain" control do they think they will lose?
>>
>> I strongly advise integrating these repos -- lots of manual hacks
>> and copies like this will end in a RBM (really big mess).
>>
>> --Tim
>>
>
>
> They currently have a number of pre and post commit scripts that
> vary slightly for each repo. By merging, would they not lose that
> fine grain control and instead only have a set up pre and post
> commit scripts for the repo as a whole.
>
> Or is it possible to setup pre and post commit hooks that are based
> on specific directories within the repo.
>
> Also, tags and branches. How will they be able to create branches
> of only a subset of a repos? Is that possible?
>
> James
>
>

Understood -- this would need some effort. You cannot setup per-
directory hooks, though it's not that hard to create a "dispatcher"
master hook script that could do this and pass over control to
another based upon the path.

Tags and branches *are* normally subsets of a repo -- if currently
they are tagging/branching the entire repo that is just by choice.
It's more formal to tag/branch at a project level or below. For example:

svn://my-server/my-repo/my-project/my-sub-project/tags/...

That is, the trunk/branches/tags split can occur wherever you like in
the directory hierarchy, and there can be as many as you like in one
repo -- each completely independent of the others. tags etc are not
"special" -- they are just conventional uses of normal directory names.

--Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 14 20:09:55 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.