meld r1021 - trunk/vc



Author: stevek
Date: Thu Jul 10 07:04:01 2008
New Revision: 1021
URL: http://svn.gnome.org/viewvc/meld?rev=1021&view=rev

Log:
Some plugins missing self.root

Modified:
   trunk/vc/_null.py
   trunk/vc/_vc.py
   trunk/vc/cvs.py
   trunk/vc/svn.py

Modified: trunk/vc/_null.py
==============================================================================
--- trunk/vc/_null.py	(original)
+++ trunk/vc/_null.py	Thu Jul 10 07:04:01 2008
@@ -30,7 +30,7 @@
     NAME = "Null"
 
     def __init__(self, location):
-        pass
+        self.root = location
 
     def commit_command(self, message):
         return [self.CMD,"commit","-m",message]

Modified: trunk/vc/_vc.py
==============================================================================
--- trunk/vc/_vc.py	(original)
+++ trunk/vc/_vc.py	Thu Jul 10 07:04:01 2008
@@ -70,9 +70,6 @@
 
     PATCH_STRIP_NUM = 0
 
-    def __init__(self, location):
-        pass
-
     def commit_command(self, message):
         raise NotImplementedError()
     def diff_command(self):

Modified: trunk/vc/cvs.py
==============================================================================
--- trunk/vc/cvs.py	(original)
+++ trunk/vc/cvs.py	Thu Jul 10 07:04:01 2008
@@ -36,6 +36,7 @@
     def __init__(self, location):
         if not os.path.exists("%s/CVS"% location):
             raise ValueError
+        self.root = location
 
     def commit_command(self, message):
         return [self.CMD,"commit","-m",message]

Modified: trunk/vc/svn.py
==============================================================================
--- trunk/vc/svn.py	(original)
+++ trunk/vc/svn.py	Thu Jul 10 07:04:01 2008
@@ -35,6 +35,7 @@
     def __init__(self, location):
         if not os.path.exists("%s/.svn"%location):
             raise ValueError()
+        self.root = location
 
     def commit_command(self, message):
         return [self.CMD,"commit","-m",message]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]