meld r1225 - trunk/vc



Author: vincele
Date: Sat Mar  7 22:11:58 2009
New Revision: 1225
URL: http://svn.gnome.org/viewvc/meld?rev=1225&view=rev

Log:
Use default _vc.Vc constructor

Because it should do the right thing, if we tell it to accept any directory.


Modified:
   trunk/vc/_null.py

Modified: trunk/vc/_null.py
==============================================================================
--- trunk/vc/_null.py	(original)
+++ trunk/vc/_null.py	Sat Mar  7 22:11:58 2009
@@ -27,9 +27,7 @@
 
     CMD = "true"
     NAME = "Null"
-
-    def __init__(self, location):
-        self.root = location
+    VC_DIR = "." # Accept any directory
 
     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]