[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-01 21:19:18 CEST

Alexis Huxley <ahuxley@gmx.net> writes:

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

Sure, that works. A couple of points:

 * you don't need to worry about committing object files. did you
   explicitly schedule them for addition using 'svn add'? If not,
   they won't be committed. They're just ignored, unversioned files.

 * most people tend to run 'svn update' before committing, to make
   sure they don't receive any conflicting changes from other people.
   They also tend to run 'svn status' to make sure they're committing
   the list of changes they want. :-)

---------------------------------------------------------------------
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:22:45 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.