You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by pe...@pediddle.net on 2003/02/09 21:55:25 UTC
Add svn-*.tmp to global-ignores?
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 <pe...@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.)
Re: Add svn-*.tmp to global-ignores?
Posted by cm...@collab.net.
pediddle@pediddle.net writes:
> 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?
Dislike it. If people want to add this to their global ignores list,
that's fine, but I'm not fond of hard-coding the addition.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org