[PATCH] Use default _vc.Vc constructor



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

-- 
Vincent Legoll
Index: vc/_null.py
===================================================================
--- vc/_null.py	(révision 1192)
+++ vc/_null.py	(copie de travail)
@@ -27,10 +27,8 @@
 
     CMD = "true"
     NAME = "Null"
+    VC_DIR = "." # Accept any directory
 
-    def __init__(self, location):
-        self.root = location
-
     def commit_command(self, message):
         return [self.CMD,"commit","-m",message]
     def diff_command(self):


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