You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2011/07/23 11:03:18 UTC

svn commit: r1150073 - /subversion/trunk/subversion/include/svn_config.h

Author: arfrever
Date: Sat Jul 23 09:03:17 2011
New Revision: 1150073

URL: http://svn.apache.org/viewvc?rev=1150073&view=rev
Log:
Make 'svn status' ignore __pycache__ directories by default, which are created
by Python >=3.2. *.pyc and *.pyo files are already ignored.
http://www.python.org/dev/peps/pep-3147/

* subversion/include/svn_config.h
  (SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1): Add __pycache__.

Modified:
    subversion/trunk/subversion/include/svn_config.h

Modified: subversion/trunk/subversion/include/svn_config.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_config.h?rev=1150073&r1=1150072&r2=1150073&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_config.h (original)
+++ subversion/trunk/subversion/include/svn_config.h Sat Jul 23 09:03:17 2011
@@ -146,7 +146,7 @@ typedef struct svn_config_t svn_config_t
  * but we don't want the # character to end up in the variable.
  */
 #define SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1 \
-  "*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo"
+  "*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__"
 #define SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2 \
   "*.rej *~ #*# .#* .*.swp .DS_Store"
 



RE: svn commit: r1150073 - /subversion/trunk/subversion/include/svn_config.h

Posted by Bert Huijben <be...@qqmail.nl>.

> -----Original Message-----
> From: arfrever@apache.org [mailto:arfrever@apache.org]
> Sent: zaterdag 23 juli 2011 11:03
> To: commits@subversion.apache.org
> Subject: svn commit: r1150073 -
> /subversion/trunk/subversion/include/svn_config.h
> 
> Author: arfrever
> Date: Sat Jul 23 09:03:17 2011
> New Revision: 1150073
> 
> URL: http://svn.apache.org/viewvc?rev=1150073&view=rev
> Log:
> Make 'svn status' ignore __pycache__ directories by default, which are
> created
> by Python >=3.2. *.pyc and *.pyo files are already ignored.
> http://www.python.org/dev/peps/pep-3147/
> 
> * subversion/include/svn_config.h
>   (SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1): Add __pycache__.

I'm not sure if we should change this configuration variable.

Everybody has a few extensions who he would like to add, but everybody has a different preference: that is why it is configurable.

We have a few more python specific extensions in this list so there is some history in supporting python, but why prefer python specifics over something far more users would like to add?
(I don't see .lib, .dll and .exe in this list, while they are far more common than the python extensions)

	Bert