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

Re: Export only modified files

From: Stephane Bortzmeyer <bortzmeyer_at_nic.fr>
Date: 2005-05-18 12:41:08 CEST

On Wed, May 18, 2005 at 10:45:54AM +0100,
 Andy Jarrett <andy.jarrett@gmail.com> wrote
 a message of 13 lines which said:

> Im using SVN for my web projects and want to know if there is a way
> to only export modified files and their directory structure instead
> of exporting the whole site (folder) for upload.

I suggest to use a script (written with one of the many bindings of
Subversion) which will display the names. Then your Makefile (or
whatever installation system you use) will use the output of the
script to call cp or install or whatever.

I attach a Python script which displays the list of files modified in
the last revision (or before, if you use -r).

AFNIC/CODEV-NIC/codev % svnchanged
/internal/management/svnchanged_last.py

AFNIC/CODEV-NIC/codev % svnchanged -r 204
/src/samples/forbidden-words/add.py
/src/samples/forbidden-words/search.py

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Wed May 18 12:43:30 2005

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.