Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5637C9C1A for ; Fri, 3 Feb 2012 13:51:09 +0000 (UTC) Received: (qmail 22400 invoked by uid 500); 3 Feb 2012 13:51:08 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 22371 invoked by uid 500); 3 Feb 2012 13:51:07 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 22364 invoked by uid 99); 3 Feb 2012 13:51:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 13:51:07 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.103.221.47] (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 13:51:00 +0000 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120203135038.VGWW3550.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Fri, 3 Feb 2012 13:50:38 +0000 Received: from cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com ([86.16.124.205]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20120203135038.BCIP5924.aamtaout02-winn.ispmail.ntl.com@cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com>; Fri, 3 Feb 2012 13:50:38 +0000 Received: by cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com (Postfix, from userid 1000) id A322C360B9; Fri, 3 Feb 2012 13:50:36 +0000 (GMT) From: Philip Martin To: Johan Holmberg Cc: "users\@subversion.apache.org" Subject: Re: Strange diffs after rsync copying of working copy References: <4F2BC96D.2020902@iar.se> <20120203122811.GB18533@ted.stsp.name> <4F2BD9E0.2070809@iar.se> <87wr84kqs1.fsf@stat.home.lan> <4F2BE1AA.8040409@iar.se> Date: Fri, 03 Feb 2012 13:50:36 +0000 In-Reply-To: <4F2BE1AA.8040409@iar.se> (Johan Holmberg's message of "Fri, 03 Feb 2012 14:31:22 +0100") Message-ID: <87liokkour.fsf@stat.home.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=dmETdrZ3I3YA:10 a=iIDFhVp1u9EA:10 a=sOaj6hhuNKAA:10 a=kj9zAlcOel0A:10 a=U1VJMHZsSfk7gCD8bf8A:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Johan Holmberg writes: > On 02/03/2012 02:09 PM, Philip Martin wrote: >> Johan Holmberg writes: >> >>> So I don't think saying "If that timestamp differs from the one on >>> disk, the file is considered modified." is correct. "svn" does not >>> work like that for me at least. >> You are correct, that is not how Subversion behaves. Subversion checks >> the timestamp to determine whether to do a full text comparison. If the >> timestamp and size of a working file match the recorded values the file >> is assummed to be unmodified. If the values differ Subversion does a >> full text comparison to determine if the files differ. >> > > I have now done some further experiments. I just issued commands like this: > > $ svn status # no modified files reported Subversion is not doing a full text comparison because the timestamps match. So the difference that is present is not reported. > $ touch foo.txt bar.txt Now the timestamps don't match. > $ svn status > M foo.txt <------ only "foo.txt" not "bar.txt" Subversion now does a full text comparison and the difference is identified. -- Philip