Hi,

now I got it. Thank you very much for helping me to understand the peg 
revision a little better!


Best regards,

David  

Am Montag, 27. April 2020 20:42:50 UTC+2 schrieb Bruce C:
>
> Hi,
>
> This is more of a Subversion question than a TortoiseSVN question, so this 
> isn't the natural home for this query.
>
> That said, the issue concerns an understanding of peg and operative 
> revisions, within Subversion. The short answer is that the command you may 
> want is the following:
> svn list 
> "file:///C:/Users/0046193/Desktop/TestRepo_delete/trunk/02_Folder_to_delete@r2"
>
> More information can be found in the Subversion Red Book, in the section 
> titled "Peg and Operative Revisions" 
> <http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.advanced.pegrevs>.
>
> Based on the Red Book description, the longer answer is that Subversion 
> treats the folder added in revision 4 as a different item than the folder 
> added at revision 2, even though they share the same name.
>
> The command that you had translates as follows:
> "Find the item named *trunk/02_Folder_to_delete* in the head of the 
> repository and then list that item from revision 2".
>
> However, that folder didn't exist in revision 2 - it was only added in 
> revision 4, so an error is reported. Remember that items aren't the same 
> just because they share the same name.
>
> My suggested command translates as follows:
> "Find the item named *trunk/02_Folder_to_delete* in revision 2 of the 
> repository and then list that item".
>
> That works because that folder did exist in revision 2 (where it was 
> created), so it could be found and listed.
>
> Hope this helps.
>
>
> On Monday, 27 April 2020 18:33:13 UTC+1, (unknown) wrote:
>>
>> Hi,
>>
>> I have created a Testrepo, where I've added two folders in revision 2.In 
>> the cmd-prompt the "svn log" of the upper dirctory shows the two folders. 
>> For the second folder, it shows nothing, because it's empty.
>>
>> [image: beforDeleting_r2.png]
>>
>>
>> At next I delete the folder in revision 3, so "svn log" only shows the 
>> first folder.
>>
>> Now I add the file again in revision 4 and there occures the problem, 
>> because the "svn log" for revision 2 still shows both folders, but can't 
>> find the folder in revision 2, if I enter "svn log" for this folder.
>>
>> [image: addedAgain_r4.png]
>>  
>>
>> [image: Log.png]
>>
>>
>>  Thank you in advance!
>>
>>
>> Best regards
>>
>> David
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/46f24391-f32d-4e12-a513-61584cacce3d%40googlegroups.com.
  • can't fin... tortoisesvn+APn2wQfQUD3cl3CtOSwoKOFRVB1yD3FDdfM1GrwTAOUqmSlKEzmJ
    • Re: ... Bruce C via TortoiseSVN
      • ... David via TortoiseSVN

Reply via email to