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

svn commit doesn't show unknown files.

From: Mark E. Hamilton <mhamilt_at_sandia.gov>
Date: Thu, 22 May 2008 15:56:36 -0600

In discussing our upcoming switch to subversion with some of our
developers, I was asked why 'svn commit' doesn't show unknown files
(those that appear with a '?' in 'svn status') in the svn-commit.tmp
file brought up in the editor. I thought I would raise the question here.

The rationale for having it do this is that it's the last point at which
the developer can see what is being committed, and decide whether of not
it is correct. (In fact, that would seem to be the reason for displaying
the files that are being committed.) Since it's not uncommon for
developers to forget to 'svn add' something, it would seem useful to
display both the files that would be committed and the files that would
not be committed, since the latter might include some forgotten files.

Also, since all lines below the magic ignore line don't affect the
commit, putting unknown files there wouldn't break anything.

Files explicitly ignored with svn:ignore would not need to be displayed.

-- 
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-22 23:57:03 CEST

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.