subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Antonio Maleci <A.Mal...@iwbank.it>
Subject RE: can I checkout only a revision files ?
Date Wed, 20 Oct 2010 15:28:05 GMT
[Please do not top-post on this list, add / insert your response in line]

> -----Original Message-----
> From: Cooke, Mark [mailto:mark.cooke@siemens.com]
> Sent: mercoledì 20 ottobre 2010 15.43
> To: Andrea Antonio Maleci; Andy Levy
> Cc: users@subversion.apache.org
> Subject: RE: can I checkout only a revision files ?
> 
> [Please do not top-post on this list, add / insert your response in
> line]
> 
> > -----Original Message-----
> > From: Andy Levy [mailto:andy.levy@gmail.com]
> > Sent: mercoledì 20 ottobre 2010 15.25
> > To: Andrea Antonio Maleci
> > Cc: users@subversion.apache.org
> > Subject: Re: can I checkout only a revision files ?
> >
> > On Wed, Oct 20, 2010 at 09:17, Andrea Antonio Maleci
> > <A.Maleci@iwbank.it> wrote:
> > > Is it possible to checkout only files (not patch, but
> > > entire files) from a specific revision ?
> >
> > Yes, use the --revision option for svn co.
> >
> > -----Original Message-----
> > From: Andrea Antonio Maleci [mailto:A.Maleci@iwbank.it]
> > Sent: 20 October 2010 14:34
> > To: 'Andy Levy'
> > Cc: users@subversion.apache.org
> > Subject: RE: can I checkout only a revision files ?
> >
> > It retrieves entire repository at specified revision, not
> > only the modified one...
> >
> That is the way subversion works.  A revision number identifies a state
> of the complete repository and includes all files / folders / metadata
> etc.
> 
> So, are you asking for only the files changed from the previous
> revision?

Yes, I need only last changes, but entire files, not only diffs.

> 
> If so, why would you want that?  Subversion only sends diffs between
> client and server, so that is already efficient.

It seems, from your answer, that I need to write a script, getting output from svn log e requiring
to svn last revision of changed files.

> 
> If you want a list of the changes you can use the 'log' command.
> Remember that metadata can also change in a revision, not just
> files/folders.
> 
> I am not aware that you can ask subversion to give you a working copy
> only containing the files updated by a particular rev but I fail to see
> how that would be useful...

If you version and commit your classes, you need to get only changed one to patch you application
server.
That's why I need last committed files.

> 
> If that does not help, try rephrasing your question and/or providing
> more background.
> 
> Cheers,
> 
> ~ Mark C
Thanks,
Andrea


Mime
View raw message