[PATCH] Use default _vc.Vc constructor
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list gnome org
- Subject: [PATCH] Use default _vc.Vc constructor
- Date: Tue, 3 Mar 2009 01:45:38 +0100
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]