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

[PATCH] incoming copy of locally modified file(under repo_root) is not receiving the local modification

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Fri, 04 Dec 2009 21:54:44 +0530

Hi All,

I observed the following bug when I was working with the file under repo
root.

$svnadmin create repo
$svn co file://`pwd`/repo wc
$cd wc
$echo "I am test.c" >test.c
$svn add test.c
$svn ci -m "log"
$svn mv test.c test2.c
$svn ci -m "refactor"
$cd ..
$svn co -r1 file://`pwd`/repo wc2
$cd wc2
$echo "modified" >>test.c

$svn up

The above svn update is not adding the 'modified' change to test2.c.

Everything works fine if the files are *not* directly under repo root.

Attached patch fixes it.

I ran test against ra_local, *no* failure with this patch. Hope this fix
is independent of ra layer and hence sending it without testing against
each layer.

If there are no objections will commit it by tomorrow.

With regards
Kamesh Jayachandran

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2427104

Please start new threads on the <dev_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <dev-subscribe_at_subversion.apache.org>.

Received on 2009-12-04 17:25:28 CET

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.