Extended the check for the new Subversion working copy file format. 5_3_x

Tue, 29 Oct 2013 12:37:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 29 Oct 2013 12:37:42 +0100
branch
5_3_x
changeset 3052
216b1d41f58d
parent 3050
269bf1d4b3ab
child 3063
2da2fa1ce1ff

Extended the check for the new Subversion working copy file format.

Plugins/VcsPlugins/vcsPySvn/subversion.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/subversion.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/subversion.py	Sat Oct 26 17:41:59 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py	Tue Oct 29 12:37:42 2013 +0100
@@ -2318,7 +2318,9 @@
         helper.setObjects(self, project)
         self.__wcng = \
             os.path.exists(os.path.join(project.getProjectPath(), ".svn", "format")) or \
-            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "format"))
+            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "format")) or \
+            os.path.exists(os.path.join(project.getProjectPath(), ".svn", "wc.db")) or \
+            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "wc.db"))
         return helper
 
     ############################################################################
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sat Oct 26 17:41:59 2013 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Tue Oct 29 12:37:42 2013 +0100
@@ -2112,7 +2112,9 @@
         helper.setObjects(self, project)
         self.__wcng = \
             os.path.exists(os.path.join(project.getProjectPath(), ".svn", "format")) or \
-            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "format"))
+            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "format")) or \
+            os.path.exists(os.path.join(project.getProjectPath(), ".svn", "wc.db")) or \
+            os.path.exists(os.path.join(project.getProjectPath(), "_svn", "wc.db"))
         return helper
 
     ############################################################################

eric ide

mercurial