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

log -g on moved file results in "File not found" error

From: Marc Strapetz <marc.strapetz_at_syntevo.com>
Date: Fri, 09 May 2008 10:40:54 +0200

After moving a file in a branch and merging the branch back to trunk, a
subsequent log -g on the trunk file fails with "svn: File not found"
error. The problem can be reproduced by following script (it assumes an
empty repository and should be executed in an empty directory):

mkdir import
printf "1\n2\n3\n4\n5" > import/file.txt

svn import import svn://localhost/test/trunk -m "Initial import"
svn mkdir svn://localhost/test/branches -m "Created branches directory"
svn cp svn://localhost/test/trunk \
  svn://localhost/test/branches/b1 -m "Created branch b1"
svn co svn://localhost/test/trunk trunk
svn co svn://localhost/test/branches/b1 b1
svn move b1/file.txt b1/file.copy.txt
svn ci b1 -m "Moved file.txt to file.copy.txt"

svn up trunk
svn merge svn://localhost/test/branches/b1 trunk
svn ci trunk -m "Merged changes from b1"

# Now, following log fails:
svn log -g svn://localhost/test/trunk/file.copy.txt

--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-09 10:41:12 CEST

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