Login | Register
My pages Projects Community openCollabNet

Discussions > users > Get Changed files of a particular revision (with folder structure)

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

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

Author Kurt Pruenner <leak at gmx dot at>
Full name Kurt Pruenner <leak at gmx dot at>
Date 2009-01-22 01:08:13 PST
Message rhitam wrote:
> > Ugh. Disk I/O is slow. Why not load that XML into an XML object, and
> > loop through the elements instead?
>
>
> I am loading it to an xml object itself , but the output of svn log
> can't be directly loaded to an xml object right ? It has to be via a
> text file?

Set RedirectStandardOutput in your ProcessStartInfo to true and you can
read svn's output directly from the Process object's StandardOutput
stream via XmlDocument.Load - no intermediate file neccessary.

--
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-21 22:02:06 PST
Message >Ugh. Disk I/O is slow. Why not load that XML into an XML object, and
>loop through the elements instead?


I am loading it to an xml object itself , but the output of svn log
can't be directly loaded to an xml object right ? It has to be via a
text file?

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

Author Andy Levy <andy dot levy at gmail dot com>
Full name Andy Levy <andy dot levy at gmail dot com>
Date 2009-01-21 04:12:23 PST
Message On Wed, Jan 21, 2009 at 06:22, rhitam <rhitamsanyal at gmail dot com> wrote:
> Ok, this works , but there seems to be few issues. Here is what i
> did:
>
>
> 1. Wrote a C# code to first execute the show log of that particular
> revision.(Using the --xml option)
> 2. Write that to a text file .

Ugh. Disk I/O is slow. Why not load that XML into an XML object, and
loop through the elements instead?

> 3.Loop through all the "path" elements in it and call svn export -r
> REVNUM REPOURL LOCALPATH
>
> Now ,
>
> svn export command is being called serially . Should some respite be
> given after each call? Is there a chance of server blocking the
> request when the rate of svn export calls exceed certain limit ?

Yes, depending up on the configuration of the server. It may be set to
self-protect against DoS/flood attacks.

> Because once in a while while exporting each file , the server throws
> "remote server returned error (500)" . This issue is not always
> repeatable.

You'll have to look in the Apache logs to get more details on that error.

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-21 03:22:04 PST
Message Ok, this works , but there seems to be few issues. Here is what i
did:


1. Wrote a C# code to first execute the show log of that particular
revision.(Using the --xml option)
2. Write that to a text file .
3.Loop through all the "path" elements in it and call svn export -r
REVNUM REPOURL LOCALPATH

Now ,

svn export command is being called serially . Should some respite be
given after each call? Is there a chance of server blocking the
request when the rate of svn export calls exceed certain limit ?
Because once in a while while exporting each file , the server throws
"remote server returned error (500)" . This issue is not always
repeatable.

Regards ,

Rhitam.




