D9369: share: show warning if share is outdated while source supports share-safe

2020-11-23 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Previous patches in the series and some which are already committed implements share safe functionality where config and requirements will be shared too. Rol

Heptapod 0.17 released

2020-11-23 Thread Georges Racinet
Dear Mercurial users and developers, we're happy to announce the release of Heptapod 0.17.0 last Friday [1]. The flagship instances, https://foss.heptapod.net and https://heptapod.host were upgraded on the same day. This version drops support for Python 2 on the server side, is based on GitLab 13

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

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

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

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

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

D9375: ui: ensure `getpass()` returns bytes

2020-11-23 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Previously, this could return either bytes or str. I'm not sure which direction we should go in, but since the input is bytes, I guess bytes makes sense as

Mercurial options

2020-11-23 Thread Craig Ozancin
Hi, I have over the last couple years done a bit of bash scripting about mercurial. So far I have only come across two annoyances. Neither are show stoppers. The first is just a minor issue. hg-evolve always reports new obsolete changesets. This is true even when the -q / --quiet option is given.

Re: Heptapod 0.17 released

2020-11-23 Thread Alessandro Dentella
On Mon, Nov 23, 2020 at 03:31:30PM +0100, Georges Racinet wrote: > Dear Mercurial users and developers, > > we're happy to announce the release of Heptapod 0.17.0 last Friday [1]. > The flagship instances, https://foss.heptapod.net and > https://heptapod.host were upgraded on the same day. > >

mercurial-devel | Pipeline #13200 has failed for branch/default | 49625a41

2020-11-23 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: 49625a41 ( https://foss.heptapod.net/octobus/mercurial-devel/-/commit/49625a41

Re: Heptapod 0.17 released

2020-11-23 Thread Augie Fackler
> On Nov 23, 2020, at 09:31, Georges Racinet > wrote: > > - Mercurial native mode (very experimental, don't activate at all on > production servers). > > It's what we've always wanted to do. We hope it can be made the > default mode by the end of the year. That sounds like a huge milesto

Re: Heptapod 0.17 released

2020-11-23 Thread Georges Racinet
On 11/23/20 8:16 PM, Augie Fackler wrote: > > >> On Nov 23, 2020, at 09:31, Georges Racinet >> mailto:georges.raci...@octobus.net>> wrote: >> >> - Mercurial native mode (very experimental, don't activate at all on >> production servers). >> >>     It's what we've always wanted to do. We hope it can

D9377: tests: make test-worker.t pass on py2

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I broke the py2 version in https://phab.mercurial-scm.org/D9287 because the `WorkerError.__bytes__()` (or `.__str__()`?) output was different in py2 compare

D9376: tests: update test-https.t's #no-defaultcacertsloaded block with new exit code

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I'm pretty sure I broke this in https://phab.mercurial-scm.org/D9309. It was reported by the Heptapod CI. REPOSITORY rHG Mercurial BRANCH default REV

Integration tests: mercurial-testhelpers

2020-11-23 Thread Georges Racinet
Hi, I've updated recently the Integration Tests Plan [1] with what has been said during the 5.6 sprint (from the pad) and more ideas and realizations. ## mercurial-testhelpers Then, I've extracted my helpers as the `mercurial-testhelpers` separate package [2]. The main driving reason is that eve

D9382: errors: drop trailing "!" for some errors about bookmarks

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D9382 AFFECTED FILES mercurial/exchange.py tests/test-bookmarks-pushpull.t CHA

D9381: errors: remove trailing "!" in messages about bad top-level args

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D9381 AFFECTED FILES mercurial/dispatch.py tests/test-dispatch.t tests/test-g

D9379: errors: consistently don't use trailing "!" in "not found in manifest" message

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We already had some places with the same message without the trailing "!". REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercu

D9380: errors: remove trailing "!" in messages about creating new heads on push

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D9380 AFFECTED FILES mercurial/discovery.py tests/test-bookflow.t tests/test-

D9378: errors: remove trailing "!" from some error messages for consistency

2020-11-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Some types of exceptions had a trailing "!" printed after the message from the exception itself. I guess some of these error