aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/darcs.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-27 10:29:40 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-27 10:29:40 -0500
commit65c99d658fac188e2f18f50a14d9c5d94a0b0314 (patch)
tree065e68adbb7409d3524ed7f0a748cb47c88ec376 /libbe/storage/vcs/darcs.py
parentea9101f85a70d2978a138425dc8d0699dc8eb05e (diff)
parent4203368d2a1f9cc794646754a5027e307074fbf6 (diff)
downloadbugseverywhere-65c99d658fac188e2f18f50a14d9c5d94a0b0314.tar.gz
Merged clarifications requested by Ben Finney
Diffstat (limited to 'libbe/storage/vcs/darcs.py')
-rw-r--r--libbe/storage/vcs/darcs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbe/storage/vcs/darcs.py b/libbe/storage/vcs/darcs.py
index c6892b4..7c6f069 100644
--- a/libbe/storage/vcs/darcs.py
+++ b/libbe/storage/vcs/darcs.py
@@ -53,7 +53,7 @@ class Darcs(base.VCS):
def _vcs_version(self):
status,output,error = self._u_invoke_client('--version')
- return output.rstrip('\n')
+ return output.strip()
def version_cmp(self, *args):
"""
@@ -191,8 +191,8 @@ class Darcs(base.VCS):
if path in children:
return True
return False
- # Darcs versions <= 2.3.1 lack the --patch option for 'show files'
- raise NotImplementedError
+ raise NotImplementedError(
+ 'Darcs versions <= 2.3.1 lack the --patch option for "show files"')
def _vcs_listdir(self, path, revision):
if self.version_cmp(2, 3, 1) == 1: