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

svn:externals rights. Problems in svn:external "chain".

From: Dmitry Makhno <makh.dv_at_gmail.com>
Date: 2007-03-20 15:57:48 CET

Hello Developers of SVN,

I have digged a lot of forums and sites, but can't find resolution for
my problem. So I think it is an Issue of all svn clients.
Please answer on my email or post it to issue tracker (where can I
monitor it?).

If additinal information required I will add it with glad.

Version:
svn: 1.4.0/1/2

Summury:
Q&A:
Q: what you did?
A: User tried to get repository with linked svn:external chain.
He hasn't access to all tiers of chain.

Q: what you wanted to happen?
A: I thought that some tiers will be passed.
And user update whole chain except tiers he hasn't access.
Via console expected like:
*****
>svn.exe update D:\***\Projects\QM\

Fetching external item into 'D:\***\Projects\QM\_BREW'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\_Symbian'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\_WM'
svn: Not authorized to open root of edit operation (AND CONTINUE)

Fetching external item into 'D:\***\Projects\QM\_J2ME'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\Sumo'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\Poker'
External at revision 1.
*****

Q: and what actually happened?
A: Chain is order depend. Update stops at first tier that user haven't
access.
Via console it looks like:
*****
>svn.exe update D:\***\Projects\QM\

Fetching external item into 'D:\***\Projects\QM\_BREW'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\_Symbian'
External at revision 1.

Fetching external item into 'D:\***\Projects\QM\_WM'
svn: Not authorized to open root of edit operation
*****

Q: why you think it is SVN client issue?
A: I have the same for TortoiseSvn and sending same info to them. I
ask to check sources for svn_server...
Server can't determinate is it direct update or external only clients
use svn:external property.
So I think it is a problem of SVN and TortoiseSVN clients of svnServer
on 90 percent. (never can't be sure on 100% :) )

Detailed Information:
I have trunk folder with svn:external
********************
_BREW svn+ssh://SVNc/QM_BREW/trunk
_Symbian svn+ssh://SVNc/QM_Symbian/trunk
_WM svn+ssh://SVNc/QM_WM/trunk
_J2ME svn+ssh://SVNc/QM_J2ME/trunk

Sumo svn+ssh://SVNc/QM_Sumo/trunk
Poker svn+ssh://SVNc/QM_Poker/trunk
********************
I have access to all repository. But another user have access only to
some of them (QM_Sumo, QM_Brew, QM_Symbian) repository.

As result I can do "update" correctly.
But another user can't do update at all, update stops at QM_WM and
user receive nothing. :(

I think now it works as:
Update until exception thrown. In this case user MUST manually
checkout each repository in svn:external.

I think it should work as:
Try update each repository and in case of problems externals
repository not updated. But all of them are tried.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 22 23:31:01 2007

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

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