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
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.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.