D12589: tests: fix misspelling of supersede

2022-04-27 Thread av6 (Anton Shestakov)
av6 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/D12589 AFFECTED FILES tests/test-push-checkheads-partial-C1.t

[PATCH] rebase: add boolean config item rebase.norebasesource

2022-04-27 Thread C . Masloch
# HG changeset patch # User C. Masloch # Date 1650475479 -7200 # Wed Apr 20 19:24:39 2022 +0200 # Node ID 4fd9ac0558249d24552b9efeed1ac77452c73319 # Parent f45e1618cbf68aca4e72b6fed8dd2acef6f39a10 rebase: add boolean config item rebase.norebasesource This allows to use rebase without

D12588: filemerge: add configs to disable some or all partial merge tools

2022-04-27 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY When rolling out partial merge tools to users, it's useful to be able to easily turn one or all of them off if a problem is discovered. This patch adds

D12587: color: support the NO_COLOR environment variable

2022-04-27 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The https://no-color.org initiative is a good idea, it's easy to support. It even explicitly lists Mercurial as one of the programs that don't support it.

D12586: rhg: fix dirstate-v2 data file removal system

2022-04-27 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY In D12581 I introduced logic to remove the previous dirstate-v2 data file after a new one is created (and its

[Bug 6686] New: Come To Know How To Change Cash App From Business To Personal Account

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6686 Bug ID: 6686 Summary: Come To Know How To Change Cash App From Business To Personal Account Product: Mercurial Version: default branch Hardware: PC OS:

[Bug 6685] New: Can someone hack your cash app without your name? Is it possible?

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6685 Bug ID: 6685 Summary: Can someone hack your cash app without your name? Is it possible? Product: Mercurial Version: earlier Hardware: PC OS: Windows

[Bug 6684] New: Can I Call Cash App Support number and Get Connected With Technical Squad?

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6684 Bug ID: 6684 Summary: Can I Call Cash App Support number and Get Connected With Technical Squad? Product: Mercurial Version: default branch Hardware: PC OS:

[Bug 6683] New: Using --follow and --removed together gives wrong results

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6683 Bug ID: 6683 Summary: Using --follow and --removed together gives wrong results Product: Mercurial Version: default branch Hardware: PC OS: Linux

D12585: commit: don't use hard-coded `.hg/last-message.txt` path in error message

2022-04-27 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 Whoever wrote D8463 just used a hard-coded path to `.hg/last-message.text` instead

D12584: censor: demonstrate a bug

2022-04-27 Thread aalekseyev (Arseniy Alekseyev)
aalekseyev 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/D12584 AFFECTED FILES tests/test-censor2.t CHANGE DETAILS diff --git

D12583: iblt: prototype for setdiscovery

2022-04-27 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D12583 AFFECTED FILES mercurial/bundlerepo.py

D12582: rust-repo: make `Send` by not storing functions in `LazyCell`

2022-04-27 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We (Google) want to use `Repo` in a context where we can store it in `Mutex`. However, that currently doesn't work because it's not `Send` because the

mercurial@49144: 41 new changesets

2022-04-27 Thread Mercurial Commits
41 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/b5c2aca84618 changeset: 49104:b5c2aca84618 user:Raphaël Gomès date:Mon Mar 28 18:02:50 2022 +0200 summary: rust-dirstatemap: add `set_clean` method

D12580: rust-dirstate-v2: save proper data size if no new data on append

2022-04-27 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 currently only triggered with the tests ran with `--rhg` without `--rust`, by "luck", there probably always was something to write, like an mtime when

D12581: rust-dirstate-v2: clean up previous data file after the docket is written

2022-04-27 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 overlooked before and caused many data files to keep living forever. We could potentially consider adding a random cleanup of them in case they

[Bug 6682] New: Why Cash App Won't Let Me Send Money And How Can I Annihilate It?

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6682 Bug ID: 6682 Summary: Why Cash App Won't Let Me Send Money And How Can I Annihilate It? Product: Mercurial Version: default branch Hardware: PC OS: Windows

[Bug 6681] New: How Can I Deal With The Situation If Cash App Payment Failed For My Protection?

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6681 Bug ID: 6681 Summary: How Can I Deal With The Situation If Cash App Payment Failed For My Protection? Product: Mercurial Version: default branch Hardware: PC

[Bug 6680] New: distutils warning breaks test

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6680 Bug ID: 6680 Summary: distutils warning breaks test Product: Mercurial Version: 6.1.1 Hardware: All OS: NetBSD Status: UNCONFIRMED Severity: bug

mercurial@49103: 38 new changesets (3 on stable)

2022-04-27 Thread Mercurial Commits
38 new changesets (3 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/65eda809b943 changeset: 49066:65eda809b943 branch: stable parent: 49060:532b649c1deb user:Martin von Zweigbergk date:Mon Apr 18 20:39:31 2022 -0700 summary: tests: demonstrate

mercurial-devel | Failed pipeline for branch/stable | 22fc6945

2022-04-27 Thread Heptapod
Pipeline #53316 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: 22fc6945 (

D12579: chg: make `chg --cwd $anything -R $relativepath` behave better

2022-04-27 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We're seeing this kind of issue: $ (cd repo1; chg --cwd ../repo2 -R .) + chg: abort: too many redirections. + Please make sure

D12578: rhg: use `Command::exec` instead of `Command::status`

2022-04-27 Thread Raphaël Gomès
Alphare created this revision. Alphare added a comment. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. Pending CI refresh REVISION SUMMARY `rhg` is supposed to be a transparent executable, using a subprocess defeats that purpose. See inline comments

mercurial-devel | Failed pipeline for branch/default | 07ec9f4f

2022-04-27 Thread Heptapod
Pipeline #53306 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: 07ec9f4f (

D12577: amend: small refactor of logic for clarity

2022-04-27 Thread spectral (Kyle Lippincott)
spectral 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/D12577 AFFECTED FILES mercurial/cmdutil.py CHANGE DETAILS diff --git

D12576: amend: move "return None for removed files" into block handling filestoamend

2022-04-27 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is just a small logic cleanup from D12573 , no change in behavior. REPOSITORY rHG Mercurial BRANCH default

mercurial-devel | Failed pipeline for branch/default | 1c007777

2022-04-27 Thread Heptapod
Pipeline #53295 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: 1c00 (

mercurial-devel | Failed pipeline for branch/default | 8e10aac2

2022-04-27 Thread Heptapod
Pipeline #53292 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: 8e10aac2 (

[Bug 6679] New: How To Get A Treatment If Cash App Payment Failed For My Protection?

2022-04-27 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6679 Bug ID: 6679 Summary: How To Get A Treatment If Cash App Payment Failed For My Protection? Product: Mercurial Version: unspecified Hardware: PC OS: Windows

mercurial-devel | Failed pipeline for branch/default | 246ee748

2022-04-27 Thread Heptapod
Pipeline #53286 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: 246ee748 (

D12575: actions: fix formatting issue

2022-04-27 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 triggered by a new change in the file in cb21c9c1a480. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D12574: rust: fix formatting

2022-04-27 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This slipped through. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12574 AFFECTED FILES

D12573: amend: don't remove unselected removals from memctx

2022-04-27 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY When there are removed files in the working copy and they are not selected to be amended into the parent, the `filectxfn` we create for the `memctx` would

D12572: tests: demonstrate crash on partial amend with copies in changesets

2022-04-27 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY See the fix in the next patch for explanation. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D12572 AFFECTED

D12570: packaging: drop python27 references from the Windows instructions

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I also diffed these two files and eliminated cosmetic differences to make it easier to ensure both are in alignment. REPOSITORY rHG Mercurial BRANCH

D12571: packaging: fix the type hint on the download_entry function

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Flagged by PyCharm. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12571 AFFECTED FILES

D12569: packaging: add a missing parenthesis to help text

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 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/D12569 AFFECTED FILES contrib/packaging/hgpackaging/cli.py CHANGE DETAILS

D12568: git: un-byteify the `mode` argument for the builtin `open()`

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I guess this was assuming `pycompat.open` was imported, but it's not here or elsewhere in the git extension. REPOSITORY

D12567: git: adapt to some recent dirstate API changes

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY There are still old methods like add() and drop(). I don't see anything that looks equivalent, so there's likely more

D12566: idirstate: add missing get_entry() method

2022-04-27 Thread mharbison72 (Matt Harbison)
mharbison72 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/D12566 AFFECTED FILES mercurial/interfaces/dirstate.py CHANGE DETAILS diff