Mercurial > hgrepos > Python2 > PyMuPDF
changeset 26:a78c22e89a53
Use long Mercurial options mostly
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 19 Sep 2025 18:52:43 +0200 |
| parents | 575f70dbc259 |
| children | 28f7eb8e96ac |
| files | setup.py |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Fri Sep 19 18:20:23 2025 +0200 +++ b/setup.py Fri Sep 19 18:52:43 2025 +0200 @@ -374,7 +374,7 @@ sha, comment, diff, branch = '', '', '', '' if os.path.isdir(os.path.join(directory, '.hg')): cp = subprocess.run( - f'hg -R {directory} id -i', + f'hg -R {directory} id --id', capture_output=1, shell=1, text=1, @@ -390,7 +390,7 @@ if cp.returncode == 0: diff = cp.stdout cp = subprocess.run( - f'hg -R {directory} log -r. --template "{{branch}}"', + f'hg -R {directory} log --rev . --template "{{branch}}"', capture_output=1, shell=1, text=1, @@ -398,7 +398,7 @@ if cp.returncode == 0: branch = cp.stdout.strip() fp = subprocess.run( - f'hg -R {directory} log -r. --template "{{desc|firstline}}"', + f'hg -R {directory} log --rev . --template "{{desc|firstline}}"', capture_output=1, shell=1, text=1,
