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

How to display historic revisions after a delete

From: Dave Sailors <dsailors_at_sorrentonet.com>
Date: Fri, 20 May 2011 13:59:43 -0700

When we do a svn delete on a file, it still shows up in that revision of
the directory for a svn list -r xxxx on the directory itself, but you
can't list that file by revision number directly. You get an error
message saying the file isn't in the the current revision of the
repository.

 

Example:

 

File
svn://srn-redhat/opt/vob/cp_vob/cp-image/trunk/sw_snmp/sw_agent/access_r
psm.c

Was deleted in revision 5148.

 

When we do a svn list we get the following error.

 

svn ls -r 5145
svn://srn-redhat/opt/vob/cp_vob/cp-image/trunk/sw_snmp/sw_agent/access_r
psm.c

svn: File not found: revision 5148, path
'/trunk/sw_snmp/sw_agent/access_rpsm.c'

 

This is also a problem with the Subversion diff command.

 

Is there something else we need to do to be able to see changes between
historic versions of files that have been deleted from the repository?

 

Thanks,

Dave

 

This E-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply E-mail and destroy all copies of the original
message.
Received on 2011-05-22 15:18:57 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.