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

RE: can I checkout only a revision files ?

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 20 Oct 2010 14:42:53 +0100

[Please do not top-post on this list, add / insert your response in line]

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: mercoledì 20 ottobre 2010 15.25
> To: Andrea Antonio Maleci
> Cc: users_at_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_at_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_at_iwbank.it]
> Sent: 20 October 2010 14:34
> To: 'Andy Levy'
> Cc: users_at_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
Received on 2010-10-20 15:43:35 CEST

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

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