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

Re: how to tell what I need to 'svn add' ?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-05-01 21:17:48 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Therefore, it doesn't matter when you schedule the addition. You can
> do it at any of the times you suggest. If you change your mind, you
> can *un*-schedule the addition by doing either 'svn revert foo.c' or
> 'svn rm foo.c'.

If foo.c is scheduled for addition (i.e. after 'svn add foo.c') then
'svn revert foo.c' will undo the 'svn add' and leave foo.c as an
unversioned file.

If you try to use 'svn rm foo.c' to undo the add it will fail. You
need to use 'svn rm --force foo.c' which will undo the add and also
delete foo.c from the filesystem.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 1 21:19:01 2002

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