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

svn 1.8 causing locks to be broken on update

From: Felipe Alvarez <felipe.alvarez_at_gmail.com>
Date: Sun, 4 Aug 2013 14:41:43 +1000

I
​'m using tortoiseSVN, and noticed that when updating the very root of the
repository, locks which I have taken under it become broken. Here is output
from cygwin.

---begin-output---
$ svn --version
svn, version 1.8.1 (r1503906)
   compiled Jul 22 2013, 19:58:17 on x86-microsoft-windows

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
  - handles 'http' scheme
  - handles 'https' scheme

Felipe_at_FELIPES ~
$ cd ~/SVN/Trunk/Lettus/lbin

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ ls
backup.cron*

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ svn st

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ svn lock backup.cron
svn: warning: W160035: Path '/Trunk/Lettus/lbin/backup.cron' is already
locked by user 'felipe' in filesystem '/u3/SVN_Repository/db'

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ svn lock --force backup.cron
'backup.cron' locked by user 'felipe'.

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ svn st
     K backup.cron

Felipe_at_FELIPES ~/SVN/Trunk/Lettus/lbin
$ cd ../..

Felipe_at_FELIPES ~/SVN/Trunk
$ svn up
Updating '.':
U Lettus\lbin\create_appsvr_links_5.4.sh
Updated to revision 59204.

Felipe_at_FELIPES ~/SVN/Trunk
$ svn st
     K Lettus\lbin\backup.cron
? SystemAdmin\rsync.sh
M K SystemAdmin\rsync_transfer.cron.FreshASPNEW
M K SystemAdmin\rsync_transfer.cron.FreshBNE

Felipe_at_FELIPES ~/SVN/Trunk
$ cd ..

Felipe_at_FELIPES ~/SVN
$ svn up
Updating '.':
B Trunk\SystemAdmin\rsync_transfer.cron.FreshASPNEW
B Trunk\SystemAdmin\rsync_transfer.cron.FreshBNE
B Trunk\Lettus\lbin\backup.cron

---end-output---​

--
felipe
Received on 2013-08-04 06:43:04 CEST

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