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

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

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

> -----Original Message-----
> From: Andy Dingley [mailto:andy.dingley@talgentra.com]
> Sent: Tuesday, September 19, 2006 10:13 AM
> To: users@subversion.tigris.org
> Subject: RE: Any difference between results of checkout and update ?
> From: Rob Hubbard
> > I would not expect checkout or update to differ
> Thanks (and to Felix)
> > except in local modifications
> I had my myopia blinkers on - totally forgotten about that 8-)
> > I'm curious as to what prompted your question.
> I'm trying to recreate previous revisions (untagged) as part of some
> regression testing. The results I'm seeing are puzzling me, as if some
> changes aren't rolling back when I step back through
> revisions with svn
> update -r.

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


cd $1 && find . -name '.svn' -prune -o -print |
while read i
        if [ -d "$i" ]
                echo "$i/,-1,-1"
                cksum "$i" | perl -ne 'chomp; @a=split(/ /, $_,
3); print "$a[2],$a[0],$a[1]\n";'
done | sort


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. GA621

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:23:44 2006

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