[CentOS] not able to check in all code into svn which creates problem in deployment

Thu Jan 20 04:34:47 UTC 2011
Nico Kadel-Garcia <nkadel at gmail.com>

On Wed, Jan 19, 2011 at 5:10 AM, Hakan Koseoglu <hakan at koseoglu.org> wrote:
> On 19 January 2011 06:09, Agnello George <agnello.dsouza at gmail.com> wrote:
>> is there a way i can verify or write a script to check each file that is in
>> the SVN  is same as that in the dev environment .
> find . -type f | grep -v .svn | xargs md5sum
> then diff the output from each server.

    rsync -avh --delete --exclude=.svn --dry-run ./ server:targetdir/

Is much, much, faster and more reliable. Using non-specific regexp
commands likg "grep -v .svn" is begging to exclude files named
"filename.svn.txt", which you may or may not care about. And "md5sum"
won't report changes in symlinks reliably, nor changes in permissions
or ownership.