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

Re: xml output changed - relative paths now appearing?

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 15 Jul 2013 23:11:19 +0200

On Tue, Jul 9, 2013 at 9:20 PM, Alexander Haley <ahaley_at_meditech.com> wrote:
> Greetings all,
>
> My trouble is that the XML output seems to have changed with the 1.8.0
> subversion library. My interaction with Subversion is via the TortoiseSVN
> software.
>
> (I have never emailed this group - I am completely willing to rephrase my
> question and/or pursue additional homework. I did review the open issues,
> the Docs, and the FAQ before emailing this. I even rummaged around in both
> the TortoiseSVN and the Subversion SVN Logs - to see if I might have
> beginner's luck to spot some commit which explained this change, but alas I
> didn't find anything fruitful).
>
> So, using TortoiseSVN 1.7.11 (linked against SVN 1.7.8) , with the command
> line utilities installed , from a CMD (dos shell) window , do the following:
>
> CD\Program Files\TortoiseSVN\Bin
> svn status --verbose --xml C:\PATH\TO\REPOSITORY
>
> then , using TortoiseSVN 1.8.0 (aka linked against SVN 1.8.0) repeat the
> test, and compare the xml outputs. For me (on a Win XP 32bit machine), they
> differ in a very key fashion:
>
> "old" xml (just a leading excerpt)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <status>
> <target
> path="C:\svnfocus\versions\version8\dev">
> <entry
> path="C:\svnfocus\versions\version8\dev">
> ...
> ...
>
> THE KEY bit is the PATH="" parts . notice how they specific a full absolute
> path? Then, contrast to the "new" xml output:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <status>
> <target
> path="C:\svnfocus\versions\version8\dev">
> <entry
> path="..\..\..\svnfocus\versions\version8\dev">
> ...
> ...
>
>
> NOW SEE how the target and entry paths differ. The entry path possess
> enough ..\ "parent" folder references to "dig out of the" Program
> Files\TortoiseSVN\bin path all the way back up to the point from which the
> \svnfocus\versions\version8\dev path might be constructed. I've
> experimented moving the execution directory around - i.e. executing the svn
> command from C:\ or C:\OTHER\FOLDER\PATH , and the ..\..\ changes
> accordingly.
>
> Any advice or followup requests?

This strikes me as a quite strange and unexpected change of behavior.
I'm not sure if it was intentional. Since no one responded for a
couple of days with the answer to the "intentional" question, I'd say:
please file an issue.

--
Johan
Received on 2013-07-15 23:12:09 CEST

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