On 8/24/2016 8:08 AM, Gavin Lambert wrote:
> 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
> 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
I'm aware that I shouldn't omit the drive letter from the URI and was
actually kind of surprised that it worked in the first place (before I
tried that and saw it worked, I was actually expected an error). I
assumed that SVN would tweak the provided URI to generate the correct
absolute path URI and was surprised that when bringing up the TSVN log
dialog it suggested the WC URI actually still pointed to the
"incomplete" URI: file:///TestRepo. Obviously, that's not how SVN behaves.
I take it you are rather suggesting to demonstrate the flaw by running
the svn command on the WC on D:\TestWC from a different working
directory, since that would then fail like TSVN does, since the recorded
repository path in the WC is not valid in that path context.
If so, thanks for the explanation, that certainly describes the behavior
I see (aka: TSVN's log command simply uses a different working directory
than the WC-root directory - which was the one I used when calling svn log).
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-08-24 11:30:59 CEST