[meld] Add unimplemented VC v2 methods



commit 3119ce2c0809c864d9ffe74f54234e5b63b57a29
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat May 4 06:30:09 2013 +1000

    Add unimplemented VC v2 methods

 meld/vc/_vc.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/meld/vc/_vc.py b/meld/vc/_vc.py
index a6c5064..1011b68 100644
--- a/meld/vc/_vc.py
+++ b/meld/vc/_vc.py
@@ -137,9 +137,15 @@ class Vc(object):
     def get_commit_message_prefill(self):
         return None
 
+    def update(self, runner, files):
+        raise NotImplementedError()
+
     def push(self, runner):
         raise NotImplementedError()
 
+    def revert(self, runner, files):
+        raise NotImplementedError()
+
     def get_path_for_repo_file(self, path, commit=None):
         """Returns a file path for the repository path at commit
 


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