Hi Anthony,
On 26 Oct 2004 at 10:54, Anthony Metcalf wrote:
> On Tue, 26 Oct 2004 17:22:43 +0800
> "Rob Hills" <rob@netpaver.com.au> wrote:
>
> > I agree that is how Subversion works. However, I don't believe that way of thinking
> > necessarily fits the way everyone works, which is probably why this thread has the
> > legs that it has. Given the structure mentioned above, let's take a scenario where I
> > make a change to some source under projects/project1 and commit that as revision
> > 1432, and I then change some source under projects/project2 and commit that as
> > revision 1433. In this scenario, my view is that the last revision to project1 is revision
> > 1432, not 1433, which is the last revision for project2 and of course the head.
>
> What I would do:
>
> mkdir projects
>
> svnadmin create projects/project1
>
> svnadmin create projects/project2
>
> That means both projects are seperate though, which may not be way you want. It will though give you different revision numbers on each repo.
Thanks for the suggestion. We actually looked carefully at the 2 alternative structures
when I set up the repository and chose the one we have for a number of reasons.
Probably the main ones were:
1. Reducing the overheads of adding a new project (updating Apache configuration,
reconfiguring backups etc);
2. The need to temporarily share components between projects (via svn:externals)
when parallel development was occurring.
There were other reasons also which I don't have to hand right now. Together the
case for a single repository with multiple projects outweighed (for us) the loss of
revision number independence and other likely downsides of this setup. Doesn't stop
me trying to have my cake and eat it too though :-)
Cheers,
Rob Hills
MBBS, Grad Dip Com Stud, MACS
Senior Consultant
Netpaver Web Solutions
Tel: (08) 9485 2555
Mob: (0412) 904 357
Fax: (08) 9485 2555
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 26 12:12:21 2004