D8148: revlog-compression: update the config to be a list

2020-02-26 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In D8148#121295 , @pulkit wrote: > Looks good to me, can you add an entry to `relnotes/next`? still missing the release notes entry. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm

D8149: drawdag: abide by new createmarkers() API

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHGdda2341d6664: drawdag: abide by new createmarkers() API (authored by martinvonz). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8149?vs=20301&id=20305 CHANGES S

D8145: lfutil: provide a hint if the largefiles/lfs cache path cannot be determined

2020-02-26 Thread mharbison72 (Matt Harbison)
Closed by commit rHGca82929e433d: lfutil: provide a hint if the largefiles/lfs cache path cannot be determined (authored by mharbison72). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.or

mercurial@44380: 7 new changesets (2 on stable)

2020-02-26 Thread Mercurial Commits
7 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/f5c006621f07 changeset: 44374:f5c006621f07 parent: 44372:8407031f195f parent: 44373:98c14f0108b8 user:Augie Fackler date:Mon Feb 24 13:50:55 2020 -0500 summary: merge with stable

D8134: remotefilelog: add 'changelog' arg to shallowcg1packer.generate (issue6269)

2020-02-26 Thread pulkit (Pulkit Goyal)
Closed by commit rHG3cd79f55c1d7: remotefilelog: add 'changelog' arg to shallowcg1packer.generate (issue6269) (authored by pulkit). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITO

D8122: pyoxidizer: allow extensions to be loaded from the file system

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG4e3dbb48ef76: pyoxidizer: allow extensions to be loaded from the file system (authored by martinvonz). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8122?vs=2023

D7796: rust-nodemap: input/output primitives

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHGc3cc881aaa17: rust-nodemap: input/output primitives (authored by gracinet). gracinet marked an inline comment as done. This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". R

D8127: graft: always allow hg graft --base . (issue6248)

2020-02-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHG2e534a710b15: graft: always allow hg graft --base . (issue6248) (authored by valentin.gatienbaron). 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 Mer

D7798: rust-nodemap: special case for prefixes of NULL_NODE

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHG895934342631: rust-nodemap: special case for prefixes of NULL_NODE (authored by gracinet). 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 C

D7797: rust-nodemap: pure Rust example

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHG57d5b0fb9740: rust-nodemap: pure Rust example (authored by gracinet). 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 CHANGES SINCE LAST UPD

D8098: rust-nodemap: a method for full invalidation

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHGbbc61f36733c: rust-nodemap: a method for full invalidation (authored by gracinet). 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 CHANGES S

D8097: rust-nodemap: accounting for dead blocks

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHG706c1bd7f71c: rust-nodemap: accounting for dead blocks (authored by gracinet). 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 CHANGES SINCE

D7819: rust-nodemap: core implementation for shortest

2020-02-26 Thread gracinet (Georges Racinet)
Closed by commit rHG0e8a9c0fbc8c: rust-nodemap: core implementation for shortest (authored by gracinet). 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 CHANGES

D8148: revlog-compression: update the config to be a list

2020-02-26 Thread marmoute (Pierre-Yves David)
Closed by commit rHG54b9238c27be: revlog-compression: update the config to be a list (authored by marmoute). 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 CHA

D8151: relnotes: move entry to the right spot

2020-02-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It appears a conflict resolution went wrong. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8151 AFFE

mercurial@44390: 10 new changesets

