uncommited file, svn rm
C. Michael Pilato
cmpilato at red-bean.com
Thu Jul 6 09:04:15 CDT 2006
I think your suggestion (which has merit) is better aimed at the Subversion
project itself <dev at subversion.tigris.org>.
marc gonzalez-carnicer wrote:
> hi all,
>
> a suggestion, i guess fits into this list
>
> 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
>
> follows output for svn 1.3.0
>
> $ ls f
> 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'
> $
>
> _______________________________________________
> svnbook-dev mailing list
> svnbook-dev at red-bean.com
> http://www.red-bean.com/mailman/listinfo/svnbook-dev
--
C. Michael Pilato <cmpilato at red-bean.com>
"The Christian ideal has not been tried and found wanting. It has
been found difficult; and left untried." -- G. K. Chesterton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20060706/cca65121/attachment-0001.sig>
More information about the svnbook-dev
mailing list