[PATCH] Re: should .subversion/config hint to ignore .DS_Store?
From: <cmpilato_at_collab.net>
Date: 2003-08-09 06:04:44 CEST
Jack Repenning <jrepenning@collab.net> writes:
> The config file installed into ~/.subversion (or wherever your
Here's a patch if folks want to review/commit it. I can't test it
-- * subversion/libsvn_subr/config_file.c (svn_config_ensure): Add ".DS_Store" to the string of default global ignores that gets written into a new config area. * subversion/libsvn_wc/status.c (svn_wc_get_default_ignores): Add ".DS_Store" to the list of default global ignores. Index: subversion/libsvn_wc/status.c =================================================================== --- subversion/libsvn_wc/status.c (revision 6674) +++ subversion/libsvn_wc/status.c (working copy) @@ -50,7 +50,7 @@ If no configuration value exists, we fall back to our defaults. */ svn_config_get (cfg, &val, SVN_CONFIG_SECTION_MISCELLANY, SVN_CONFIG_OPTION_GLOBAL_IGNORES, - "*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#*"); + "*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store"); *patterns = apr_array_make (pool, 16, sizeof (const char *)); /* Split the patterns on whitespace, and stuff them into *PATTERNS. */ Index: subversion/libsvn_subr/config_file.c =================================================================== --- subversion/libsvn_subr/config_file.c (revision 6674) +++ subversion/libsvn_subr/config_file.c (working copy) @@ -953,7 +953,8 @@ "# [miscellany]\n" "### Set global-ignores to a set of whitespace-delimited globs\n" "### which Subversion will ignore in its `status' output.\n" - "# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#*\n" + "# global-ignores = " + "*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store\n" "### Set log-encoding to the default encoding for log messages\n" "# log-encoding = latin1\n" "\n" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Aug 9 06:07:04 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.