Subversion file: protocol diffing issues

Hi,

We are using TC 4.0.2 and are having issues with the subversion file: protocol.

The URL which is set in the config is file://ganon/code/tng and syncing files work fine.

When diffing files we get errors which indicate that an incorrect URL is being used (they don't have the server name in them anymore)

ERROR:
org.tmatesoft.svn.core.SVNException: svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///code/tng/trunk/aux_assets/tools/products/fileserver'
svn: Unable to open repository 'file:///code/tng/trunk/aux_assets/tools/products/fileserver'

Is this an error in our configuration or an error in TC or SVNKit?

Kind Regards,
Thomas Sköldenborg, Programmer at Grin AB

4 comments
Comment actions Permalink

Hello,

You could try using svnserve

svnserve --daemon --root <you repository location>

and then use:
svn://<servername>/<project>/trunk <project>

Maybe this helps too.

HTH,

Hans

0
Comment actions Permalink

Hi Hans!

The reason we are using file:// is because we have tried using svn:// and had severe connection issues using that protocol.

It seems like this could be just a very simple bug in the file:// implementation in either TC or SVNKit. The only problem seems to be that the <servername> portion of the URL has been stripped when the diffing is done.

Kind Regards,
Thomas Sköldenborg, Programmer at Grin AB

0
Comment actions Permalink

Thomas,

Seems we have the issue reported: http://jetbrains.net/tracker/issue2/TW-5097

0
Comment actions Permalink

Hello Thomas,

  Did you try using file:///path, as suggested in http://svnbook.red-bean.com/en/1.5/svn.basic.in-action.html#svn.advanced.reposurls ?

  Regards,
  KIR

0

Please sign in to leave a comment.