ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / hglib / hgpath.patch
blob2141aa32a1391675b4f5a3533db01cb862d11555
1 diff -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
8 -HGPATH = 'hg'
9 +HGPATH = '@hg@'
11 def open(path=None, encoding=None, configs=None):
12 '''starts a cmdserver for the given path (or for a repository found
13 diff -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()
24 def tearDown(self):