[meld] Remove unused old-style action methods from git



commit 6e569f15570f291d85939703f6d693c00217118c
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Mon May 27 07:26:54 2013 +1000

    Remove unused old-style action methods from git

 meld/vc/git.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/meld/vc/git.py b/meld/vc/git.py
index bd7a692..abacea0 100644
--- a/meld/vc/git.py
+++ b/meld/vc/git.py
@@ -78,21 +78,12 @@ class Vc(_vc.CachedVc):
     def commit_command(self, message):
         return [self.CMD, "commit", "-m", message]
 
-    def diff_command(self):
-        return [self.CMD, "diff", "--relative", "HEAD"]
-
-    def update_command(self):
-        return [self.CMD, "pull"]
-
     def add_command(self):
         return [self.CMD, "add"]
 
     def remove_command(self, force=0):
         return [self.CMD, "rm"]
 
-    def revert_command(self):
-        return [self.CMD, "checkout"]
-
     # Prototyping VC interface version 2
 
     def update_actions_for_paths(self, path_states, actions):


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