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

re: svn cat broken by folder rename in repository

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-08-27 15:43:51 CEST

> What version of TSVN are you using ? If this version of TSVN is using
> Subversion 1.1, then it will follow renames back in time. 1.1 has the
> necessary code to do so.

That's what I had hoped for when I migrated to 1.1.0.
I am using TSVN 1.1.0 RC1, built against SVN 1.1.0 RC2.

I created a repository and did some commits in TSVN as shown below:
Create a local repository
Create a repo directory called 'Fred' (rev 1).
Import test.c into repository/Fred (rev 2).
Checkout a working copy.
Edit test.c and commit (rev 3).
Rename test.c to newtest.c and commit (rev 4).
Edit newtest.c and commit (rev 5).

Stefan Küng has supplied the translation to svn cat commands which show the
problem :
svn cat path/to/wc/test.c -r5
svn cat path/to/wc/test.c -r3
    works like a charm.

svn cat url/to/test.c -r5
    works too (no surprise there)
svn cat url/to/test.c -r3
    fails:
svn: File not found: revision 3, path '.....'

Clearly it is possible to get the data from the repository, but one of the
access methods is broken. Looks like a bug to me.

Simon.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 15:43:26 2004

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