aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/hg.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/hg.py')
-rw-r--r--libbe/hg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/hg.py b/libbe/hg.py
index 7cd4c2f..40739b6 100644
--- a/libbe/hg.py
+++ b/libbe/hg.py
@@ -45,10 +45,10 @@ class Hg(vcs.VCS):
return True
return False
def _vcs_root(self, path):
- status,output,error = self._u_invoke_client("root", directory=path)
+ status,output,error = self._u_invoke_client("root", cwd=path)
return output.rstrip('\n')
def _vcs_init(self, path):
- self._u_invoke_client("init", directory=path)
+ self._u_invoke_client("init", cwd=path)
def _vcs_get_user_id(self):
status,output,error = self._u_invoke_client("showconfig","ui.username")
return output.rstrip('\n')