[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:13:06 CEST

Nathan wrote:

> When you invoke 'svn st' it will show all the files that the client does
> not know about, preceeded with a question mark, except those being
> ignored, of course.

Ah ... super thanks!

Ben wrote:

> That's true. 'svn diff' shows local modifications to your working
> copy. A scheduled addition is a type of local modification. That's
> why it's probably easier to just 'svn add' files right when you create
> them -- you'll see them in the diffs. You can always un-schedule the
> addition later if you want.

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
make clean <-- so I don't check in objects, etc
cd -
svn commit

Is that right? Thanks for all the help ...



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:14:29 2002

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.