subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cooke, Mark" <mark.co...@siemens.com>
Subject RE: can I checkout only a revision files ?
Date Wed, 20 Oct 2010 13:42:53 GMT
[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?

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

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 that does not help, try rephrasing your question and/or providing more background.

Cheers,

~ Mark C

Mime
View raw message