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

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

From: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2002-05-01 20:43:07 CEST

Hi, having successfully compiled SVN a couple of weeks ago, and now
modified all the source trees that I wish to commit to not use symlinks
;-) I now come to actually doing my first 'import'. It worked fine.

I'm not a CVS user (only RCS/SCCS with home-rolled 'releaser' scripts),
so sorry if the following questions are not SVN one, but more on the
philosophy of working with SCM tools.

In the SVN user manual it says that sources are registered with the
working copy by using 'svn add'. Fine, but do people (i) immediately
'svn add' stuff as they create it - even though 30 seconds later
they might realise the file they created was a bad idea, or (ii) 'svn
add' stuff once the stuff has been around long enough for the person to
be sure creating the file was more than just a passing fancy or (iii)
just before 'svn commit' or (iv) at some other 'mental event'? :-)

For myself, I tend to brainstorm a bit and then clean up afterwards,
making me a '(iii)' sort of person, but then I need the equivalent
of 'diff -r <pristene-tree> <current-tree>', but I can't find any
mention of this in the svn man page, or the user-manual or notes
directories. 'svn diff' appears to show the difference between the
pristene tree and the current tree *excluding* what has not yet been
'svn add'ed (I tried touching a new file and then 'svn diff' and no
differences were shown).

Does such a oh-yes-thanks-for-reminding-me-that-i-created-that-file-
but-haven't-svn-added-it-yet tool exist, or do I have to change
the way I work? Can anyone offer technical or philosophical advice,
or point me in the direction of something explaining these things?



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 1 20:44:20 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.