[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: rhitam <rhitamsanyal_at_gmail.com>
Date: Mon, 19 Jan 2009 05:55:31 -0800 (PST)

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..._at_gmail.com> wrote:
> On Mon, Jan 19, 2009 at 04:49, rhitam <rhitamsan..._at_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..._at_gmail.com> wrote:
> >> Stefan , you are a life saver.
>
> >> Regards ,
> >> Rhitam.
>
> >> On Jan 16, 8:25 pm, Stefan Küng <tortoise..._at_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.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> >> > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> >> >  signature.asc
> >> > < 1KViewDownload- Hide quoted text -
>
> >> > - Show quoted text -
>
> >> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> >> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> >> - Show quoted text -
>
> > ------------------------------------------------------
> >http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> - Show quoted text -

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1034684

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-19 14:56:08 CET

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