Made tiny script for myself to get tared file delta fast to make minor QA
and production updates (including binary files),
maybe someone will find it of use :)
svnfd:
-----------8<-----------
#!/bin/bash
svn diff -r $1 | grep "^Index:" | perl -pe "s/^Index: (.*)/\$1/g"
----------->8-----------
(of course if you don't expect in your code strings that start with "Index:
" :) )
Usage examples:
* to get file list that were changed in your working copy since revision
126:
svnfd 126
* to get file list that were updated between revisions 126 and 130:
svnfd 126:130
* to get archive of updates in repository since revision 126:
svnfd 126:HEAD | tar cvjf update.tar.bz2 -T -
Please comment if there's better way to do this
-moshe
Received on Sat Jun 10 02:53:55 2006