[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: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-05-14 10:40:21 CEST

"Geoffrey Devantier" <Geoffrey.Devantier@derivco.com> writes:
> Please could someone give me some insight as to how to go about getting
> only the files that changed on a particular revision? I know I could do
> some perl (or otherwise) scripting using the svn log command and
> grabbing the files specified by the return. The downside of this is that
> I don't really want to have all the company users of this repository to
> have to install support for the scripting language as well as svn. Can I
> do anything server side to add support for a "special" check out
> command? Has anyone solved this problem before that could save me some
> time?

You just want to get a list of the files? That's easy:

  $ svn diff --summarize -c25007 http://svn.collab.net/repos/svn/trunk
  M [...]/trunk/subversion/include/svn_client.h
  M [...]/trunk/subversion/libsvn_client/prop_commands.c
  M [...]/trunk/subversion/tests/cmdline/prop_tests.py
  M [...]/trunk/subversion/svn/proplist-cmd.c
  $

If you want to get the contents of the files, yes, you'll need to do
some scripting, Subversion doesn't offer that feature directly.

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 14 10:40:47 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.