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

Fwd: uncommited file, svn rm

From: marc gonzalez-carnicer <carnicer_at_gmail.com>
Date: 2006-07-07 12:49:26 CEST

hi, a small suggestion that may be useful for
new users :

if a 'svn rm' for an scheduled for addition
file is attempted (that is, not yet commited),
the user is suggested to use the --force

i'd say it would be better to (also?) suggest the
not-so-experienced user to use svn revert, since
that may fit better what he wants to accomplish

follows output for svn 1.3.0

$ ls f
$ svn add f
A f
$ svn rm f
svn: Use --force to override this restriction
svn: 'f' has local modifications
$ svn revert f
Reverted 'f'

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 7 14:52:05 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.