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

svn commit of locked/unmodified files

From: Simon Butler <smcbutler_at_gmail.com>
Date: Sat, 31 May 2014 20:27:30 -0700

hi

when i lock multiple files in a directory modify only one and then commit
the directory ,the last changed rev on all files is set to the commit
revision. however, when i query the server the repository last changed rev
is unchanged.

why does the svn workspace get a different answer for "last changed rev"
than the svn server?

here's a quick shell script showing the problem.

thanks in advance for any insight on this.

#!/bin/bash
cd /tmp
mkdir svntest
cd !$
svnadmin create repo
svn mkdir file:///tmp/svntest/repo/foo -m test
svn co file:///tmp/svntest/repo/foo foo
cd foo
touch a b
svn add a b
svn commit -m bar
svn lock a b
echo a > a
svn commit -m barf
svn st -v
svn info b
svn info file:///tmp/svntest/repo/foo/b
cd ..
svn co file:///tmp/svntest/repo/foo too
svn st -v foo too
Received on 2014-06-01 05:28:06 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.