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

Re: Get Changed files of a particular revision (with folder structure)

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 30 Dec 2008 22:07:58 +0000

2008/12/30 Stefan Kueng <tortoisesvn_at_gmail.com>:
> rhitam wrote:
>> Hi all ,
>>
>> I wanted to know if there is a feature in tortoisesvn which would
>> allow me to get the files that were changed in a particular revision
>> with the correct hierarchy as in the repository . the option "save
>> revision to" gets all the files but as a flat list.
>>
>> To elaborate more , consider this scenario :
>>
>> in revision 57 , say following files were changed :
>>
>> /Trunk/Projecta/a.cpp
>> /Trunk/ProjectB/B.cpp
>>
>> now projectA and ProjectB are folders. it May have other files also
>> but i dont need them for my purpose. So when i perform this
>> hypothetical feature , i should get a folder structure like this on my
>> hard disk :
>>
>> root/ProjectA.a.cpp
>> root/ProjectB.cpp
>>
>> Is there any way to do this ? If there is no such feature .. is there
>> any work around for it ? I mean if i have to write some code for the
>> same .. what logic would you all suggest ?
>
> Hmm - are you sure you're using the menu "export selection to..."? When
> I use that, I get the folder structure identical to the one in the
> repository.

I think this request is for an export of changes only, i.e. the files
which have changed between 2 revisions, plus as much folder structure
as is needed to match the source. However, this can only work if there
are no file or folder renames as there would be no way to represent
deletion.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=996349
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2008-12-30 23:08:13 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.