From dbc17b52969cd976dc20cd1a537810bd53db5745 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 16:26:50 -0400 Subject: 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'] --- libbe/storage/vcs/monotone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe') 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') -- cgit