[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 12:21:25 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.
> Sorry, there's not much I can do about it.

I have forwarded the complaint about svn cat to the SVN mailing list.

Renaming a folder (containing files) in the repository still seems to create
all sorts of problems.

If I relocate my original Fred WC to the new repository location, I get all
sorts of trouble, so I have given up on that route.

If I checkout a fresh WC and try to update the folder to rev 2 I get the
cryptic message 'Cannot replace a directory from within'. If I try to update
the individual file (test.c) to rev 2, it claims to have worked, but has
actually deleted the file in the WC.

Update folder to HEAD is OK though.

Because this renaming is potentially destructive, is it worth adding a
warning dialog to the folder rename (in explorer and repo-browser) until SVN
dev sorts out the remaining problems?

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 13:25:05 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.