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

[TSVN] Re: Rename in repository problem

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-08-27 14:28:07 CEST

"Stefan Küng" wrote
> Simon Large wrote:
>
> > Using TSVN 1.1.0 RC1
> >
> > Create a local repository
> > Create a repo directory called 'Fred' (Rev 1).
> > Import some files into the repository (Rev 2).
> > Edit one of the files (Test.c) and commit (Rev 3).
> > In repo browser, rename 'Fred' to 'Bert' (Rev 4).
> > In repo browser, show log for Test.c.
> > In repo browser, highlight revisions 4 and 2 and try to compare
revisions.
> > Error message: 'File not found: revision 2, path '/Bert/test.c'.
> >
> > However, Unified diff on the same 2 revs works OK.
>
> Seems that an
> 'svn cat /Bert/test.c -r2'
> doesn't really work.

I have been doing some more tests and now I am really confused.
Create a local repository, import files and edit test.c as above (rev 3).
Rename test.c to newtest.c and commit (rev 4).
Edit newtest.c and commit (rev 5).
>From my WC, show log for newtest.c and compare revisions 2 and 4.
This works OK.
>From repo-browser, show log for newtest.c and compare revisions 2 and 4.
This fails.
Error message: File not found: revision 2, path '/Harry/newtest.c'

In both instances I am comparing 2 old revs from the repository, so why does
one work and the other fail?

Now, going back to my previous test with a renamed folder, I try the same
thing. Comparing the 2 revs from explorer works correctly, although I am
unable to update my WC to the older rev. I will go back to SVN with this
because they are saying that getting old revisions through a name change is
too difficult. Clearly it is possible to do it because they are generating
the unified diff file.

Simon.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 27 15:35:14 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.