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:
$svn diff --summary -c1234 | cut -b9- | xargs -I% svn export %
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?
Received on 2011-06-26 01:30:39 CEST