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

how to identify newly-created files that haven't been "add"ed?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Sat, 21 Feb 2009 13:36:02 -0500 (EST)

one of the most common errors among a number of my colleagues is to
make a bunch of changes to their working copy, create a new header
file, forget to "svn add" that header file, check in what they *think*
is a complete commit, then have the build choke when someone else does
an update and gets that commit without the critical header file.
naturally, the original committer's working copy still builds fine
because they have the header file in their WC.

  what's the easiest way to flag such files? i realize i can do a
recursive status and look for "^?", but that's going to pick up a lot
of ignored files as well. is there an actual svn command that does
that i can tell them about to run before every commit? thanks.


Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.
http://crashcourse.ca                          Waterloo, Ontario, CANADA
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-21 19:37:43 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.