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

Re: Checking out only files that changed

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-05-14 14:35:25 CEST

Geoffrey Devantier wrote:
> It turns out that a very easy way to do what I need to do:
> Assuming I want to get only the files that changed for revision 42 to my
> working folder, all I need to do is use "svn merge -c42 .@43 .
> --dry-run" (without the --dry-run ofc when you want to do it for real)
> at the command line. So long as I am at a higher folder level than what
> the changes took place at (I will always execute this command at the
> working copy directory representing the root of the repository) then
> this is pretty much guaranteed to work.
> Where this is very useful for me as a developer is that now I can put
> some binary files into SVN and tell the testers "Please test the system
> as reproduced by getting the files represented by revisions x, y and z
> of the repository."

If some people only need a subset of files, wouldn't it be easier to
move them into their own subdirectory so the person wanting them can
just check that out at any revision or tag instead of needing
contortions to avoid getting some unnecessary files along with them?

   Les Mikesell
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 14 14:36:27 2007

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.