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

Partial export

From: Gerald Britton <gerald.britton_at_gmail.com>
Date: Sat, 25 Jun 2011 18:50:52 -0400

I use svn export to create a clean directory from my repository.
Works great! Later though, I had found some bugs. So, I fixed them
in my working copy, tested them and had some others verify my work.
Then I committed them to my repository. Next thing, replace the files
in the directory I created with export. Then I realized there was no
automatic way to do it. I wound up with a crazy expression that
works. Something like this:

   $cd my/working/copy
   $svn diff --summary -c1234 | cut -b9- | xargs -I% svn export %
/my/target/directory/%

OK so far, but it got me wondering...

Is it worth submitting a feature request to add an option to the svn
export command (e.g. --update or --replace or something better) which,
when combined with a revision specification, export only those files
that changed with respect to the revision specification? (without a
revision specification, the new option would have no effect).

What do others think?

-- 
Gerald Britton
Received on 2011-06-26 01:30:39 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.