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

Re: File marked as "?" but when I add it says file is already under version control

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-26 17:40:56 CEST

On Mon, 2004-07-26 at 10:18, Alexander Lamb wrote:

> Then I decided to change the name of a file (a directory actually)
> which was called
> TBSwingTest.xcode
> into
> TBClient.xcode
> I did this in the terminal (without using svn command, probably my
> first error)

Yes, this is bad. You should have used 'svn mv', not 'mv'.

>From subversion's point of view, "TBClient.xcode" is now an unknown,
unversioned file, while "TBSwingTest.xcode" is still under version
control, but simply missing.

> Then I did a svn delete TBSwingTest.xcode
> It was accepted
> I commit

So now you've officially deleted "TBSwingTest.xcode". It no longer
exists in the repository or working copy.

> Ok
> Then I thought (too much like CVS I suppose) I had to do
> svn add TBClient.xcode because it appears as "?" when I do a status.

Absolutely, that's what you have to do. You're adding a new file to
version control. Subversion doesn't know about the rename you did.

> But no way, it tells me TBClient.xcode is already une revision control.
>

I don't believe you. I think you're accidentally leaving something out
of your story. :-)

Instead of describing what you think happened, show us an actual
transcript that demonstrates the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 26 17:43:24 2004

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.