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

renaming a file within a renamed directory

From: Gerrit Kruitbosch <gkruitbosch_at_edgeproducts.com>
Date: 2005-03-17 23:13:04 CET

First of all, I have used Clearcase for the last 4 years and just
recently changed jobs and started using Subversion. I LOVE IT!
However, I just tried to rename a file in a directory I just renamed. I
get the following error message, "svn: Cannot copy or move 'myfile.txt':
it's not in the repository yet; try committing first" The file is
indeed under svn version control and shows up as such in explorer
(tortoiseSVN) Is this a bug or is there a good reason that it is not
allowed? I tried it with tortoiseSVN and with command line SVN. I am
running WinXP SP 2.
 
One other question, Is there a utility or such that will delete all
files in a subtree that are not under subversion control? One obvious
solution would be to do a commit and then delete all, then checkout.
However, I would like to do it without doing a commit first.
 
Thanks in advance.

 

Gerrit
Received on Mon Mar 21 15:27:49 2005

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