aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/storage/vcs')
-rw-r--r--libbe/storage/vcs/arch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/storage/vcs/arch.py b/libbe/storage/vcs/arch.py
index b7f4d36..f9b01fd 100644
--- a/libbe/storage/vcs/arch.py
+++ b/libbe/storage/vcs/arch.py
@@ -303,7 +303,8 @@ class Arch(base.VCS):
status,output,error = \
self._invoke_client(
'file-find', '--unescaped', path, revision)
- relpath = output.rstrip('\n')
+ relpath = output.rstrip('\n').splitlines()[-1]
+ print >> sys.stderr, 'getting', relpath
return base.VCS._vcs_get_file_contents(self, relpath)
def _vcs_path(self, id, revision):