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

Re: moron at the helm - svn add mistake

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2006-04-02 05:38:35 CEST

Craig White wrote:
> When I originally set things up, I told it to svn:ignore
> 'environment.rb' config since I was doing different things with the file
> at various locations.
>
> I since remedied that and from one of my commits from home, I 'added'
> the file and it uploaded as part of the commit.
>
> Then like a fool, I added it at my 'production' server not recognizing
> the issue and I can't commit my changes saying that the file already
> exists. So on the 'production' server, I moved the file but the 'add'
> label is still there so even an 'svn update' fails saying that object is
> already scheduled for addition. Thus I can neither commit my changes nor
> update from the repository and I know I don't want to svn delete.
>
> How do I reconcile mistake of doing 'svn add' the same file from two
> checkouts?
If you s/reconcile/revert/ you'll have the answer.

Just do `svn revert environment.rb` and you should be fine.

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 2 05:37:57 2006

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.