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

Re: Getting history of a file which was added when moving a folder

From: Jörg Eichhorn <eichhorn_at_ponton-consulting.de>
Date: 2006-10-04 16:18:17 CEST

Hello,

i can reproduce this problem with svn 1.4.0 using an new repository in
/repository/svn by doing the following in a temporary folder:

mkdir project
cd project
mkdir folder1
cd folder1
touch file1
cd ..
svn import -m "initial import" file:///repository/svn/Test
cd ..
rm -rf project
svn co file:///repository/svn/Test project
cd project
svn move folder1 folder2
cd folder2
touch file2
svn add file2
cd ..
svn ci -m "update1"
cd folder2
echo "foobar" > file2
svn ci -m "update2"

svn diff -r 3:2 file:///repository/svn/Test/folder2/file2

This results in:
svn: File not found: revision 1, path '/Test/folder1/file2'

I think svn should display that the text 'foobar' was added in revision 3
of file2.

Jörg

--On Mittwoch, 4. Oktober 2006 12:02 +0200 Jörg Eichhorn
<eichhorn@ponton-consulting.de> wrote:
> Hello,
>
> i have a the following problem with svn (version 1.3.2 - fsfs repository).
> When i do a 'svn -v log file:///repository/svn/trunk/path1/to/file'
> directly on the server i see several committed revisions (latest is 2586;
> previous is 2580).
> I try to get the differences between the last revisions 'svn diff -r
> 2586:2580 file:///repository/svn/trunk/path1/to/file'.
> This results in the error: svn: File not found: revision 2454, path
> 'file:///repository/svn/trunk/path2/file'
>
> The whole folder '/trunk/path2' was moved to '/trunk/path1/to' in rev
> 2457.
> The last revision of the older folder was 2454. The file which caused the
> problem was added in rev 2457.
>
> Any idea whats going wrong there?
>
> Thanks for help.
>
> Jörg Eichhorn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

-- 
Jörg Eichhorn
_____________________________________________________________________
 Ponton Consulting GmbH                     voice:  +49.40.69213-340
 http://www.ponton-consulting.de/           fax:    +49.40.69213-355
 Dorotheenstrasse 60
 D-22301 Hamburg                mailto:eichhorn@ponton-consulting.de
_____________________________________________________________________
 HRB 81480, AG Hamburg, Managing Director: Dr. Michael Merz
 Ponton Consulting is a Member of C1 Group (www.c1-group.com)
_____________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 4 16:19:24 2006

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.