Hello,
I ran into a problem with svn diff. As far as I know, this should work,
but it doesn't.
I had a current (updated) working copy of trunk, and I made a
modification to a file. Then I decided to create a new branch for these
changes, so I copied my working copy to a new branch. Then I wanted to
compare the branch with the trunk but svn said:
svn: Syntax error parsing revision '(something)'.
This is a script to reproduce what I did (using two branches instead of
trunk and a branch):
R=svn+ssh://sz@server/home/sz/svnrepos/branches/sz # global repo. root
A=$R/a # this is where I work
B=$R/b # this is where I will copy my modified work to
# note: $R already exists, $A and $B not.
svn mkdir -m 'created a' $A
svn co $A
cd a
echo 'a' > x.txt
svn add x.txt
svn commit -m 'added x.txt' x.txt
rm x.txt
echo 'b' > x.txt
svn cp -m 'copy wc to B' . $B
svn diff $A $B
==>
svn: Syntax error parsing revision
'server/home/sz/svnrepos/branches/sz/a'
however, both $A and $B can be accessed:
$ svn cat $A/x.txt
a
$ svn cat $B/x.txt
b
any ideas what the problem can be?
Thanks,
Istvan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 2 15:21:45 2004