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

Re: Fwd: uncommited file, svn rm

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-07-28 00:43:05 CEST

marc gonzalez-carnicer wrote:
> 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
> switch.
>
> 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

Yes, good idea.

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

That message can sound a bit presumptious as well. I suggest we change it to:

   Consider using '--force' or 'svn revert'

How do others feel about that?

(It would also be better if the two messages were emitted in the opposite
order, as they once were back in the early days, but that's another matter.)

- Julian

> $ 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 28 00:42:36 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.