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

Re: Can't list a deleted directory with revision number?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-14 22:15:24 CET

On Feb 14, 2007, at 13:20, Jing Xue wrote:

> A while ago - r416 - I did some refactoring and deleted a
> directory. Now
> I'm at r419, and need to have a list of the files that used to be in
> that directory, so I do:
>
> svn list -r 415 svn://server/proj/trunk/source_code/com/model
>
> and get:
>
> svn: File not found: revision 419, path '/proj/trunk/source_code/
> com/model'
>
> If I try to list any of the directories above 'model' with '-r
> 415', it
> always works, probably because they still exist in r419. For instance,
> if I do:
>
> svn list -r 415 svn://server/proj/trunk/source_code/com
>
> I get:
>
> model/
> digizen/
>
> which were the two directories under 'com' in r415.
>
> So how do I go about and list the content of a deleted directory? And
> why 'svn list -r 415' doesn't work for me?

You need:

svn list svn://server/proj/trunk/source_code/com/model_at_415

You need to understand the difference between peg and operative
revisions. Read the book:

http://svnbook.red-bean.com/en/1.2/svn.advanced.pegrevs.html

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 14 22:16:03 2007

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