D9154: revlog: pre-compute null revlog item for pure version

2020-10-05 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The dynamically created tuple shows up in memory profiles and the use of nullid prevents the normal constant building to work. REPOSITORY rHG Mercu

D9153: unbundle: free temporary objects after use

2020-10-05 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This reduces peak RSS for larger unbundle operations by ~30 Bytes per changeset on AMD64. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAI

D9152: hook: ignore EPIPE when flushing stdout/stderr

2020-10-05 Thread mplamann (Mitchell Plamann)
mplamann created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This fixes the bug described in the parent commit. test-transaction-rollback-on-sigpipe.t is updated to show the new behavior. REPOSITORY rHG Mercurial BR

D9151: test: add test-transaction-rollback-on-sigpipe.t demonstrating py3 regression

2020-10-05 Thread mplamann (Mitchell Plamann)
mplamann created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY When an hg push is interrupted with C-c, the remote [hg serve] command receives SIGPIPE. If a pretxnchangegroup hook fails, the remote hg then tries to r

mercurial@45631: 2 new changesets

2020-10-05 Thread Mercurial Commits
2 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/588068d5f2da changeset: 45630:588068d5f2da user:Pulkit Goyal <7895pul...@gmail.com> date:Fri Oct 02 18:40:39 2020 +0530 summary: merge: check for conflicting actions irrespective of length of bids https

D9150: tests: skip doctests if not running from a hg repo

2020-10-05 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/D9150 AFFECTED FILES tests/test-doctest.py CHANGE DETAILS diff --git a/

[Bug 6417] New: --per-file does not work when only one file has changed

2020-10-05 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6417 Bug ID: 6417 Summary: --per-file does not work when only one file has changed Product: Mercurial Version: 5.5.1 Hardware: PC OS: Linux Status: UN

D9149: py3: use native string when comparing with a function's argspec

2020-10-05 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I only found two such bugs in `contrib/perf.py` REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D9149 AFFECTED FILE