aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/arch.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/arch.py
parentea9101f85a70d2978a138425dc8d0699dc8eb05e (diff)
parent4203368d2a1f9cc794646754a5027e307074fbf6 (diff)
downloadbugseverywhere-65c99d658fac188e2f18f50a14d9c5d94a0b0314.tar.gz
Merged clarifications requested by Ben Finney
Diffstat (limited to 'libbe/storage/vcs/arch.py')
-rw-r--r--libbe/storage/vcs/arch.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/libbe/storage/vcs/arch.py b/libbe/storage/vcs/arch.py
index 74ba371..bfccf59 100644
--- a/libbe/storage/vcs/arch.py
+++ b/libbe/storage/vcs/arch.py
@@ -72,7 +72,8 @@ class Arch(base.VCS):
def _vcs_version(self):
status,output,error = self._u_invoke_client('--version')
- return output
+ version = '\n'.join(output.splitlines()[:2])
+ return version
def _vcs_detect(self, path):
"""Detect whether a directory is revision-controlled using Arch"""
@@ -307,7 +308,8 @@ class Arch(base.VCS):
return base.VCS._vcs_get_file_contents(self, relpath)
def _vcs_path(self, id, revision):
- raise NotImplementedError
+ raise NotImplementedError(
+ 'Too little Arch understanding at the moment...')
def _vcs_commit(self, commitfile, allow_empty=False):
if allow_empty == False:
@@ -356,7 +358,8 @@ class Arch(base.VCS):
return '%s--%s' % (self._archive_project_name(), log)
def _vcs_changed(self, revision):
- raise NotImplementedError
+ raise NotImplementedError(
+ 'Too little Arch understanding at the moment...')
if libbe.TESTING == True: