[PATCH 1 of 2] dirstate: fix parse_dirstate() to error out if NULL entry created

2021-09-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1632383057 -32400 # Thu Sep 23 16:44:17 2021 +0900 # Node ID 13efd8fdc55fe3ed8ab195fff0c52a249d4dcc73 # Parent 1b2ee68e85f93c0726db9f2f739bc6768db1f92f dirstate: fix parse_dirstate() to error out if NULL entry created Since 83f0e93ec34b

Re: [PATCH 1 of 2] dirstate: fix parse_dirstate() to error out if NULL entry created

2021-09-23 Thread Raphaël Gomès
Queued both patches, thanks! On 9/23/21 10:27 AM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1632383057 -32400 # Thu Sep 23 16:44:17 2021 +0900 # Node ID 13efd8fdc55fe3ed8ab195fff0c52a249d4dcc73 # Parent 1b2ee68e85f93c0726db9f2f739bc6768db1f92f dirstate: fix

[PATCH 2 of 2] dirstate: fix leak of entry object in dirstate_item_from_v1_data()

2021-09-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1632383555 -32400 # Thu Sep 23 16:52:35 2021 +0900 # Node ID bc82b526a41b47adfe8c49639b0664bcaa4b26b8 # Parent 13efd8fdc55fe3ed8ab195fff0c52a249d4dcc73 dirstate: fix leak of entry object in dirstate_item_from_v1_data() diff --git

mercurial-devel | Failed pipeline for branch/default | edb4d3b8

2021-09-23 Thread Heptapod
Pipeline #27052 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: edb4d3b8 (

mercurial-devel | Failed pipeline for branch/stable | 9684940d

2021-09-23 Thread Heptapod
Pipeline #27066 has failed! Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/stable ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/stable ) Commit: 9684940d (

D11492: rust: Remove some obsolete doc-comments

2021-09-23 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY About parameters that have been removed or replaced REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11492

D11497: errors: use InputError for bad --similarity value

2021-09-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/D11497 AFFECTED FILES mercurial/scmutil.py tests/test-addremove-similar.t

D11494: dirstate: Pass the final DirstateItem to _rustmap.addfile()

2021-09-23 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Now that the Python DirstateItem class wraps a Rust DirstateEntry value, use that value directly instead of converting through v1 data + 5 booleans.

D11498: errors: use InputError for bad path arguments to `hg annotate`

2021-09-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/D11498 AFFECTED FILES mercurial/commands.py tests/test-annotate.t

D11495: Make hg manifest only print things inside the narrowspec

2021-09-23 Thread charlesetc (Charles Chamberlain)
charlesetc created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The performance of these commands seem roughly unchanged from the manual testing I've done. REPOSITORY rHG Mercurial

D11496: errors: use InputError for some invalid revsets and such

2021-09-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/D11496 AFFECTED FILES mercurial/commands.py mercurial/scmutil.py

D11493: dirstate: Replace dropfile with drop_item_and_copy_source

2021-09-23 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Those removing a DirstateItem and a copy source are always done together REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

mercurial-devel | Failed pipeline for branch/stable | 0d7e6960

2021-09-23 Thread Heptapod
Pipeline #27068 has failed! Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/stable ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/stable ) Commit: 0d7e6960 (

D11491: dirstate: Remove return boolean from dirstatemap.dropfile

2021-09-23 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY None of the remaining callers use it. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11491 AFFECTED FILES

mercurial@48028: 25 new changesets (2 on stable)

2021-09-23 Thread Mercurial Commits
25 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/58fe6d127a01 changeset: 48004:58fe6d127a01 branch: stable parent: 47980:1941064d3713 user:Raphaël Gomès date:Thu Sep 09 10:42:28 2021 +0200 summary: pep-517: remove the

mercurial-devel | Failed pipeline for branch/default | 23606306

2021-09-23 Thread Heptapod
Pipeline #27074 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: 23606306 (