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

Working copy corruption with svn 1.6.17 (r1128011) under Ubuntu

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Wed, 12 Sep 2012 14:02:19 +0200

A few weeks ago, I got a working copy corruption (Checksum mismatch)
with svn 1.6.17 (r1128011) under Ubuntu. I tried to reproduce it with
similar commands on a test repository, without success. I don't know
whether this is a known bug that has been fixed, but just in case,
I give the list of commands I did below (I suspect that it is related
to the "svn revert", but I'm not sure).

ioooi:~/config> popd
~/config/etc/logrotate.d ~
ioooi:...g/etc/logrotate.d> emacs apache2
ioooi:...g/etc/logrotate.d> scd
Index: apache2
===================================================================
--- apache2 (revision 54297)
+++ apache2 (working copy)
@@ -24,7 +24,7 @@
        compress
        delaycompress
        notifempty
- create 660 vinc17 www-vinc17
+ create 664 vinc17 www-vinc17
        sharedscripts
        postrotate
                /etc/init.d/apache2 reload > /dev/null
ioooi:...g/etc/logrotate.d> svn ci
Log message has been cleaned up
Sending logrotate.d/apache2
Transmitting file data .
Committed revision 54298.
ioooi:...g/etc/logrotate.d> popd
~
ioooi:~> cd config
ioooi:~/config> cd etc
ioooi:~/config/etc> cd ~/config.old/etc/awstats
ioooi:...g.old/etc/awstats> \cp /srv/GANDIOS/etc/awstats/* .
ioooi:...g.old/etc/awstats> svn add awstats-apache.conf
A awstats-apache.conf
ioooi:...g.old/etc/awstats> svn ps svn:mime-type text/plain awstats-apache.conf
property 'svn:mime-type' set on 'awstats-apache.conf'
ioooi:...g.old/etc/awstats> svn ps source ioooi:/etc/awstats/awstats-apache.conf awstats-apache.conf
property 'source' set on 'awstats-apache.conf'
ioooi:...g.old/etc/awstats> ..
ioooi:~/config.old/etc> svn ci
Log message has been cleaned up
Adding etc/awstats/awstats-apache.conf
Transmitting file data .
Committed revision 54299.
ioooi:~/config.old/etc> ll awstats
total 16
-rw------- 1 vinc17 vinc17 384 2012-08-18 14:33:22 awstats-apache.conf
-rw-r--r-- 1 vinc17 vinc17 240 2012-08-18 14:32:30 awstats.conf.local
-rw-r--r-- 1 vinc17 vinc17 5982 2012-08-18 14:32:30 awstats.www.vinc17.net.conf
ioooi:~/config.old/etc> ..
ioooi:~/config.old> svn up
At revision 54299.
ioooi:~/config.old> cd ../config.old/etc/awstats
ioooi:...g.old/etc/awstats> ll
total 16
-rw------- 1 vinc17 vinc17 384 2012-08-18 14:33:22 awstats-apache.conf
-rw-r--r-- 1 vinc17 vinc17 240 2012-08-18 14:32:30 awstats.conf.local
-rw-r--r-- 1 vinc17 vinc17 5982 2012-08-18 14:32:30 awstats.www.vinc17.net.conf
ioooi:...g.old/etc/awstats> popd
~/config.old ~/config.old/etc ~/config/etc ~/config ~
ioooi:~/config.old> cd ../config/etc
ioooi:~/config/etc> svn mkdir awstats
A awstats
ioooi:~/config/etc> svn cp ../../config.old/etc/awstats/awstats.www.vinc17.net.conf .
A awstats.www.vinc17.net.conf
ioooi:~/config/etc> svn revert awstats.www.vinc17.net.conf
Reverted 'awstats.www.vinc17.net.conf'
ioooi:~/config/etc> svn st
? awstats.www.vinc17.net.conf
A awstats
ioooi:~/config/etc> rm awstats.www.vinc17.net.conf
ioooi:~/config/etc> svn cp ../../config.old/etc/awstats/awstats.www.vinc17.net.conf awstats/
A awstats/awstats.www.vinc17.net.conf
ioooi:~/config/etc> cd ./awstats
ioooi:~/config/etc/awstats> emacs awstats.www.vinc17.net.conf
ioooi:~/config/etc/awstats> ..
ioooi:~/config/etc> svn st
A awstats
A + awstats/awstats.www.vinc17.net.conf
ioooi:~/config/etc> svn ci
Log message has been cleaned up
Adding etc/awstats
Adding etc/awstats/awstats.www.vinc17.net.conf
Transmitting file data .
Committed revision 54300.
ioooi:~/config/etc> ..
ioooi:~/config> svn up
svn: Checksum mismatch for 'etc/logrotate.d/apache2'; expected: 'c628f4befcafbd72c75667605a93cdbe', recorded: '7753b31866179f6c4576b4f9f0ea865a'
ioooi:~/config> svn up
   C etc
At revision 54300.
Summary of conflicts:
  Tree conflicts: 1
ioooi:~/config> svn up
At revision 54300.
ioooi:~/config> svn st
! C etc
> local add, incoming add upon update
! etc/logrotate.d
ioooi:~/config> svn --version
svn, version 1.6.17 (r1128011)
   compiled Dec 17 2011, 16:12:52
[...]

ioooi:~/config> svn info ~/config
Path: /srv/d_ioooi/home/vinc17/config
URL: svn+ssh://mysvn/config/host/gandi.ioooi
Repository Root: svn+ssh://mysvn
Repository UUID: 99759db8-4ec0-0310-8bf9-df86780d22d8
Revision: 54300
Node Kind: directory
Schedule: normal
Last Changed Author: vinc17/ioooi
Last Changed Rev: 54300
Last Changed Date: 2012-08-18 15:11:56 +0200 (Sat, 18 Aug 2012)

ioooi:~/config> svn info ~/config.old
Path: /srv/d_ioooi/home/vinc17/config.old
URL: svn+ssh://mysvn/config/host/old.gandi.ioooi
Repository Root: svn+ssh://mysvn
Repository UUID: 99759db8-4ec0-0310-8bf9-df86780d22d8
Revision: 54299
Node Kind: directory
Schedule: normal
Last Changed Author: vinc17/ioooi
Last Changed Rev: 54299
Last Changed Date: 2012-08-18 14:36:07 +0200 (Sat, 18 Aug 2012)

Note:
7753b31866179f6c4576b4f9f0ea865a is the final md5sum of the text-base.
c628f4befcafbd72c75667605a93cdbe is the md5sum of the text-base r54295.

At r54296, the file was modified and the svn:keywords property was added.
At r54297, the file was just modified.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2012-09-12 14:02:56 CEST

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

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