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

Re: svn diff problem

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-03-02 15:53:31 CET

Hi,

I don't know if what you try to do actually should work (like copying from
your wc to the repository), but what definitely won't work is comparing 2
resources without telling svn which revision to use for it.

Which means that in the transcript below you should use

svn diff $a@2 $b@2

where the @2 means that you want the state of the resource as in revision 2
of the repository.

bye,

Erik.

> 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
>

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
---------------------------------------------------------------------
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:52:42 2004

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