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

How to compare working copy file with older version of that file?

From: Grant Edwards <grante_at_visi.com>
Date: Thu, 29 May 2008 20:11:46 +0000 (UTC)

I can't seem to figure out how to compare the working version
of a file with an old revision of that file. Here's the log
for the file:

   $ svn log matrixConfig.h
   ------------------------------------------------------------------------
   r2068 | grante | 2008-05-22 18:02:04 -0500 (Thu, 22 May 2008) | 2 lines
   
   Disable all ciphers except RC4-SHA so that ssldump could
   decrypt application data.
   ------------------------------------------------------------------------
   r2057 | grante | 2008-05-21 11:00:19 -0500 (Wed, 21 May 2008) | 3 lines
   
   Merge in changes that came with the SSH beta release.
   
   
   ------------------------------------------------------------------------
   r1973 | grante | 2008-05-06 13:05:23 -0500 (Tue, 06 May 2008) | 3 lines
   
   Branch in which MatrixSSL/SSH incorporation is being done.
   
   
   ------------------------------------------------------------------------

According to the manual (p34), this should work, shouldn't it?

   $ svn diff -c 2068 matrixConfig.h
   svn: File not found: revision 1972, path '/ecos/ecosapps/trunk/matrixssl/src/matrixConfig.h'

What does /ecos/ecosapps/trunk/matrixssl/src/matrixConfig.h
have to do with anything? That's not the path of the file in
question (and I didn't ask about revision 1972).

According to the manual, this also should work but doesn't:

   $ svn diff -r 2057:2068 matrixConfig.h
   svn: File not found: revision 1972, path '/ecos/ecosapps/trunk/matrixssl/src/matrixConfig.h'

How do I ask for the differences between either the working
verion and an older version or between two older versions of a
file?

If I edit the file and then do "svn diff matrixConfig.h" it
works fine, but anything where I specify a version falls down.

-- 
Grant Edwards                   grante             Yow! Will this never-ending
                                  at               series of PLEASURABLE
                               visi.com            EVENTS never cease?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-29 22:12:19 CEST

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.