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

Re: discrepancies between 'svn -R list' and 'svn -R propget' (on windows using TSVN build command line client)

From: Lorenz <lorenznl_at_yahoo.com>
Date: Wed, 16 Nov 2016 14:02:11 +0000

Bert Huijben wrote:
>[...]
>The difference is that 'svn ls' is really a repository operation, working on
>URLS (or part of urls). On URLs we always use the url / platform independent
>'/' separator.
>
>'svn propget' usually works on local paths, in which case we use the local
>path (or technically 'dirent') separator, which is a '\' on Windows.
>
>This behavior was explicitly implemented this way years ago.
>[...]

ok, that explains the slash mystery 8-)

but what about the leading subpath vs. no subpath difference?

svn -R ls path/subpath

        file1
        subsubpath/file2
        ...

vs.

svn -R pg svn:keywords path/subpath

        subpath/file1 - ...
        subpath/subsubpath/file2
        ...

-- 
Lorenz
Received on 2016-11-16 15:06:21 CET

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

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