[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-05-01 21:18:31 CEST

On Wed, May 01, 2002 at 09:13:06PM +0200, Alexis Huxley wrote:
 
> So, the correct cycle for a mod/add/del from scratch is:
>
> svn co <uri-for-whatever>
> cd <whatever>
> vi some-new-file.c
> vi some-other-new-file.c
> svn st
> svn add some-new-file.c <-- add what is unknown to working copy
> svn add some-other-new-file.c
> vi some-existing-file.c
> rm some-other-existing-file.c
> svn del some-other-existing-file.c

you can skip the rm. assuming you haven't made any changes to the
file, svn rm will get rid of it for you.

> make
> make clean <-- so I don't check in objects, etc

no need for this step. 'svn commit' will only commit things you have
explicitly added. the object files won't get checked in unless you
specifically tell it to.

> cd -
> svn commit
>
> Is that right? Thanks for all the help ...

other than those two things, yep.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
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:20:33 2002

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