aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/darcs.py
diff options
context:
space:
mode:
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: