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

Re: How to export only files that changed

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-03-10 19:24:01 CET

Norbert Siebert wrote:
> is there a way to export only the files that changed in revision i.e 300 or
> from revision 275 to 300 and not the whole trunk?

Something along the lines of:

  for file in `svn log -r300 -v | sed s/^...[MA] //p`; do \
   svn cat $repourl/$file > $prefix/$file; done;

Of course you'd need to flesh it out to create destination directories,
etc. but the general idea works fine in scripts I use.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 10 19:25:00 2006

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