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

Problem with cat on a moved file

From: Ingo Adler <dev_at_synacon.ch>
Date: 2005-02-28 21:59:08 CET

Hi,

I have some troubles with remotely moved files/directories. The troubles
show in different tools (TSVN and subclipse) but the reason is subversion.
I can't use svn cat on a older version of a moved file.

------------------------

S:\projects\project1>tree /f
Auflistung der Ordnerpfade für Volume Lokaler Datenträger
Volumenummer: 00000445 28BC:0E82
S:.
├───dir1
│ └───subdir1
│ file1.txt

└───dir2

S:\projects\project1>svn status -v
1 1 iar .
1 1 iar dir1
1 1 iar dir1\subdir1
2 2 iar dir1\subdir1\file1.txt
3 3 iar dir2

S:\projects\project1>svn log dir1\subdir1\file1.txt
------------------------------------------------------------------------
r2 | iar | 2005-02-28 21:41:41 +0100 (Mo, 28 Feb 2005) | 1 line

2nd
------------------------------------------------------------------------
r1 | iar | 2005-02-28 21:39:49 +0100 (Mo, 28 Feb 2005) | 1 line

initial
------------------------------------------------------------------------

S:\projects\project1>svn cat -r1
file:///s:/svnroot/repo/project1/dir1/subdir1/file1.txt
1
S:\projects\project1>svn cat -r2
file:///s:/svnroot/repo/project1/dir1/subdir1/file1.txt
12

S:\projects\project1>svn mv
file:///s:/svnroot/repo/project1/dir1/subdir1
file:///s:/svnroot/repo/project1/dir2/subdir1 -m "remotely moved"

Committed revision 4.

S:\projects\project1>svn update
D dir1\subdir1
A dir2\subdir1
A dir2\subdir1\file1.txt
Updated to revision 4.

S:\projects\project1>svn status -v
4 4 iar .
4 4 iar dir1
4 4 iar dir2
4 4 iar dir2\subdir1
4 2 iar dir2\subdir1\file1.txt

S:\projects\project1>svn cat -r1
file:///s:/svnroot/repo/project1/dir1/subdir1/file1.txt
1
S:\projects\project1>svn cat -r1
file:///s:/svnroot/repo/project1/dir2/subdir1/file1.txt
svn: File not found: revision 1, path '/project1/dir2/subdir1/file1.txt'

S:\projects\project1>svn cat -r2
file:///s:/svnroot/repo/project1/dir2/subdir1/file1.txt
svn: File not found: revision 2, path '/project1/dir2/subdir1/file1.txt'

S:\projects\project1>svn cat -r4
file:///s:/svnroot/repo/project1/dir2/subdir1/file1.txt
12
-------------------

The problems are the last two "File not found".

That's why I can't do a diff remotely with TSVN and can't check out a
project with subclipse.

A bug or a feature?

Ingo.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 22:01:41 2005

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.