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

RE: RE: RE: Any difference between results of checkout and update ?

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-09-19 16:26:28 CEST

> -----Original Message-----
> From: Reedick, Andrew
> Sent: Tuesday, September 19, 2006 10:22 AM
> To: Andy Dingley; users@subversion.tigris.org
> Subject: RE: RE: Any difference between results of checkout
> and update ?
>
>
>
> Do an 'svn export -r'. Then run the crc.sh script below to create
> checksum of the export and workspace. Then diff the two files to
> determine if the trees (and your sanity) are in good shape or not.
>
> crc.sh exported > exported.txt
> crc.sh working_copy > wc.txt
> diff wc.txt exported.txt
>
>
> crc.sh
> ===========================
> #!/bin/ksh
>
> cd $1 && find . -name '.svn' -prune -o -print |
> while read i
> do
> if [ -d "$i" ]
> then
> echo "$i/,-1,-1"
> else
> cksum "$i" | perl -ne 'chomp; @a=split(/ /, $_,
> 3); print "$a[2],$a[0],$a[1]\n";'
> fi
> done | sort
>

Change the "/ /" to "/\t/" in the cksum line. Not sure why I had
a hard coded tab in there:
        cksum "$i" | perl -ne 'chomp; @a=split(/\t/, $_, 3); print
"$a[2],$a[0],$a[1]\n";'

        

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA622

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 19 16:27:56 2006

This is an archived mail posted to the Subversion Users mailing list.