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

xml output changed - relative paths now appearing?

From: Alexander Haley <ahaley_at_meditech.com>
Date: Tue, 9 Jul 2013 15:20:51 -0400

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?

Thanks,
Alexander

-- 
Alexander Haley, Computer Scientist, 781-774-5156
Medical Information Technology, Inc.
Mailstop: F4E16W, MEDITECH Circle, Westwood, MA 02090
Received on 2013-07-10 06:00:40 CEST

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