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