D10241: git: fix missing case from 6266d19556ad (introduction of nodeconstants)

2021-03-19 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D10241 AFFECTED FILES hgext/git/gitlog.

D10242: tests: resort to fix test with newer git versions

2021-03-19 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D10242 AFFECTED FILES tests/test-git-in

D10243: chg: kill trailing comma in SEE ALSO

2021-03-19 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/D10243 AFFECTED FILES contrib/chg/chg.1 CHANGE DETAILS diff --git a/con

D10244: tests: ask any chg instance to terminate before looking at sqlite dbs

2021-03-19 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY There are spurious errors in CI where the database is still locked, so force the daemon to quit to get deterministic behavior. Since the kill comman

D10277: fix: merge imports

2021-03-28 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/D10277 AFFECTED FILES hgext/fix.py CHANGE DETAILS diff --git a/hgext/fi

D10278: extdiff: avoid nullid

2021-03-28 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/D10278 AFFECTED FILES hgext/extdiff.py CHANGE DETAILS diff --git a/hgex

D10279: split: simplify

2021-03-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Replace check with nullid with a check on the simpler nullrev. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-s

D10280: cmdutil: simplify

2021-03-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Prefer look-up via nullrev over nullid. We special case the latter, but testing an integer is still cheaper. REPOSITORY rHG Mercurial BRANCH def

D10283: copies: simplify

2021-03-28 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/D10283 AFFECTED FILES mercurial/copies.py CHANGE DETAILS diff --git a/m

D10285: logcmdutil: simplify

2021-03-28 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/D10285 AFFECTED FILES mercurial/logcmdutil.py CHANGE DETAILS diff --git

D10286: mergestate: simplify

2021-03-28 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/D10286 AFFECTED FILES mercurial/mergestate.py CHANGE DETAILS diff --git

D10287: shelve: simplify

2021-03-28 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/D10287 AFFECTED FILES mercurial/shelve.py CHANGE DETAILS diff --git a/m

D10288: simplemerge: simplify

2021-03-28 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/D10288 AFFECTED FILES mercurial/simplemerge.py CHANGE DETAILS diff --gi

D10289: setdiscovery: simplify by using tiprev directly

2021-03-29 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY tip() uses tiprev() and reads the node from it, so drop a layer of indirection. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https

D10290: refactor: prefer checks against nullrev over nullid

2021-03-29 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY A common pattern is using a changeset context and obtaining the node to compare against nullid. Change this to obtain the nullrev instead. In the fu

D10291: mergestate: remove unused import

2021-03-30 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/D10291 AFFECTED FILES mercurial/mergestate.py CHANGE DETAILS diff --git

D10502: packaging: extract pre-computed version when running from plain tarball

2021-04-20 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 tarballs created by setup.py are not including the usual archive markers as `hg export` leaves, so the rewrite of the version number computation

D10507: tests: don't hard-code /bin/bash

2021-04-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. Alphare accepted this revision. This revision is now accepted and ready to land. joerg.sonnenberger closed this revision. joerg.sonnenberger added a comment. Merged as

D10529: node: replace nullid and friends with nodeconstants class

2021-04-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: durin42. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added subscribers: mercurial-patches, Kwan. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The int

D10533: manifests: push down expected node length into the parser

2021-04-29 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 strictly enforces the node length in the manifest lines according to what the repository expects. One test case moves large hash testing into t

D10534: tests: bump default timeout to 360s

2021-04-29 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY A number of tests hit or almost hit the default limit even on modern hardware. While the tests are ideally split into smaller pieces, that's non-tri

D10535: core: don't hard-code hex node lengths

2021-04-29 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10535 AFFECTED FILES mercurial/localr

D10536: core: don't hard-code node length

2021-04-29 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10536 AFFECTED FILES mercurial/localr

D10724: revlog: fix index computation during inline->non-inline transition

2021-05-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The computation 63edc384d3b7 failed to

D10725: revlog: update data file record before index rename

2021-05-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Whe migrating from inline to non-inline data storage, the data file is recorded initially as zero sized so that it

D10726: recover: only apply last journal record per file

2021-05-17 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 got broken in 2019 when the size check was introduced. It is most noticable when dealing with transactions that involve an inline to non-inline

