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

Re: renaming a file within a renamed directory

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-03-21 15:31:28 CET

"Gerrit Kruitbosch" <gkruitbosch@edgeproducts.com> wrote on 03/17/2005
05:13:04 PM:

> 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.

After you rename the directory, you have to commit that change before you
can do any more rename operations on that directory or its contents. Once
you have committed the first change, then you can rename the files.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 21 15:54:47 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.