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

Re: Unable to connect to repository on local repository

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: Wed, 24 Aug 2016 18:08:34 +1200

On 23/08/2016 20:04, Stefan Hett wrote:
> Steps to reproduce:
>
> 1. Change to the root of a drive (for instance D:\)
> 2. svnadmin create TestRepo
> 3. mkdir TestWC
> 4. svn co file:///TestRepo TestWC
> 5. bring up the TSVN log dialog on the TestWC
[...]
> Note: svn log shows the log entries for the WC as expected and the issue
> doesn't occur, if I do svn co file:///D:/TestRepo TestWC (instead of
> omitting the D:/-drive-prefix in the URL).

Both SVN and TSVN are behaving correctly. The problem is that the URL
you have supplied is ambiguous, and means different things in different
contexts.

Try creating your test repo on D: as above, but then change to C: before
trying to check it out. You'll probably find that the checkout will
fail. You'll probably get similarly bad results if you try to get the
log of your WC on D: while the current directory is on C:.

The solution is simple: Don't omit the drive prefix from the URL; it is
required.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3183360

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-08-24 08:08:55 CEST

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

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