[Bug 6677] New: How to fix Cash App Transfer failed issue?

2022-04-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6677 Bug ID: 6677 Summary: How to fix Cash App Transfer failed issue? Product: Mercurial Version: 5.9.3 Hardware: PC OS: Windows Status: UNCONFIRMED Severity: b

[Bug 6676] New: What Should I Do To Opt For An Instant Can I talk to a live person at Facebook??

2022-04-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6676 Bug ID: 6676 Summary: What Should I Do To Opt For An Instant Can I talk to a live person at Facebook?? Product: Mercurial Version: default branch Hardware: PC

D12543: rhg: refactor to pass argv down, instead of caling args_os()

2022-04-12 Thread aalekseyev (Arseniy Alekseyev)
aalekseyev created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This refactoring makes it easy to patch some command-line preprocessing into rhg. We use this to support using rhg as a shebang interpreter, for example. RE

D12542: narrow: support debugupgraderepo

2022-04-12 Thread aalekseyev (Arseniy Alekseyev)
aalekseyev created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12542 AFFECTED FILES mercurial/upgrade_utils/a

mercurial@49058: 13 new changesets (5 on stable)

2022-04-12 Thread Mercurial Commits
13 new changesets (5 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/dd384ad01d88 changeset: 49046:dd384ad01d88 branch: stable parent: 49008:dd98bd0b6501 user:Pierre-Yves David date:Wed Apr 06 18:44:21 2022 +0200 summary: tests-racy-mutation: pas

D12541: rust-dirstatemap: remove unused helper from the old API

2022-04-12 Thread Raphaël Gomès
Alphare 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/D12541 AFFECTED FILES rust/hg-core/src/dirstate_tree/dirstate_map.rs CHANGE DETAILS

D12540: rust-status: stop using `state()` in the dispatch logic

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's use the new API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12540 AFFECTED FILES rust/hg-core/src/di

D12539: rust-status: stop using `state()` in `handle_normal_file`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's use the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12539 AFFECTED FILES rust/hg-core/src/dir

D12538: rust-dirstatemap: stop using `state()` in the cache logic

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's use the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12538 AFFECTED FILES rust/hg-core/src/dir

D12537: rust-dirstatemap: stop using `.state` in `is_from_other_parent`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is a deprecated API and will be removed one day. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12537 AFFEC

D12534: rust: use `entry.tracked()` directly

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12534 AFFECTED FILES rust/hg-core/src/dirst

D12536: rust-dirstate-entry: add `modified` method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will also be used in other places later in the series. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12536

D12535: rust: remove use of `EntryState` in `DirsMultiset`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's use the new API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12535 AFFECTED FILES rust/hg-core/src/di

D12533: rust-hg-cpython: remove use of `EntryState`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's use the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12533 AFFECTED FILES rust/hg-cpython/src/

D12532: rust-dirstatemap: use a checked sub instead of a potentially underflowing one

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This was missed in 2593873cda0f REPOSITORY rHG Mercurial BRANCH default REVISI

D12531: rust-dirstatemap: add simpler version of `get_node_mut`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will help reduce code and footgun potential for simpler callers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.o

D12530: rust-dirstatemap: use `get_node_mut` instead or `get_or_insert_node`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This (along with the docstring), makes it more obvious that we're not expecting to insert a node here. This is less prone to bugs in later refactorings. REPOSI

D12529: rust-dirstatemap: add `each_ancestor` argument to `get_node_mut`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This forces the callers to think about if the counters in the ancestors need to be adjusted. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL htt

D12528: rust-dirstatemap: add a simpler method `get_or_insert_node` for the common case

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY All but one case use the exact same input for most arguments, this simplifies code and reduces footgun potential. REPOSITORY rHG Mercurial BRANCH default

D12527: rust-dirstatemap: inline the last `get_or_insert` call

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The `get_or_insert` method was dangerous because it did not take the `DirstateMap` counters into account. This particular instance does not need to update the

D12526: rust-dirstatemap: add `set_cached_mtime` helper method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will help remove the `get_or_insert` method, which is dangerous because it does not take the `DirstateMap` counters into account REPOSITORY rHG Mercuria

D12525: rust-dirstatemap: add `clear_cached_mtime` helper method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will help remove the `get_or_insert` method, which is dangerous because it does not take the `DirstateMap` counters into account. REPOSITORY rHG Mercuri

D12524: rust-dirstatemap: add unit tests

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY These were missing and have already proven valuable since they have found two bugs (fixed in previous patches). There may be other behavior to test, but thi

D12523: rust: add `Debug` trait to a bunch of structs

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is useful when... debugging. Right now the output is not in the most readable state it could be, but this is very low effort and is good enough for now. W

D12522: rust-dirstatemap: use `&HgPath` instead of `HgPathBuf` in `copy_map_insert`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY No reason to require an owned path here. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12522 AFFECTED FILES r

D12521: rust-dirstatemap: use `DirstateEntry::tracked` directly

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY `state()` is a legacy API that will be removed at some point, let's use the newer API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://p

D12519: rust-dirstatemap: remove `set_dirstate_entry`/`set_entry` methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY These methods were needed crutches before the Rust implementation caught up to Python. Calling `set_entry` (whether from Python or Rust) was dangerous since it

D12520: rust-cpython: remove unused API to `drop_entry_and_copy_source`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is not used anywhere anymore and its use cases are covered by the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercur

D12518: rust-dirstatemap: implement part of the `setparents` logic

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The Python code does many round-trip calls to the Rust dirstatemap when copy information needs to be dropped in `setparents`. This may result in improved pe

D12517: dirstate-item: add missing bit of docstring

2022-04-12 Thread Raphaël Gomès
Alphare 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/D12517 AFFECTED FILES mercurial/pure/parsers.py CHANGE DETAILS diff --git a/mercur

D12516: dirstatemap: move `_dirs_incr` and `_dirs_decr` methods out of the common

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY They are only used by the Python implementation now REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12516 AFFECTE

D12515: dirstatemap: move `_refresh_entry` out of the common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is only used in the Python implementation now REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12515 AFFECTED

D12514: dirstatemap: move `_drop_entry` out of the common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Only the Python implementation uses it. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12514 AFFECTED FILES me

D12513: rust-dirstatemap: remove `_drop_entry`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is not used anywhere anymore REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12513 AFFECTED FILES mercuria

D12512: rust-dirstatemap: remove `__settitem__`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is not used anywhere now. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12512 AFFECTED FILES mercurial/d

D12511: rust-dirstatemap: remove unused `_refresh_entry` implementation

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This was only used in the newer APIs, all of which have been rewritten in Rust REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercur

D12510: rust-distatemap: remove `addfile` API

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY All of its users have been migrated to the new API REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12510 AFFECTED

D12509: rust-dirstatemap: remove `removefile` API

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Its callers have been migrated to the newer dirstate API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12509 A

D12508: rhg: use the new `set_clean` API

2022-04-12 Thread Raphaël Gomès
Alphare 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/D12508 AFFECTED FILES rust/rhg/src/commands/status.rs CHANGE DETAILS diff --git a/

D12506: rust-dirstatemap: add `set_untracked` method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new API that Python has already migrated to REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12506 AFF

D12507: dirstatemap: move `set_untracked` out of the common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY There is a dedicated Rust implementation now REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12507 AFFECTED FILES

D12505: dirstatemap: move `set_possibly_dirty` out of the common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY There exists now a dedicated Rust implementation REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12505 AFFECTED F

D12504: rust-dirstatemap: add `set_possibly_dirty` method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new API that Python has already migrated to. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12504 AF

D12502: rust-dirstatemap: add `set_clean` method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new dirstate API that has already been moved to in Python. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.

D12503: dirstatemap: move `set_clean` out of common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This now has a dedicated Rust implementation REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12503 AFFECTED FILES

D12499: rust-dirstatemap: add Rust implementation of `reset_state`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new API which has already been defined in Python REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12499

D12501: dirstatemap: remove `_insert_entry`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This was needed as a compatibility layer for the Python and Rust implementations, but it is not called from anywhere in Rust anymore. The two remaining call

D12500: dirstatemap: move `reset_state` out of common methods

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Now that we have a Rust implementation, we defer to that accordingly. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.o

D12498: rust-dirstate: introduce intermediate struct for dirstate-v2 data

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is passed often as a long tuple that is not easy to know the form of, so we refactor everything in this struct. This also renames `wdir_tracked` to fol

D12497: dirstatemap: remove unused parameter from `reset_state`

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This has no callers using it and is not used inside the method itself. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.

D12496: dirstatemap: move `set_tracked` out of common methods and plug in Rust

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We now have a Rust-specific implementation of this method, it is no longer shared between both implementations. REPOSITORY rHG Mercurial BRANCH default RE

D12495: rust-dirstatemap: add `set_tracked` method

2022-04-12 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is the new dirstate API that has already been moved to in Python. It will be used in place of the old `addfile`/`removefile` one. REPOSITORY rHG Mercuria

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

2022-04-12 Thread Heptapod
Pipeline #53149 has failed! Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default ) Commit: a01f64c5 ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/

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

2022-04-12 Thread Heptapod
Pipeline #53149 has failed! Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default ) Commit: a01f64c5 ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/

D7542: mail: don't complain about a multi-word email.method

2022-04-12 Thread jcristau (Julien Cristau)
Closed by commit rHG1d6c6ad645e1: mail: don't complain about a multi-word email.method (authored by jcristau). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7542?vs=33000&id=33015

D7542: mail: don't complain about a multi-word email.method

2022-04-12 Thread Raphaël Gomès
This revision is now accepted and ready to land. Alphare added a comment. Alphare accepted this revision. That's an oldie REPOSITORY rHG Mercurial BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7542/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7542

mercurial-devel | Failed pipeline for branch/stable | 8b475050

2022-04-12 Thread Heptapod
Pipeline #53136 has failed! Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel ) Branch: branch/stable ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/stable ) Commit: 8b475050 ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/8b