[meld] Make the null VC plugin claim to handle no actions



commit 641b2d02c2e90352f25a334021d439d9ab4f25ae
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue May 21 07:52:11 2013 +1000

    Make the null VC plugin claim to handle no actions

 meld/vc/_null.py |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/meld/vc/_null.py b/meld/vc/_null.py
index 5e36279..8ef801d 100644
--- a/meld/vc/_null.py
+++ b/meld/vc/_null.py
@@ -33,27 +33,6 @@ class Vc(_vc.Vc):
     # Accept any directory
     VC_DIR = "."
 
-    def commit_command(self, message):
-        return [self.CMD, "commit", "-m", message]
-
-    def diff_command(self):
-        return [self.CMD, "diff", "-u"]
-
-    def update_command(self):
-        return [self.CMD, "update"]
-
-    def add_command(self):
-        return [self.CMD, "add"]
-
-    def remove_command(self, force=0):
-        return [self.CMD, "rm", "-f"]
-
-    def revert_command(self):
-        return [self.CMD, "update", "-C"]
-
-    def resolved_command(self):
-        return [self.CMD, "resolved"]
-
     def lookup_files(self, dirs, files, directory=None):
         "files is array of (name, path). assume all files in same dir"
         d = [_vc.Dir(x[1], x[0], _vc.STATE_NONE) for x in dirs]


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