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

Add svn-*.tmp to global-ignores?

From: <pediddle_at_pediddle.net>
Date: 2003-02-09 22:55:25 CET

I couldn't find if this has ever been discussed before. Pending the
discussion on saving commit messages' .tmp files to $TEMP or some other
location than the working copy, it'd be nice if the .tmp files wouldn't
show up as unversioned in "svn status" after getting dumped after a failed
commit. Here is a patch to add "svn-*.tmp" to the global-ignores list.

When a commit fails, svn spits out a message saying to what file the log
message was saved. One possible disadvantage to this patch would be that
seeing the "?" line in "svn status" would be an additional reminder that
the commit failed and where to find the file. So what do you think?

----- Log Message: -----

Add "svn-*.tmp" to the global-ignores list. This prevents files such as
"svn-commit.?????.?????.tmp" from showing up as unversioned files after
being left behind by a failed commit.

* libsvn_subr/config_file.c (svn_config_ensure)
* libsvn_wc/status.c (svn_wc_get_default_ignores):
  Add "svn-*.tmp" to the default/global ignores lists.

-- 
Peter Davis <pediddle@pediddle.net>
Furthermore, I believe bacon prevents hair loss!
(By the way, this is the same Peter Davis who's email used to be
peter@pdavis.cx.  That email still works, but I'm transitioning.)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Feb 10 23:22:10 2003

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.