On Fri, May 20, 2011 at 01:59:43PM -0700, Dave Sailors wrote: > 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?
Yes, you need to specify a peg revision. See http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html Currently, the best way to find the right peg revision is to log a known parent directory that still exists in HEAD, and search for the deleted path in the output.