2020-02-26 Thread Mercurial Commits
10 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/454bc51f114c changeset: 44381:454bc51f114c user:Pulkit Goyal <7895pul...@gmail.com> date:Wed Feb 19 13:39:00 2020 +0530 summary: remotefilelog: add 'changelog' arg to shallowcg1packer.generate (issue62

D8153: rust-index: moved constructor in separate impl block

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY with the upcoming addition of the nodemap logic, it's going to become more complicated. Being in the separate impl block has the advantage to be subject to ru

D8154: rust-index: add `append` method to cindex/Index

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will be used by `MixedIndex` in a later patch. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8154 AFFECTED F

D8152: revlog: using two new functions in C capsule from Rust code

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We expose `index_length` and `index_node` in the C capsule, so that the Rust representation of the C index can implement the `RevlogIndex` trait. Because ou

D8155: rust-nodemap: add utils to create `Node`s from Python objects

2020-02-26 Thread Raphaël Gomès
Alphare 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/D8155 AFFECTED FILES rust/hg-cpython/src/utils.rs CHANGE DETAILS diff --git a/rust/h

D8156: rust-nodemap: add utils for propagating errors

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This also updates the copyright notice REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8156 AFFECTED FILES rust/h

D8157: rust-nodemap: use proper Index API instead of using the C API

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8157 AFFECTED FILES rust/hg-cpython/src/revlog.rs CHANGE DETAILS diff --g

D8158: rust-nodemap: add binding for `nodemap_data_all`

2020-02-26 Thread Raphaël Gomès
Alphare 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/D8158 AFFECTED FILES rust/hg-cpython/src/revlog.rs CHANGE DETAILS diff --git a/rust/

D8159: rust-nodemap: add binding for `nodemap_data_incremental`

2020-02-26 Thread Raphaël Gomès
Alphare 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/D8159 AFFECTED FILES rust/hg-cpython/src/revlog.rs CHANGE DETAILS diff --git a/rust/

D8160: rust-nodemap: add binding to `nodemap_update_data`

2020-02-26 Thread Raphaël Gomès
Alphare 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/D8160 AFFECTED FILES rust/hg-cpython/src/revlog.rs CHANGE DETAILS diff --git a/rust/

D8161: rust-nodemap: also clear Rust data in `clearcaches`

2020-02-26 Thread Raphaël Gomès
Alphare 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/D8161 AFFECTED FILES rust/hg-cpython/src/revlog.rs CHANGE DETAILS diff --git a/rust/

D8162: hghave: add a `rust` keyword to detect the use of compiled rust code

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The content of some on disk cache can varies when using rust (because it is faster to do so in the rust variant). So we need to be able to detect this case for

D8163: nodemap: use data from the index in debugnodemap --dump-new

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It is better to run the actual code when generating a new nodemap cache from scratch. So we do. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL ht

D8164: rust-nodemap: automatically use the rust index for persistent nodemap

2020-02-26 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The persistent nodemap requires the rust index to be used to provides any gains. So we automatically enable it for revlog using

D8165: revlog-compression: release note entry for update the config to be a list

2020-02-26 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I updated the changeset, but forgot to phabsend apparently. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8165 A

D8165: revlog-compression: release note entry for update the config to be a list

2020-02-26 Thread marmoute (Pierre-Yves David)
Closed by commit rHGa6fb134bd086: revlog-compression: release note entry for update the config to be a list (authored by marmoute). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITO

D8166: merge: change default of hg.merge()'s "force" argument from None to False

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The argument is only passed to `mergemode.update()`, and that function treats `None` just like `False`, so `False` seems clearer. REPOSITORY rHG Mercurial B

D8169: tests: use new, use-case-specific methods from merge module

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D8169 AFFECTED FILES mercurial/hg.py tests/test-revlog-ancestry.py CHANGE DETAIL

D8167: merge: drop redundant mergeforce argument from hg.merge()

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The only caller that passed a value for either `force` or `mergeforce` passed the same value for both, so let's simplify the interface by accepting only `forc

D8168: merge: introduce a merge() for that use-case

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY In the same vein as some earlier patches like f546d2170b0f (merge: introduce a cl

D8168: merge: introduce a merge() for that use-case

2020-02-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 20346. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8168?vs=20344&id=20346 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8168/new/ REVISION DETAIL https://phab.mercurial-scm.org/

D8170: phabricator: update the protocol documentation

2020-02-26 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added subscribers: mercurial-devel, Kwan. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The `branch` property wasn't added to the `hg:meta` example when it was added to the metadata in d49ab47be8a6

D7967: exchange: recognize changegroup3 bundles in `getbundlespec()`

2020-02-26 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. In D7967#118158 , @marmoute wrote: > I can confirm the spec version number are different to the changegroup version number. For the rest. I'll try to have a look soon. Gentle ping on this REPOSITORY rHG Mer

D8165: revlog-compression: release note entry for update the config to be a list

2020-02-26 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 20348. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8165?vs=20341&id=20348 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8165/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8

D7967: exchange: recognize changegroup3 bundles in `getbundlespec()`

2020-02-26 Thread marmoute (Pierre-Yves David)
marmoute added a comment. It seems like I faild to have a look soon™ REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7967/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7967 To: mharbison72, #hg-reviewers Cc: marmoute, pulkit, joerg.sonnenberge

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)
joerg.sonnenberger updated this revision to Diff 20351. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6825?vs=20249&id=20351 BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6825/new/ REVISION DETAIL https://phab.mercurial-

D7967: exchange: recognize changegroup3 bundles in `getbundlespec()`

2020-02-26 Thread indygreg (Gregory Szorc)
indygreg added a comment. To clarify, bundle specifications are user-facing whereas changegroup versions are an internal implementation detail. Their version numbers are thus on different timelines and aren't strictly related. A bundle specification version is essentially a collection of

D7967: exchange: recognize changegroup3 bundles in `getbundlespec()`

2020-02-26 Thread indygreg (Gregory Szorc)
indygreg added inline comments. INLINE COMMENTS > mharbison72 wrote in exchange.py:321 > I’m not sure now. I think I went this way because I’m pretty sure it > complained when I tried to generate a bzip2-v3 bundle. And since 01 is > mapped to v2 and the error message is talking about finding a

mercurial@44391: new changeset

2020-02-26 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a6fb134bd086 changeset: 44391:a6fb134bd086 bookmark:@ tag: tip user:Pierre-Yves David date:Wed Feb 26 17:16:25 2020 +0100 summary: revlog-compression: release note entry for update the config t

D7967: exchange: recognize changegroup3 bundles in `getbundlespec()`

2020-02-26 Thread mharbison72 (Matt Harbison)
mharbison72 added inline comments. INLINE COMMENTS > indygreg wrote in exchange.py:321 > Since changegroup `v3` is not advertised in an existing bundle spec > definition at the top of this file, the proper thing to do here is create a > new `v3` bundle specification that uses changegroup v3 by

D8168: merge: introduce a merge() for that use-case

2020-02-26 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > commands.py:4912 > labels = [b'working copy', b'merge rev'] > -return hg.merge( > -repo, node, force=force, labels=labels > -) > +return hg.merge(repo, node, force=force, labels=labels) > This seems li

D8169: tests: use new, use-case-specific methods from merge module

2020-02-26 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > hg.py:1144 > unresolved conflicts.""" > -stats = mergemod.merge(repo[node], force=force, labels=labels,) > +stats = mergemod.merge(repo[node], force=force, labels=labels) > _showstats(repo, stats) This seems like unrelated change,