D11203: revlog: recommit 49fd21f32695 with a fix for issue6528

2021-07-20 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY `filelog.size` currently special cases two forms of metadata encoding: - copy data via the parent order as flag b

D11252: debugupgraderepo: add fix-metaencoding-flag pass for issue6528

2021-08-04 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. marmoute added a comment. This is similar to D11239 , having this done during upgrade too seems useful, but having a simpler/mor

D7177: rebase: introduce optional parent mapping

2021-09-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. From the VC call today: The use case can be addressed by marking parents as to-be-preserved, so that for merge commits rebase can decide on the parent link is should operate on. It covers a general DAG and is somewhat easier to use in terms of UX than the

D11453: log: if there is a merge state, show conflictother for . [WIP]

2021-09-18 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/D11453 AFFECTED FILES i18n/de.po i18n/ja.po i18n/pt_BR.po mercurial

D11956: exchange: add fast path for subrepo check on push

2022-01-02 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Try to check if .hgsub and .hgsubstate exist at all before looking for them in every changeset to be pushed. The latter can be quite expensive for l

D6263: Typos

2019-04-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6263 AFFECTED FILES mercurial/setdiscovery.py CHANGE DETAILS diff --git a/mercurial/setdis

D6259: [POC] revset: on-disk cache for children queries

2019-04-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. For the NetBSD repository, a trivial test with the new cache: time hg log -r '1000~-400' -T {node} > /dev/null real0m1.898s time hg log -r '1000~-400' -T {node} > /dev/null real0m0.170s time hg log -r '1000~-1' -T {node}

D6267: incoming: detect if server send partial replies

2019-04-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY incoming is not using the normal exchange logic and therefore doesn't know how to tell with pullbundles. Fixing that is involved and it is currently n

D6267: incoming: detect if server send partial replies

2019-04-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 14835. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6267?vs=14808&id=14835 REVISION DETAIL https://phab.mercurial-scm.org/D6267 AFFECTED FILES mercurial/bundlerepo.py tests/test-pull-bundle.t CHANG

D6263: Typos

