Re: not able to check in all code into svn which creates problem in deployment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jan 19, 2011 at 5:10 AM, Hakan Koseoglu <hakan@xxxxxxxxxxxx> wrote:
> On 19 January 2011 06:09, Agnello George <agnello.dsouza@xxxxxxxxx> 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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux