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

Best way to remove accidental additions that aren't committed?

From: Michael Brownlow <brownlow_at_ctelcom.net>
Date: Wed, 1 Jul 2009 14:55:04 -0700 (PDT)

What is the best way for unadding a file accidentally added and not yet committed?

svn add file
svn delete --force --keep-local file

Is that the best way?

Interestingly, "svn delete file" claims that there are local modifications to the file when actually there are none. It also suggests, perhaps counter-intuitively, that "svn delete --force file" will solve the problem. It does remove the uncommitted addition but it also deletes the local file. Probably not what a user will expect in that situation.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367198

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-02 00:01:02 CEST

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.