On Jan 19, 8:18 pm, Andy Levy <andy.l...@gmail.com> wrote:
> On Mon, Jan 19, 2009 at 09:07, rhitam <rhitamsan...@gmail.com> wrote:
> > Oh . well,  is there a way to write this log into a text file ? Or any
> > better way to approach this ?
>
> Redirect the output to a textfile. Or output it as XML (the --xml
> option) and apply an XSLT transform to produce the output you want.
>
>
>
>
>
> > On Jan 19, 7:00 pm, Andy Levy <andy.l...@gmail.com> wrote:
> >> On Mon, Jan 19, 2009 at 08:55, rhitam <rhitamsan...@gmail.com> wrote:
> >> > I tried something like this :
> >> > svn log -v -r 1081https://svn.comp​any.com/svn/trunk/
>
> >> > it displayed the changed files in that revision . But how do copy
> >> > those files to any random folder which is not a working copy on my
> >> > hard disk. Upon looking at the syntax (svn help log)  , there seems to
> >> > be no way to provide the destination folder as an argument.
>
> >> You need to write a script to retrieve the log, parse the output, then
> >> do the work.
>
> >> > On Jan 19, 6:29 pm, Andy Levy <andy.l...@gmail.com> wrote:
> >> >> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan...@gmail.com> wrote:
> >> >> > Hi , sorry to bother you all again ,  but is there any way i can do
> >> >> > the same action through command line ? Ie , if i provide revision
> >> >> > number as an argument , the batch file should get all the changed
> >> >> > files to a specified folder ?
>
> >> >> svn log -v -r:REVNUM
>
> >> >> See also svn help log
>
> >> >> > On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
> >> >> >> Stefan , you are a life saver.
>
> >> >> >> Regards ,
> >> >> >> Rhitam.
>
> >> >> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>
> >> >> >> > rhitam wrote:
> >> >> >> > > Folders shown in the dialog ? Yes .. i mean whenever  we open any
> >> >> >> > > windows "save to"  dialog , the existing folders would be shown
> >> >> >> > > right ? That should not affect anything ? Also as for "export
> >> >> >> > > selection to" ..  when does this option appear ?
>
> >> >> >> > > If we right click on the root folder in the repo browser , (typically
> >> >> >> > > trunk) , and then click "show log"  ,
> >> >> >> > > it will show all the different revisions on top. Then i clicked on one
> >> >> >> > > of them. say revision number 1008 .
>
> >> >> >> > > in the section below the log messages , it shows the files checked in
> >> >> >> > > for that revision with the full path ie :
>
> >> >> >> > > it willl show something like this :
>
> >> >> >> > > Action       Path                                               Copy
> >> >> >> > > from Path            revision
> >> >> >> > > added        /trunk/something/something.cpp
> >> >> >> > > modified  /trunk/other/again/other.cpp
> >> >> >> > > ...
>
> >> >> >> > > now ,  if i select all these files in this particular section , (Shift
> >> >> >> > > + ctrl + down)  and then right click , the only option i get is "save
> >> >> >> > > revision to" .
>
> >> >> >> > > Now , if i click on this , the folder browser dialog will appear.
> >> >> >> > > where i can select a folder . when i select that folder , all the
> >> >> >> > > files get copied , but not with the folder structure . They all come
> >> >> >> > > directly under the selected folder.   ie : if the folder name is
> >> >> >> > > "patch"   , then the files something.cpp and other .cpp will be
> >> >> >> > > doirectly under it . The option "Export selection to" doesnt exist!  :
> >> >> >> > > (
>
> >> >> >> > > Am i doing something worng ?
>
> >> >> >> > * show log
> >> >> >> > * select one or more revisions (if more than one, make sure the selected
> >> >> >> > revisions are in one block, i.e., no revision missing)
> >> >> >> > * right-click (the top pane of the log dialog, *not* the file list at
> >> >> >> > the bottom)
> >> >> >> > * select "compare with previous revision" (if one is selected) or
> >> >> >> > "compare revisions" (if more than one revision is selected)
> >> >> >> > * the 'file diff' dialog comes up
> >> >> >> > * select all entries there (ctrl-A)
> >> >> >> > * right-click, select "export to..."
>
> >> >> >> > Stefan
>
> >> >> >> > --
> >> >> >> >        ___
> >> >> >> >   oo  // \\      "De Chelonian Mobile"
> >> >> >> >  (_,\/ \_/ \     TortoiseSVN
> >> >> >> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >> >> >> >    /_/   \_\    http://tortoisesvn.net
>
> >> >> >> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> >> >> >  signature.asc
> >> >> >> > < 1KViewDownload- Hide quoted text -
>
> >> >> >> > - Show quoted text -
>
> >> >> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> >> >> - Show quoted text -
>
> >> >> > --------------------​--------------------​--------------
> >> >> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> >> - Show quoted text -
>
> >> > --------------------​--------------------​--------------
> >> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> - Show quoted text -
>
> > --------------------​--------------------​--------------
> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> - Show quoted text -

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

Author Andy Levy <andy dot levy at gmail dot com>
Full name Andy Levy <andy dot levy at gmail dot com>
Date 2009-01-19 07:47:21 PST
Message On Mon, Jan 19, 2009 at 09:07, rhitam <rhitamsanyal at gmail dot com> wrote:
> Oh . well, is there a way to write this log into a text file ? Or any
> better way to approach this ?

Redirect the output to a textfile. Or output it as XML (the --xml
option) and apply an XSLT transform to produce the output you want.

> On Jan 19, 7:00 pm, Andy Levy <andy.l...@gmail.com> wrote:
>> On Mon, Jan 19, 2009 at 08:55, rhitam <rhitamsan...@gmail.com> wrote:
>> > I tried something like this :
>> > svn log -v -r 1081https://svn.comp​any.com/svn/trunk/
>>
>> > it displayed the changed files in that revision . But how do copy
>> > those files to any random folder which is not a working copy on my
>> > hard disk. Upon looking at the syntax (svn help log) , there seems to
>> > be no way to provide the destination folder as an argument.
>>
>> You need to write a script to retrieve the log, parse the output, then
>> do the work.
>>
>>
>>
>>
>>
>> > On Jan 19, 6:29 pm, Andy Levy <andy.l...@gmail.com> wrote:
>> >> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan...@gmail.com> wrote:
>> >> > Hi , sorry to bother you all again , but is there any way i can do
>> >> > the same action through command line ? Ie , if i provide revision
>> >> > number as an argument , the batch file should get all the changed
>> >> > files to a specified folder ?
>>
>> >> svn log -v -r:REVNUM
>>
>> >> See also svn help log
>>
>> >> > On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
>> >> >> Stefan , you are a life saver.
>>
>> >> >> Regards ,
>> >> >> Rhitam.
>>
>> >> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>>
>> >> >> > rhitam wrote:
>> >> >> > > Folders shown in the dialog ? Yes .. i mean whenever we open any
>> >> >> > > windows "save to" dialog , the existing folders would be shown
>> >> >> > > right ? That should not affect anything ? Also as for "export
>> >> >> > > selection to" .. when does this option appear ?
>>
>> >> >> > > If we right click on the root folder in the repo browser , (typically
>> >> >> > > trunk) , and then click "show log" ,
>> >> >> > > it will show all the different revisions on top. Then i clicked on one
>> >> >> > > of them. say revision number 1008 .
>>
>> >> >> > > in the section below the log messages , it shows the files checked in
>> >> >> > > for that revision with the full path ie :
>>
>> >> >> > > it willl show something like this :
>>
>> >> >> > > Action Path Copy
>> >> >> > > from Path revision
>> >> >> > > added /trunk/something/something.cpp
>> >> >> > > modified /trunk/other/again/other.cpp
>> >> >> > > ...
>>
>> >> >> > > now , if i select all these files in this particular section , (Shift
>> >> >> > > + ctrl + down) and then right click , the only option i get is "save
>> >> >> > > revision to" .
>>
>> >> >> > > Now , if i click on this , the folder browser dialog will appear.
>> >> >> > > where i can select a folder . when i select that folder , all the
>> >> >> > > files get copied , but not with the folder structure . They all come
>> >> >> > > directly under the selected folder. ie : if the folder name is
>> >> >> > > "patch" , then the files something.cpp and other .cpp will be
>> >> >> > > doirectly under it . The option "Export selection to" doesnt exist! :
>> >> >> > > (
>>
>> >> >> > > Am i doing something worng ?
>>
>> >> >> > * show log
>> >> >> > * select one or more revisions (if more than one, make sure the selected
>> >> >> > revisions are in one block, i.e., no revision missing)
>> >> >> > * right-click (the top pane of the log dialog, *not* the file list at
>> >> >> > the bottom)
>> >> >> > * select "compare with previous revision" (if one is selected) or
>> >> >> > "compare revisions" (if more than one revision is selected)
>> >> >> > * the 'file diff' dialog comes up
>> >> >> > * select all entries there (ctrl-A)
>> >> >> > * right-click, select "export to..."
>>
>> >> >> > Stefan
>>
>> >> >> > --
>> >> >> > ___
>> >> >> > oo // \\ "De Chelonian Mobile"
>> >> >> > (_,\/ \_/ \ TortoiseSVN
>> >> >> > \ \_/_\_/> The coolest Interface to (Sub)Version Control
>> >> >> > /_/ \_\ http://tortoisesvn.net
>>
>> >> >> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> >> >> > signature.asc
>> >> >> > < 1KViewDownload- Hide quoted text -
>>
>> >> >> > - Show quoted text -
>>
>> >> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> >> >> - Show quoted text -
>>
>> >> > --------------------​--------------------​--------------
>> >> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> >> - Show quoted text -
>>
>> > --------------------​--------------------​--------------
>> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> - Show quoted text -
>
> --------------------​--------------------​--------------
> http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMessageId=1​034703
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@t​ortoisesvn.tigris.or​g].
>

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

Author jeanmarc
Full name Jean-Marc van Leerdam
Date 2009-01-19 07:14:58 PST
Message 2009/1/19 rhitam <rhitamsanyal at gmail dot com>

> Oh . well, is there a way to write this log into a text file ? Or any
> better way to approach this ?
>

How about:

svn log -v -r 1081 https://svn.company.​com/svn/trunk/ >result.txt

--
Regards,

Jean-Marc
--
      ___
 @@ // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
  \ \_/_\_/> The coolest Interface to (Sub)Version Control
  /_/ \_\ http://tortoisesvn.net
Attachments

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-19 06:07:42 PST
Message Oh . well, is there a way to write this log into a text file ? Or any
better way to approach this ?



On Jan 19, 7:00 pm, Andy Levy <andy.l...@gmail.com> wrote:
> On Mon, Jan 19, 2009 at 08:55, rhitam <rhitamsan...@gmail.com> wrote:
> > I tried something like this :
> > svn log -v -r 1081https://svn.comp​any.com/svn/trunk/
>
> > it displayed the changed files in that revision . But how do copy
> > those files to any random folder which is not a working copy on my
> > hard disk. Upon looking at the syntax (svn help log)  , there seems to
> > be no way to provide the destination folder as an argument.
>
> You need to write a script to retrieve the log, parse the output, then
> do the work.
>
>
>
>
>
> > On Jan 19, 6:29 pm, Andy Levy <andy.l...@gmail.com> wrote:
> >> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan...@gmail.com> wrote:
> >> > Hi , sorry to bother you all again ,  but is there any way i can do
> >> > the same action through command line ? Ie , if i provide revision
> >> > number as an argument , the batch file should get all the changed
> >> > files to a specified folder ?
>
> >> svn log -v -r:REVNUM
>
> >> See also svn help log
>
> >> > On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
> >> >> Stefan , you are a life saver.
>
> >> >> Regards ,
> >> >> Rhitam.
>
> >> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>
> >> >> > rhitam wrote:
> >> >> > > Folders shown in the dialog ? Yes .. i mean whenever  we open any
> >> >> > > windows "save to"  dialog , the existing folders would be shown
> >> >> > > right ? That should not affect anything ? Also as for "export
> >> >> > > selection to" ..  when does this option appear ?
>
> >> >> > > If we right click on the root folder in the repo browser , (typically
> >> >> > > trunk) , and then click "show log"  ,
> >> >> > > it will show all the different revisions on top. Then i clicked on one
> >> >> > > of them. say revision number 1008 .
>
> >> >> > > in the section below the log messages , it shows the files checked in
> >> >> > > for that revision with the full path ie :
>
> >> >> > > it willl show something like this :
>
> >> >> > > Action       Path                                               Copy
> >> >> > > from Path            revision
> >> >> > > added        /trunk/something/something.cpp
> >> >> > > modified  /trunk/other/again/other.cpp
> >> >> > > ...
>
> >> >> > > now ,  if i select all these files in this particular section , (Shift
> >> >> > > + ctrl + down)  and then right click , the only option i get is "save
> >> >> > > revision to" .
>
> >> >> > > Now , if i click on this , the folder browser dialog will appear.
> >> >> > > where i can select a folder . when i select that folder , all the
> >> >> > > files get copied , but not with the folder structure . They all come
> >> >> > > directly under the selected folder.   ie : if the folder name is
> >> >> > > "patch"   , then the files something.cpp and other .cpp will be
> >> >> > > doirectly under it . The option "Export selection to" doesnt exist!  :
> >> >> > > (
>
> >> >> > > Am i doing something worng ?
>
> >> >> > * show log
> >> >> > * select one or more revisions (if more than one, make sure the selected
> >> >> > revisions are in one block, i.e., no revision missing)
> >> >> > * right-click (the top pane of the log dialog, *not* the file list at
> >> >> > the bottom)
> >> >> > * select "compare with previous revision" (if one is selected) or
> >> >> > "compare revisions" (if more than one revision is selected)
> >> >> > * the 'file diff' dialog comes up
> >> >> > * select all entries there (ctrl-A)
> >> >> > * right-click, select "export to..."
>
> >> >> > Stefan
>
> >> >> > --
> >> >> >        ___
> >> >> >   oo  // \\      "De Chelonian Mobile"
> >> >> >  (_,\/ \_/ \     TortoiseSVN
> >> >> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >> >> >    /_/   \_\    http://tortoisesvn.net
>
> >> >> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> >> >  signature.asc
> >> >> > < 1KViewDownload- Hide quoted text -
>
> >> >> > - Show quoted text -
>
> >> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> >> - Show quoted text -
>
> >> > --------------------​--------------------​--------------
> >> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> - Show quoted text -
>
> > --------------------​--------------------​--------------
> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> - Show quoted text -

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

Author Andy Levy <andy dot levy at gmail dot com>
Full name Andy Levy <andy dot levy at gmail dot com>
Date 2009-01-19 06:00:50 PST
Message On Mon, Jan 19, 2009 at 08:55, rhitam <rhitamsanyal at gmail dot com> wrote:
> I tried something like this :
> svn log -v -r 1081 https://svn.company.​com/svn/trunk/
>
> it displayed the changed files in that revision . But how do copy
> those files to any random folder which is not a working copy on my
> hard disk. Upon looking at the syntax (svn help log) , there seems to
> be no way to provide the destination folder as an argument.

You need to write a script to retrieve the log, parse the output, then
do the work.

> On Jan 19, 6:29 pm, Andy Levy <andy.l...@gmail.com> wrote:
>> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan...@gmail.com> wrote:
>> > Hi , sorry to bother you all again , but is there any way i can do
>> > the same action through command line ? Ie , if i provide revision
>> > number as an argument , the batch file should get all the changed
>> > files to a specified folder ?
>>
>> svn log -v -r:REVNUM
>>
>> See also svn help log
>>
>>
>>
>>
>>
>> > On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
>> >> Stefan , you are a life saver.
>>
>> >> Regards ,
>> >> Rhitam.
>>
>> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>>
>> >> > rhitam wrote:
>> >> > > Folders shown in the dialog ? Yes .. i mean whenever we open any
>> >> > > windows "save to" dialog , the existing folders would be shown
>> >> > > right ? That should not affect anything ? Also as for "export
>> >> > > selection to" .. when does this option appear ?
>>
>> >> > > If we right click on the root folder in the repo browser , (typically
>> >> > > trunk) , and then click "show log" ,
>> >> > > it will show all the different revisions on top. Then i clicked on one
>> >> > > of them. say revision number 1008 .
>>
>> >> > > in the section below the log messages , it shows the files checked in
>> >> > > for that revision with the full path ie :
>>
>> >> > > it willl show something like this :
>>
>> >> > > Action Path Copy
>> >> > > from Path revision
>> >> > > added /trunk/something/something.cpp
>> >> > > modified /trunk/other/again/other.cpp
>> >> > > ...
>>
>> >> > > now , if i select all these files in this particular section , (Shift
>> >> > > + ctrl + down) and then right click , the only option i get is "save
>> >> > > revision to" .
>>
>> >> > > Now , if i click on this , the folder browser dialog will appear.
>> >> > > where i can select a folder . when i select that folder , all the
>> >> > > files get copied , but not with the folder structure . They all come
>> >> > > directly under the selected folder. ie : if the folder name is
>> >> > > "patch" , then the files something.cpp and other .cpp will be
>> >> > > doirectly under it . The option "Export selection to" doesnt exist! :
>> >> > > (
>>
>> >> > > Am i doing something worng ?
>>
>> >> > * show log
>> >> > * select one or more revisions (if more than one, make sure the selected
>> >> > revisions are in one block, i.e., no revision missing)
>> >> > * right-click (the top pane of the log dialog, *not* the file list at
>> >> > the bottom)
>> >> > * select "compare with previous revision" (if one is selected) or
>> >> > "compare revisions" (if more than one revision is selected)
>> >> > * the 'file diff' dialog comes up
>> >> > * select all entries there (ctrl-A)
>> >> > * right-click, select "export to..."
>>
>> >> > Stefan
>>
>> >> > --
>> >> > ___
>> >> > oo // \\ "De Chelonian Mobile"
>> >> > (_,\/ \_/ \ TortoiseSVN
>> >> > \ \_/_\_/> The coolest Interface to (Sub)Version Control
>> >> > /_/ \_\ http://tortoisesvn.net
>>
>> >> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> >> > signature.asc
>> >> > < 1KViewDownload- Hide quoted text -
>>
>> >> > - Show quoted text -
>>
>> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> >> - Show quoted text -
>>
>> > --------------------​--------------------​--------------
>> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> - Show quoted text -
>
> --------------------​--------------------​--------------
> http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMessageId=1​034684
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@t​ortoisesvn.tigris.or​g].
>

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-19 05:55:32 PST
Message I tried something like this :
svn log -v -r 1081 https://svn.company.​com/svn/trunk/

it displayed the changed files in that revision . But how do copy
those files to any random folder which is not a working copy on my
hard disk. Upon looking at the syntax (svn help log) , there seems to
be no way to provide the destination folder as an argument.

Any ideas ?







On Jan 19, 6:29 pm, Andy Levy <andy.l...@gmail.com> wrote:
> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan...@gmail.com> wrote:
> > Hi , sorry to bother you all again ,  but is there any way i can do
> > the same action through command line ? Ie , if i provide revision
> > number as an argument , the batch file should get all the changed
> > files to a specified folder ?
>
> svn log -v -r:REVNUM
>
> See also svn help log
>
>
>
>
>
> > On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
> >> Stefan , you are a life saver.
>
> >> Regards ,
> >> Rhitam.
>
> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>
> >> > rhitam wrote:
> >> > > Folders shown in the dialog ? Yes .. i mean whenever  we open any
> >> > > windows "save to"  dialog , the existing folders would be shown
> >> > > right ? That should not affect anything ? Also as for "export
> >> > > selection to" ..  when does this option appear ?
>
> >> > > If we right click on the root folder in the repo browser , (typically
> >> > > trunk) , and then click "show log"  ,
> >> > > it will show all the different revisions on top. Then i clicked on one
> >> > > of them. say revision number 1008 .
>
> >> > > in the section below the log messages , it shows the files checked in
> >> > > for that revision with the full path ie :
>
> >> > > it willl show something like this :
>
> >> > > Action       Path                                               Copy
> >> > > from Path            revision
> >> > > added        /trunk/something/something.cpp
> >> > > modified  /trunk/other/again/other.cpp
> >> > > ...
>
> >> > > now ,  if i select all these files in this particular section , (Shift
> >> > > + ctrl + down)  and then right click , the only option i get is "save
> >> > > revision to" .
>
> >> > > Now , if i click on this , the folder browser dialog will appear.
> >> > > where i can select a folder . when i select that folder , all the
> >> > > files get copied , but not with the folder structure . They all come
> >> > > directly under the selected folder.   ie : if the folder name is
> >> > > "patch"   , then the files something.cpp and other .cpp will be
> >> > > doirectly under it . The option "Export selection to" doesnt exist!  :
> >> > > (
>
> >> > > Am i doing something worng ?
>
> >> > * show log
> >> > * select one or more revisions (if more than one, make sure the selected
> >> > revisions are in one block, i.e., no revision missing)
> >> > * right-click (the top pane of the log dialog, *not* the file list at
> >> > the bottom)
> >> > * select "compare with previous revision" (if one is selected) or
> >> > "compare revisions" (if more than one revision is selected)
> >> > * the 'file diff' dialog comes up
> >> > * select all entries there (ctrl-A)
> >> > * right-click, select "export to..."
>
> >> > Stefan
>
> >> > --
> >> >        ___
> >> >   oo  // \\      "De Chelonian Mobile"
> >> >  (_,\/ \_/ \     TortoiseSVN
> >> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >> >    /_/   \_\    http://tortoisesvn.net
>
> >> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >> >  signature.asc
> >> > < 1KViewDownload- Hide quoted text -
>
> >> > - Show quoted text -
>
> >> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> >> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> >> - Show quoted text -
>
> > --------------------​--------------------​--------------
> >http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> - Show quoted text -

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

Author Andy Levy <andy dot levy at gmail dot com>
Full name Andy Levy <andy dot levy at gmail dot com>
Date 2009-01-19 05:34:54 PST
Message On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsanyal at gmail dot com> wrote:
> Hi , sorry to bother you all again , but is there any way i can do
> the same action through command line ? Ie , if i provide revision
> number as an argument , the batch file should get all the changed
> files to a specified folder ?

svn log -v -r:REVNUM

See also svn help log

> On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
>> Stefan , you are a life saver.
>>
>> Regards ,
>> Rhitam.
>>
>> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>>
>>
>>
>>
>>
>> > rhitam wrote:
>> > > Folders shown in the dialog ? Yes .. i mean whenever we open any
>> > > windows "save to" dialog , the existing folders would be shown
>> > > right ? That should not affect anything ? Also as for "export
>> > > selection to" .. when does this option appear ?
>>
>> > > If we right click on the root folder in the repo browser , (typically
>> > > trunk) , and then click "show log" ,
>> > > it will show all the different revisions on top. Then i clicked on one
>> > > of them. say revision number 1008 .
>>
>> > > in the section below the log messages , it shows the files checked in
>> > > for that revision with the full path ie :
>>
>> > > it willl show something like this :
>>
>> > > Action Path Copy
>> > > from Path revision
>> > > added /trunk/something/something.cpp
>> > > modified /trunk/other/again/other.cpp
>> > > ...
>>
>> > > now , if i select all these files in this particular section , (Shift
>> > > + ctrl + down) and then right click , the only option i get is "save
>> > > revision to" .
>>
>> > > Now , if i click on this , the folder browser dialog will appear.
>> > > where i can select a folder . when i select that folder , all the
>> > > files get copied , but not with the folder structure . They all come
>> > > directly under the selected folder. ie : if the folder name is
>> > > "patch" , then the files something.cpp and other .cpp will be
>> > > doirectly under it . The option "Export selection to" doesnt exist! :
>> > > (
>>
>> > > Am i doing something worng ?
>>
>> > * show log
>> > * select one or more revisions (if more than one, make sure the selected
>> > revisions are in one block, i.e., no revision missing)
>> > * right-click (the top pane of the log dialog, *not* the file list at
>> > the bottom)
>> > * select "compare with previous revision" (if one is selected) or
>> > "compare revisions" (if more than one revision is selected)
>> > * the 'file diff' dialog comes up
>> > * select all entries there (ctrl-A)
>> > * right-click, select "export to..."
>>
>> > Stefan
>>
>> > --
>> > ___
>> > oo // \\ "De Chelonian Mobile"
>> > (_,\/ \_/ \ TortoiseSVN
>> > \ \_/_\_/> The coolest Interface to (Sub)Version Control
>> > /_/ \_\ http://tortoisesvn.net
>>
>> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>>
>> > signature.asc
>> > < 1KViewDownload- Hide quoted text -
>>
>> > - Show quoted text -
>>
>> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>>
>> - Show quoted text -
>
> --------------------​--------------------​--------------
> http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMessageId=1​034113
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@t​ortoisesvn.tigris.or​g].
>

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-19 01:49:12 PST
Message Hi , sorry to bother you all again , but is there any way i can do
the same action through command line ? Ie , if i provide revision
number as an argument , the batch file should get all the changed
files to a specified folder ?



On Jan 19, 10:24 am, rhitam <rhitamsan...@gmail.com> wrote:
> Stefan , you are a life saver.
>
> Regards ,
> Rhitam.
>
> On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
>
>
>
>
>
> > rhitam wrote:
> > > Folders shown in the dialog ? Yes .. i mean whenever  we open any
> > > windows "save to"  dialog , the existing folders would be shown
> > > right ? That should not affect anything ? Also as for "export
> > > selection to" ..  when does this option appear ?
>
> > > If we right click on the root folder in the repo browser , (typically
> > > trunk) , and then click "show log"  ,
> > > it will show all the different revisions on top. Then i clicked on one
> > > of them. say revision number 1008 .
>
> > > in the section below the log messages , it shows the files checked in
> > > for that revision with the full path ie :
>
> > > it willl show something like this :
>
> > > Action       Path                                               Copy
> > > from Path            revision
> > > added        /trunk/something/something.cpp
> > > modified  /trunk/other/again/other.cpp
> > > ...
>
> > > now ,  if i select all these files in this particular section , (Shift
> > > + ctrl + down)  and then right click , the only option i get is "save
> > > revision to" .
>
> > > Now , if i click on this , the folder browser dialog will appear.
> > > where i can select a folder . when i select that folder , all the
> > > files get copied , but not with the folder structure . They all come
> > > directly under the selected folder.   ie : if the folder name is
> > > "patch"   , then the files something.cpp and other .cpp will be
> > > doirectly under it . The option "Export selection to" doesnt exist!  :
> > > (
>
> > > Am i doing something worng ?
>
> > * show log
> > * select one or more revisions (if more than one, make sure the selected
> > revisions are in one block, i.e., no revision missing)
> > * right-click (the top pane of the log dialog, *not* the file list at
> > the bottom)
> > * select "compare with previous revision" (if one is selected) or
> > "compare revisions" (if more than one revision is selected)
> > * the 'file diff' dialog comes up
> > * select all entries there (ctrl-A)
> > * right-click, select "export to..."
>
> > Stefan
>
> > --
> >        ___
> >   oo  // \\      "De Chelonian Mobile"
> >  (_,\/ \_/ \     TortoiseSVN
> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >    /_/   \_\    http://tortoisesvn.net
>
> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> >  signature.asc
> > < 1KViewDownload- Hide quoted text -
>
> > - Show quoted text -
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> - Show quoted text -

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-18 21:24:41 PST
Message Stefan , you are a life saver.

Regards ,
Rhitam.



On Jan 16, 8:25 pm, Stefan Küng <tortoise...@gmail.com> wrote:
> rhitam wrote:
> > Folders shown in the dialog ? Yes .. i mean whenever  we open any
> > windows "save to"  dialog , the existing folders would be shown
> > right ? That should not affect anything ? Also as for "export
> > selection to" ..  when does this option appear ?
>
> > If we right click on the root folder in the repo browser , (typically
> > trunk) , and then click "show log"  ,
> > it will show all the different revisions on top. Then i clicked on one
> > of them. say revision number 1008 .
>
> > in the section below the log messages , it shows the files checked in
> > for that revision with the full path ie :
>
> > it willl show something like this :
>
> > Action       Path                                               Copy
> > from Path            revision
> > added        /trunk/something/something.cpp
> > modified  /trunk/other/again/other.cpp
> > ...
>
> > now ,  if i select all these files in this particular section , (Shift
> > + ctrl + down)  and then right click , the only option i get is "save
> > revision to" .
>
> > Now , if i click on this , the folder browser dialog will appear.
> > where i can select a folder . when i select that folder , all the
> > files get copied , but not with the folder structure . They all come
> > directly under the selected folder.   ie : if the folder name is
> > "patch"   , then the files something.cpp and other .cpp will be
> > doirectly under it . The option "Export selection to" doesnt exist!  :
> > (
>
> > Am i doing something worng ?
>
> * show log
> * select one or more revisions (if more than one, make sure the selected
> revisions are in one block, i.e., no revision missing)
> * right-click (the top pane of the log dialog, *not* the file list at
> the bottom)
> * select "compare with previous revision" (if one is selected) or
> "compare revisions" (if more than one revision is selected)
> * the 'file diff' dialog comes up
> * select all entries there (ctrl-A)
> * right-click, select "export to..."
>
> Stefan
>
> --
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\    http://tortoisesvn.net
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
>  signature.asc
> < 1KViewDownload- Hide quoted text -
>
> - Show quoted text -

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

Author steveking
Full name Stefan Küng
Date 2009-01-16 07:25:32 PST
Message rhitam wrote:
> Folders shown in the dialog ? Yes .. i mean whenever we open any
> windows "save to" dialog , the existing folders would be shown
> right ? That should not affect anything ? Also as for "export
> selection to" .. when does this option appear ?
>
> If we right click on the root folder in the repo browser , (typically
> trunk) , and then click "show log" ,
> it will show all the different revisions on top. Then i clicked on one
> of them. say revision number 1008 .
>
> in the section below the log messages , it shows the files checked in
> for that revision with the full path ie :
>
> it willl show something like this :
>
>
> Action Path Copy
> from Path revision
> added /trunk/something/something.cpp
> modified /trunk/other/again/other.cpp
> ...
>
>
> now , if i select all these files in this particular section , (Shift
> + ctrl + down) and then right click , the only option i get is "save
> revision to" .
>
> Now , if i click on this , the folder browser dialog will appear.
> where i can select a folder . when i select that folder , all the
> files get copied , but not with the folder structure . They all come
> directly under the selected folder. ie : if the folder name is
> "patch" , then the files something.cpp and other .cpp will be
> doirectly under it . The option "Export selection to" doesnt exist! :
> (
>
> Am i doing something worng ?

* show log
* select one or more revisions (if more than one, make sure the selected
revisions are in one block, i.e., no revision missing)
* right-click (the top pane of the log dialog, *not* the file list at
the bottom)
* select "compare with previous revision" (if one is selected) or
"compare revisions" (if more than one revision is selected)
* the 'file diff' dialog comes up
* select all entries there (ctrl-A)
* right-click, select "export to..."

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-16 05:36:21 PST
Message Folders shown in the dialog ? Yes .. i mean whenever we open any
windows "save to" dialog , the existing folders would be shown
right ? That should not affect anything ? Also as for "export
selection to" .. when does this option appear ?

If we right click on the root folder in the repo browser , (typically
trunk) , and then click "show log" ,
it will show all the different revisions on top. Then i clicked on one
of them. say revision number 1008 .

in the section below the log messages , it shows the files checked in
for that revision with the full path ie :

it willl show something like this :


Action Path Copy
from Path revision
added /trunk/something/something.cpp
modified /trunk/other/again/other.cpp
...


now , if i select all these files in this particular section , (Shift
+ ctrl + down) and then right click , the only option i get is "save
revision to" .

Now , if i click on this , the folder browser dialog will appear.
where i can select a folder . when i select that folder , all the
files get copied , but not with the folder structure . They all come
directly under the selected folder. ie : if the folder name is
"patch" , then the files something.cpp and other .cpp will be
doirectly under it . The option "Export selection to" doesnt exist! :
(

Am i doing something worng ?

My tortoisesvn version information :

TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
Subversion 1.5.4,
apr 1.2.12
apr-utils 1.2.12
berkeley db 4.4.20
neon 0.28.3
OpenSSL 0.9.8i 15 Sep 2008
zlib 1.2.3

Regards ,

Rhitam





On Jan 2, 12:48 pm, Stefan Kueng <tortoise...@gmail.com> wrote:
> rhitam wrote:
> > Your are right simon , this is request for getting changed files only.
> > "Export selection to"  gets all the files , whether or not they were
> > chenged between two particular revisions. So is there a way t o do
> > that ?
>
> Hmm - that should not happen. It should only export the changed files.
> Do you have any folders shown in the dialog which you've selected for
> exporting?
>
> Stefan
>
> --
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\    http://tortoisesvn.net
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
>  signature.asc
> < 1KViewDownload

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

Author steveking
Full name Stefan Küng
Date 2009-01-01 23:48:47 PST
Message rhitam wrote:
> Your are right simon , this is request for getting changed files only.
> "Export selection to" gets all the files , whether or not they were
> chenged between two particular revisions. So is there a way t o do
> that ?

Hmm - that should not happen. It should only export the changed files.
Do you have any folders shown in the dialog which you've selected for
exporting?

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2009-01-01 21:13:21 PST
Message Your are right simon , this is request for getting changed files only.
"Export selection to" gets all the files , whether or not they were
chenged between two particular revisions. So is there a way t o do
that ?


Regards ,

Rhitam.



On Dec 31 2008, 3:07 am, Simon Large
<simon.tortoise..​.@googlemail.com>​ wrote:
> 2008/12/30 Stefan Kueng <tortoise...@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.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].- Hide quoted text -
>
> - Show quoted text -

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

Author "Simon Large" <simon dot tortoisesvn at googlemail dot com>
Full name "Simon Large" <simon dot tortoisesvn at googlemail dot com>
Date 2008-12-30 14:08:00 PST
Message 2008/12/30 Stefan Kueng <tortoisesvn at gmail dot 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

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

Author steveking
Full name Stefan Küng
Date 2008-12-29 23:44:38 PST
Message 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.

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author rhitam <rhitamsanyal at gmail dot com>
Full name rhitam <rhitamsanyal at gmail dot com>
Date 2008-12-29 07:47:21 PST
Message 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 ?

Thanks and regards ,

Rhitam
Messages per page: