Code to reproduce:
-------------------
URL from cmd
-------------------
[cmd] export
URL="https://svn.cakephp.org/repo/branches/1.2.x.x/cake/config/paths.php"
[cmd] echo $URL
[res] https://svn.cakephp.org/repo/branches/1.2.x.x/cake/config/paths.php
[cmd] svn diff --old=$URL@PREV --new=$URL@HEAD
[res] svn: A path under version control is needed for this operation
---------------------
Local from cmd
---------------------
[cmd] export URL="/usr/home/cwi.dk/data/htdocs/cake/config/paths.php"
[cmd] echo $URL
[res] /usr/home/cwi.dk/data/htdocs/cake/config/paths.php
[cmd] svn diff --old=$URL@PREV --new=$URL@HEAD
[res] ~diff output as expected~
C Source (snippet) incl. php call: http://hashbin.com/191.html
In short, when using 'svn_opt_revision_previous' in URLs, it seems to break.
-
svn, version 1.4.2 (r22196)
compiled Jan 24 2007, 03:12:33
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 24 16:51:58 2007