Commits

Ali Gholami Rudi  committed 8acccb9

svn directory in windows is _svn

Suggested by Detlev Offenbach.

  • Participants
  • Parent commits 4873be7

Comments (0)

Files changed (2)

File rope/base/default_config.py

     # Specify which files and folders to ignore in the project.
     # Changes to ignored resources are not added to the history and
     # VCSs.  Also they are not shown in "Find File" dialog.
-    prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject', '.svn', '.hg']
+    prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject',
+                                  '.hg', '.svn', '_svn']
 
     # Custom source folders:  By default rope searches the project
     # for finding source folders (folders that should be searched

File rope/base/fscommands.py

 
 
 def create_fscommands(root):
-    if 'pysvn' in globals() and '.svn' in os.listdir(root):
+    if 'pysvn' in globals() and '_svn' in os.listdir(root):
         return SubversionCommands()
     if 'mercurial' in globals() and '.hg' in os.listdir(root):
         return MercurialCommands(root)