at 22.05-pre 796 B view raw
1diff -r 2d0ec6097d78 hglib/__init__.py 2--- a/hglib/__init__.py Mon Apr 30 15:43:29 2018 +0900 3+++ b/hglib/__init__.py Tue Mar 19 23:30:01 2019 +0100 4@@ -1,7 +1,7 @@ 5 import subprocess 6 from hglib import client, util, error 7 8-HGPATH = 'hg' 9+HGPATH = '@hg@' 10 11 def open(path=None, encoding=None, configs=None): 12 '''starts a cmdserver for the given path (or for a repository found 13diff -r 2d0ec6097d78 tests/common.py 14--- a/tests/common.py Mon Apr 30 15:43:29 2018 +0900 15+++ b/tests/common.py Tue Mar 19 23:30:01 2019 +0100 16@@ -26,7 +26,7 @@ 17 os.mkdir(self._testtmp) 18 os.chdir(self._testtmp) 19 # until we can run norepo commands in the cmdserver 20- os.system('hg init') 21+ os.system('@hg@ init') 22 self.client = hglib.open() 23 24 def tearDown(self):