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

RE: svnadmin create complains about subrepositories

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 11 Feb 2011 11:26:36 -0500

> Am Thu, 10 Feb 2011 14:27:17 -0600
> schrieb Ryan Schmidt <subversion-2011a_at_ryandesign.com>:
>
> >
> > $ svnadmin create repo1
> > $ svnadmin create repo1/repo2
> > svnadmin: 'repo1/repo2' is a subdirectory of an existing
> repository
> > rooted at 'repo1' $ svnadmin create repo2 $ mv repo2 repo1 $ ls
> repo1
> > README.txt db hooks repo2
> > conf format locks
> > $
> >
> > Et voilĂ , you have repo2's directory inside repo1's directory.
> >
>
> Yes, this is the only way I would be able to do it, though its a
> pretty nasty thing if you have scripts, creating your repositories
> on the fly.
>
> Again because noone really understood the problem: I need nested
> repositories because without I can not grant granular access
> rights.
>
> Eg: I have a redmine project called x and a repository called x. I
> have access to that repos and some other dudes. Now I need to
> create a new subproject that belongs virtually to x called z. To
> maintain this connection I want it to be visible within redmine as
> a subproject to x.
> I also want to grant access to that project to different people
> than I granted to x. Still I need to maintain the connection to x
> and hence the need of creating subrepositories...
>
> Funny noone of you mentioned one damn reason why the force option
> would be bad. You just said "Its not like we want it to be" but
> apart from that, your argumentation is not present.

Have you brought this up on the redmine support or users list? It seems to me that more than one person would be using nested projects in RedMine and since nested repositories in svn is an anti-pattern I expect there is a better way to do this... or you are not understanding RedMine's sub-projects... or there is a deficiency in redminds security that doesn't allow you to set different permissions to a nested subprojects in a single repository.

Perhaps redmine doesn't require the nested projects to actually point to nested repositories?

BOb



Received on 2011-02-11 17:27:16 CET

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