[meld] Cleanup Codeville plugin code:
- From: Vincent Legoll <vincele src gnome org>
- To: svn-commits-list gnome org
- Subject: [meld] Cleanup Codeville plugin code:
- Date: Wed, 22 Apr 2009 14:49:11 -0400 (EDT)
commit 408827fe5ead2c6554df47e9519279cc1dd22b3e
Author: Vincent Legoll <vincent legoll gmail com>
Date: Tue Apr 21 23:30:10 2009 +0200
Cleanup Codeville plugin code:
- whitespace
- remove PATCH_STRIP_NUM since parent class already define it to the
same value
---
vc/cdv.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/vc/cdv.py b/vc/cdv.py
index 1c1b956..76cce31 100644
--- a/vc/cdv.py
+++ b/vc/cdv.py
@@ -31,13 +31,12 @@ class Vc(svn.Vc):
CMD = "cdv"
NAME = "Codeville"
VC_DIR = ".cdv"
- PATCH_STRIP_NUM = 0
PATCH_INDEX_RE = "^[+]{3} (.+)$"
state_map = {"M": _vc.STATE_MODIFIED,}
def get_working_directory(self, workdir):
return self.root
-
+
def _get_matches(self, directory):
entries = misc.cmdout([self.CMD, "status"], cwd=directory)[0]
for line in entries.split("\n")[1:-1]:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]