[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: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2002-05-01 21:26:35 CEST

> > 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.

Yes, but I can imagine a scenario where you *thought*
some-other-existing-file.c was not needed any more but actually it was,
which not removing it immediately will not reveal to you. i.e. 'make'
doesn't know you've typed 'svn del' ;-)

> > 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.

Yes, in this case that's now clear to me.

Ok, I'll go and play for a bit more now, thanks all.

Alexis

---------------------------------------------------------------------
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:27:56 2002

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