aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-06-26 16:26:50 -0400
committerW. Trevor King <wking@drexel.edu>2010-06-26 16:26:50 -0400
commitdbc17b52969cd976dc20cd1a537810bd53db5745 (patch)
treeaf6bd34ce498b1f57cdd36cb28dbf7821070b35f /libbe/storage/vcs
parent7c545a2d9f8bd66ee066336356bc580d10f3554d (diff)
downloadbugseverywhere-dbc17b52969cd976dc20cd1a537810bd53db5745.tar.gz
Use _invoke_client (vs. old _u_invoke_client) for Monotone get_workspace_root.
This fixes Chris' ====================================================================== ERROR: Adding entries with the same ID should not increase the number of children. ---------------------------------------------------------------------- Traceback (most recent call last): ... CommandError: Command failed (1): mtn: misuse: workspace required but not found while executing ['mtn', 'automate', 'get_workspace_root']
Diffstat (limited to 'libbe/storage/vcs')
-rw-r--r--libbe/storage/vcs/monotone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/monotone.py b/libbe/storage/vcs/monotone.py
index 2bb5fd4..350b4f1 100644
--- a/libbe/storage/vcs/monotone.py
+++ b/libbe/storage/vcs/monotone.py
@@ -136,7 +136,7 @@ class Monotone (base.VCS):
else:
dirname = path
if self.version_cmp(8, 0) >= 0:
- status,output,error = self._u_invoke_client(
+ status,output,error = self._invoke_client(
'automate', 'get_workspace_root', cwd=dirname)
else:
mtn_dir = self._u_search_parent_directories(path, '_MTN')