.gitattributes
author |
Arseniy Alekseyev <aalekseyev@janestreet.com> |
|
Mon, 04 Sep 2023 13:33:32 +0100 |
branch | stable |
changeset 50930 |
5dc7e1907e48 |
parent 50425 |
9fa3cda7449e
|
permissions |
-rw-r--r-- |
setup: make the error "Unable to find a working hg binary" more informative
The error message now shows the attempted hg commands and their stderr, to
make it easier to investigate why things are not working.
Here's an example output
/!\
/!\ Unable to find a working hg binary
/!\ Version cannot be extracted from the repository
/!\ Re-run the setup once a first version is built
/!\ Attempts:
/!\ attempt #0:
/!\ cmd: ['hg-missing', 'log', '-r.', '-Ttest']
/!\ exception: [Errno 2] No such file or directory: 'hg-missing': 'hg-missing'
/!\ attempt #1:
/!\ cmd: ['/usr/bin/python3', 'hg', 'log', '-r.', '-Ttest']
/!\ return code: 255
/!\ std output:
/!\ std error:
*** failed to import extension "topic": No module named 'topic'
*** failed to import extension "evolve": No module named 'evolve'
abort: accessing `dirstate-v2` repository without associated fast implementation.
(check `hg help config.format.use-dirstate-v2` for details)
/!\
/!\ Could not determine the Mercurial version
/!\ You need to build a local version first
/!\ Run `make local` and try again
/!\
50425
9fa3cda7449e
heptapod: add `.gitattributes` file to improve language detection
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
1 |
# So GitLab doesn't think we're using tons of Perl
|
9fa3cda7449e
heptapod: add `.gitattributes` file to improve language detection
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
2 |
*.t -linguist-detectable
|