D9398: requirements: move loading to hg-core and add parsing

2020-11-25 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY No functional change, checking comes later. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9398 AFFECTED FILE

D9397: rhg: add a `debugrequirements` subcommand

2020-11-25 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY For now it only prints the contents of `.hg/requires` as-is, without parsing. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.merc

D9400: rhg: check that .hg/requires is ASCII

2020-11-25 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9400 AFFECTED FILES rust/hg-core/src/requirements.rs tests/test-rhg.t CHANGE

D9399: rhg: exit with relevant code for unsupported requirements

2020-11-25 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9399 AFFECTED FILES rust/hg-core/src/requirements.rs rust/rhg/src/commands/cat

D9374: bisect: add a `--rev` flag

2020-11-23 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the same as the positional argument, and can be passed more than once. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mer

D9372: bisect: refactor to work on a list of revspecs

2020-11-23 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will allow adding a `--rev` flag that can be passed more than once. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial

D9371: bisect: use tuple literal instead of split on string literal

2020-11-23 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9371 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git a/mercuria

D9373: bisect: add `-G` to an `hg log` command in a test

2020-11-23 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This helps readers see what shape of DAG to expect REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9373 AFFECT

D9370: hgignore: add VS Code config

2020-11-23 Thread SimonSapin (Simon Sapin)
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9370 AFFECTED FILES .hgignore CHANGE DETAILS diff --git a/.hgignore b/.hgignor