2019-04-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG644eaffab9db: setdiscovery: fix a few typos (authored by joerg.sonnenberger, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D6263?vs=14800&id=14836#toc REPOSITORY rHG Mercuri

D6289: unionrepo: sync with repository API

2019-04-19 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6289 AFFECTED FILES mercurial/unionrepo.py CHANGE DETAILS diff --git a/mercurial/unionrepo

D6289: unionrepo: sync with repository API

2019-04-24 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG608ab4a3889d: unionrepo: sync with repository API (authored by joerg.sonnenberger, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D6289?vs=14868&id=14917#toc REPOSITORY rHG M

D6467: doc: fix description of "predecessors" to match reality

2019-05-31 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6467 AFFECTED FILES mercurial/templatekw.py CHANGE DETAILS diff --git a/mercurial/template

D6467: doc: fix description of "predecessors" to match reality

2019-06-10 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdc5bd66a8270: doc: fix description of "predecessors" to match reality (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.

D6267: incoming: detect if server send partial replies

2019-07-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added inline comments. joerg.sonnenberger marked 2 inline comments as done. INLINE COMMENTS > indygreg wrote in bundlerepo.py:642 > Something I didn't notice before is that this function doesn't do any UI > presentation. So it feels like a bug to print a message in this functi

D6824: notify: add option for deterministic message-id generation

2019-09-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6824 AFFECTED FILES hgext/notify.py tests/test-notify.t CHANGE DETAILS diff --git a/test

D6825: contrib: start building a library for simple hooks

2019-09-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Many workflows depend on hooks to enforce certain policies, e.g. to prevent forced pushes. The Mercurial Guide includes some cases and Google can help

D6825: contrib: start building a library for simple hooks

2019-09-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 16431. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6825?vs=16430&id=16431 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6825/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6825 AFF

D6824: notify: add option for deterministic message-id generation

2019-09-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
Closed by commit rHGd26a6706b070: notify: add option for deterministic message-id generation (authored by joerg.sonnenberger). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY

D6843: ui: option to preserve the progress bar

2019-09-11 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Some interface like the fast-import format of git are meant for pipe processing. It can be still desirable to have progress bars in this case, but cle

D6870: tests: recognize DNS timeouts as well

2019-09-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6870 AFFECTED FILES tests/test-clonebundles.t CHANGE DETAILS diff --git a/tests/test-clone

D6267: incoming: detect if server send partial replies

2019-09-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. joerg.sonnenberger abandoned this revision. Will be implemented properly. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6267/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6267 To: joerg.sonnenberger, #hg-r

D6870: tests: recognize DNS timeouts as well

2019-09-23 Thread joerg.sonnenberger (Joerg Sonnenberger)
Closed by commit rHGbe0d54cce8f4: tests: recognize DNS timeouts as well (authored by joerg.sonnenberger). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGE

D6843: ui: option to preserve the progress bar

2019-09-23 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. The goal here is to allow something like "hg fast-export | git fast-import" to show a proper progress bar. At the moment every write via ui.write and friends will hide the progress bar and re-enable it, even when stdout doesn't affect the terminal state.

D2470: wireproto: allow direct stream processing for unbundle

2018-02-26 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Introduce a new option server.streamunbundle which starts a transaction immediately to apply a bundle instead of writing it to a temporary file first.

D2470: wireproto: allow direct stream processing for unbundle

2018-02-27 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 6177. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2470?vs=6148&id=6177 REVISION DETAIL https://phab.mercurial-scm.org/D2470 AFFECTED FILES hgext/largefiles/proto.py mercurial/configitems.py mercu

D2470: wireproto: allow direct stream processing for unbundle

2018-02-27 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 6178. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2470?vs=6177&id=6178 REVISION DETAIL https://phab.mercurial-scm.org/D2470 AFFECTED FILES hgext/largefiles/proto.py mercurial/configitems.py mercu

D2753: graft: check for missing revision first before scanning working copy

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2753 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git a/mercurial/commands.p

D2754: phabricator: print deprecation warning only once

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2754 AFFECTED FILES contrib/phabricator.py CHANGE DETAILS diff --git a/contrib/phabricator

D2755: phabricator: update doc string for deprecated token argument

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2755 AFFECTED FILES contrib/phabricator.py CHANGE DETAILS diff --git a/contrib/phabricator

D2755: phabricator: update doc string for deprecated token argument

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0bebd4608ce3: phabricator: update doc string for deprecated token argument (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-

D2754: phabricator: print deprecation warning only once

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6490b0915881: phabricator: print deprecation warning only once (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D275

D2753: graft: check for missing revision first before scanning working copy

2018-03-11 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGff541b8cdee0: graft: check for missing revision first before scanning working copy (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.me

D1944: wireproto: provide accessors for client capabilities

2018-03-24 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 7268. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1944?vs=5011&id=7268 REVISION DETAIL https://phab.mercurial-scm.org/D1944 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/sshpee

D3014: rust-hglib: silence unused import of AsciiExt

2018-04-01 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added subscribers: mercurial-devel, kevincox, durin42. Herald added a reviewer: hg-reviewers. REVISION SUMMARY https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726 REPOSITORY rHG Merc

D3014: rust-hglib: silence unused import of AsciiExt

2018-04-01 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger abandoned this revision. joerg.sonnenberger added a comment. Pilot error REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3014 To: joerg.sonnenberger, #hg-reviewers Cc: durin42, kevincox, mercurial-devel _

D1944: wireproto: provide accessors for client capabilities

2018-04-01 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 7505. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1944?vs=7268&id=7505 REVISION DETAIL https://phab.mercurial-scm.org/D1944 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/sshpee

D1944: wireproto: provide accessors for client capabilities

2018-04-05 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 7705. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1944?vs=7505&id=7705 REVISION DETAIL https://phab.mercurial-scm.org/D1944 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/sshpee

D1944: wireproto: provide accessors for client capabilities

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGafcfdf53e4b5: wireproto: provide accessors for client capabilities (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/

D3170: wireproto: don't special case bundlecaps, but sort all scsv arguments

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3170 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS diff --git a/mercurial/wireproto

D3169: wireproto: turn client capabilities into sets, sorted on the wire

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3169 AFFECTED FILES mercurial/httppeer.py mercurial/sshpeer.py CHANGE DETAILS diff --git

D3171: wireproto: send server capabilities in canonical order

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3171 AFFECTED FILES mercurial/wireproto.py tests/test-debugcommands.t tests/test-hgweb-c

D3170: wireproto: don't special case bundlecaps, but sort all scsv arguments

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1d459f61b42a: wireproto: don't special case bundlecaps, but sort all scsv arguments (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.

D3169: wireproto: turn client capabilities into sets, sorted on the wire

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3e1688711efd: wireproto: turn client capabilities into sets, sorted on the wire (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercu

D3171: wireproto: send server capabilities in canonical order

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG33af46d639b4: wireproto: send server capabilities in canonical order (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.or

D2470: wireproto: allow direct stream processing for unbundle

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 7816. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2470?vs=6178&id=7816 REVISION DETAIL https://phab.mercurial-scm.org/D2470 AFFECTED FILES hgext/largefiles/proto.py mercurial/configitems.py mercu

D2470: wireproto: allow direct stream processing for unbundle

2018-04-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2d965bfeb8f6: wireproto: allow direct stream processing for unbundle (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.or

D3188: revlog: reset _nodepos after strip

2018-04-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When using the pure revlog parser, _nodepos is used to keep track of the position during index scanning in the non-ca

D1856: wireproto: support for pullbundles

2018-04-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. Updated to the current tree. One open question is an interaction with the narrow extension. Running the narrow tests will show an additional round trip. The discovery phase currently doesn't know about the narrowspec, so all heads are discovered by the

D3188: revlog: reset _nodepos after strip

2018-04-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1ce7a55b09d1: revlog: reset _nodepos after strip (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3188?vs=7875&id=7

D6843: ui: option to preserve the progress bar

2019-10-14 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 17154. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6843?vs=16520&id=17154 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6843/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6843 AFF

D6843: ui: option to preserve the progress bar

2019-10-16 Thread joerg.sonnenberger (Joerg Sonnenberger)
Closed by commit rHGcf25e525b7ae: ui: option to preserve the progress bar (authored by joerg.sonnenberger). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHAN

D7177: [PoC] allow providing explicit mapping for parents of merge commits

2019-10-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: martinvonz. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Consider the following DAG: C C' | \ / | | A B D with the goal of rebasing C to C' while swit

D7177: rebase: introduce optional parent mapping

2019-10-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger edited the summary of this revision. joerg.sonnenberger retitled this revision from "[PoC] allow providing explicit mapping for parents of merge commits" to "rebase: introduce optional parent mapping". joerg.sonnenberger updated this revision to Diff 17411. REPOSITORY rHG Me

D7732: convert: refactor authormap into separate function for outside use

2019-12-27 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D7732 AFFECTED FILES hgext/convert/convcmd.py CHANGE DETAILS diff --git a

D7733: hgext: initial version of fastexport extension

2019-12-27 Thread joerg.sonnenberger (Joerg Sonnenberger)
+ from :43 + D nf10 + + commit refs/heads/both + mark :49 + committer "test" 13 - + data 13 + debugbuilddag + from :47 + merge :48 + D nf10 + diff --git a/hgext/fastexport.py b/hgext/fastexport.py new file mode 100644 --- /dev/null +++ b/hgext/fastexport.py @@ -0,0 +1,196

D7732: convert: refactor authormap into separate function for outside use

2020-01-05 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 19035. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7732?vs=18948&id=19035 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7732/new/ REVISION DETAIL https://phab.mercurial-

D7732: convert: refactor authormap into separate function for outside use

2020-01-16 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 19398. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7732?vs=19035&id=19398 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7732/new/ REVISION DETAIL https://phab.mercurial-

D7732: convert: refactor authormap into separate function for outside use

2020-01-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
Closed by commit rHGfdaa4233dc18: convert: refactor authormap into separate function for outside use (authored by joerg.sonnenberger). This revision was automatically updated to reflect the committed changes. CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D7732?vs=19398&id=19407#toc RE

D7733: hgext: initial version of fastexport extension

2020-02-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
+ blob + mark :6 + data 3 + r1 + + commit refs/heads/default + mark :7 + committer "debugbuilddag" 1 - + data 2 + r1 + from :3 + M 644 :4 mf + M 644 :5 nf1 + M 644 :6 of + diff --git a/hgext/fastexport.py b/hgext/fastexport.py new file mode 100644 --- /dev/null +

D7733: hgext: initial version of fastexport extension

2020-02-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. Now blank and Python 3 clean. INLINE COMMENTS > pulkit wrote in fastexport.py:110 > These temporary variables can be prevented. Will be dropped. > pulkit wrote in fastexport.py:121 > This one is also same as `ctx.files()` I guess. I remember @martinvonz

D7733: hgext: initial version of fastexport extension

2020-02-07 Thread joerg.sonnenberger (Joerg Sonnenberger)
+ 18 + 19 + 20 + 21 + 22 + 23 + + blob + mark :5 + data 3 + r1 + + blob + mark :6 + data 3 + r1 + + commit refs/heads/default + mark :7 + committer "debugbuilddag" 1 - + data 2 + r1 + from :3 + M 644 :4 mf + M 644 :5 nf1 + M 644 :6 of + diff --git a/hgext/fastexpo

D8125: transactions: convert changes['phases'] to list of ranges

2020-02-15 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Consecutive revisions are often in the same phase, especially public revisions. This means that a dictionary keyed by the revision for the phase trans

D6825: hgext: start building a library for simple hooks

2020-02-15 Thread joerg.sonnenberger (Joerg Sonnenberger)
ighting for hgweb (requires Pygments) histedit interactive history editing + hooklib collection of simple hooks for common tasks keyword expand keywords in tracked files largefilestrack large binary files mq manage a stack of patches diff --git a/s

D8125: transactions: convert changes['phases'] to list of ranges

2020-02-17 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. I haven't measured run-time impact. The sorting should ensure that the lists are normally kept small, but when many updates apply to very fragmented repositories, it could be worse. 20MB is relative to the 600MB peak RSS from the referenced issue. REPOSIT

D1621: transaction: encodes tuples in changes['phases'] as 4 bit ints

2020-02-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. joerg.sonnenberger abandoned this revision. Obsoleted by storing the phase changes as range, which is normally even more compact. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D1621/new/ REVISION DETAIL https://ph

D1622: [PoC] transaction: Use intbitset for implementing changes['phase']

2020-02-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. joerg.sonnenberger abandoned this revision. Obsoleted by range based representation, which often works even better and doesn't depend on C. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D1622/new/ REVISION DETAIL

D8171: tests: handle In-Reply-To headers for line wrapping

2020-02-26 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Python 3 tends to insert a newline for both Message-ID and In-Reply-To headers, so unwrap both. Just check the wrapped line format explicitly without

D8172: notify: optional mail threading based on obsmarker

2020-02-26 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When notify.reply is set and a changeset has a predecessor in the repository, include In-Reply-To pointing to the message-id that would have been gene

D6825: hgext: start building a library for simple hooks

2020-02-26 Thread joerg.sonnenberger (Joerg Sonnenberger)
keyword expand keywords in tracked files largefilestrack large binary files mqmanage a stack of patches diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -1210,6 +1210,7 @@ 'hgext.fastannotate', 'hgext.fsmonitor.p

D6825: hgext: start building a library for simple hooks

2020-02-28 Thread joerg.sonnenberger (Joerg Sonnenberger)
eyword expand keywords in tracked files largefilestrack large binary files mqmanage a stack of patches diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -1210,6 +1210,7 @@ 'hgext.fastannotate', 'hgext.fsmonitor.pywatchman',

D3557: extensions: new closehead module for closing arbitrary heads

2018-09-21 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 11253. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3557?vs=9400&id=11253 REVISION DETAIL https://phab.mercurial-scm.org/D3557 AFFECTED FILES hgext/closehead.py tests/test-close-head.t tests/test-

D3557: extensions: new closehead module for closing arbitrary heads

2018-09-21 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 11254. joerg.sonnenberger marked 5 inline comments as done. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3557?vs=11253&id=11254 REVISION DETAIL https://phab.mercurial-scm.org/D3557 AFFECTED FILES hgex

D3557: extensions: new closehead module for closing arbitrary heads

2018-09-21 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger marked 2 inline comments as done. joerg.sonnenberger added a comment. Adjusted for most of the review comments. Added a test that books are left alone, since they will not be active in the interesting cases. I'm not touching any existing phases, so I'm not sure if I should

<    1   2   3   4   5   >