diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-27 10:27:27 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-27 10:27:27 -0500 |
commit | 4203368d2a1f9cc794646754a5027e307074fbf6 (patch) | |
tree | 213af04295ed8a604a050532e393f970e494f00a /libbe/storage/vcs/darcs.py | |
parent | 8a07fe257946104c80f656617c168a340f4dae77 (diff) | |
download | bugseverywhere-4203368d2a1f9cc794646754a5027e307074fbf6.tar.gz |
Make VCS error messages and Storage test failures more descriptive
Diffstat (limited to 'libbe/storage/vcs/darcs.py')
-rw-r--r-- | libbe/storage/vcs/darcs.py | 6 |
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: |