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

Re: Perplexing results of SVN commit

From: Warren Jones <wjones_at_fluke.com>
Date: Tue, 12 Jul 2011 11:12:02 -0700

On Mon, Jul 11, 2011 at 07:13:22PM -0700, Ryan Schmidt wrote:

> Sounds to me like operator error of the following kind: the developer modified the files in the working copy, and also made identical modifications to the corresponding pristine files in .svn/text-base (frequently this happens when using a batch search-replace tool).

Thanks, that seems like a reasonable suggestion. However, files in .svn/text-base are unmodified. "svn diff" doesn't show modified files in the working directory because timestamps and file sizes match values in .svn/entries. The md5sum in .svn/entries doesn't match the working file, but apparently that isn't checked as long as timestamp and file size are consistent.

For what it's worth, here are some time stamps:

    2011-03-10 10:09:15.365555 .svn/text-base/file
    2011-03-10 11:02:49.375390 repository (commit)
    2011-03-10 11:02:51.211718 working file
    2011-03-10 11:02:51.227692 .svn/entries

I'm guessing the working file was touched ~2 seconds after the commit to update embedded keywords.

Warren Jones
Fluke Corporation
Software Engineering Support Group
Received on 2011-07-12 20:13:12 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.