D2729: copyfile: preserve stat info (mtime, etc.) when doing copies/renames

2018-03-13 Thread spectral (Kyle Lippincott)
spectral added a comment. In https://phab.mercurial-scm.org/D2729#45664, @indygreg wrote: > I'm sorry, but we cannot ship this as is. > > The reason is mtime based build systems, like GNU make. > > We can't have version control modifying files without bumping their mtime because

Re: [PATCH STABLE] hgweb: garbage collect on every request

2018-03-13 Thread Gregory Szorc
> On Mar 12, 2018, at 23:18, Anton Shestakov wrote: > > On Mon, 12 Mar 2018 13:17:21 -0700 > Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1520885700 25200 >> # Mon Mar 12 13:15:00

Re: [PATCH STABLE] hgweb: garbage collect on every request

2018-03-13 Thread Anton Shestakov
On Mon, 12 Mar 2018 13:17:21 -0700 Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1520885700 25200 > # Mon Mar 12 13:15:00 2018 -0700 > # Branch stable > # Node ID 46905416a5f47e9e46aa2db0e2e4f45e7414c979 > #

mercurial@36844: new changeset (1 on stable)

2018-03-13 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/eeb87b24aea7 changeset: 36844:eeb87b24aea7 branch: stable tag: tip parent: 36759:9639c433be54 user:Yuya Nishihara date:Sun Mar 11 20:10:38 2018 +0900 summary:

[PATCH V3] forget: add --dry-run mode

2018-03-13 Thread Sushil khanchi
# HG changeset patch # User Sushil khanchi # Date 1520665399 -19800 # Sat Mar 10 12:33:19 2018 +0530 # Node ID 759f15ef30ea56f6cb190415e8eaa16dcd95c1a8 # Parent 4c71a26a4009d88590c9ae3d64a5912fd556d82e forget: add --dry-run mode diff -r 4c71a26a4009 -r

Re: [PATCH V4] forget: add --dry-run mode

2018-03-13 Thread Anton Shestakov
On Tue, 13 Mar 2018 12:17:41 +0530 Sushil khanchi wrote: > # HG changeset patch > # User Sushil khanchi > # Date 1520665399 -19800 > # Sat Mar 10 12:33:19 2018 +0530 > # Node ID 4134d1f103d8e72e80920cd89cf3d3f576e6a2b5 > # Parent

[PATCH V4] forget: add --dry-run mode

2018-03-13 Thread Sushil khanchi
# HG changeset patch # User Sushil khanchi # Date 1520665399 -19800 # Sat Mar 10 12:33:19 2018 +0530 # Node ID 4134d1f103d8e72e80920cd89cf3d3f576e6a2b5 # Parent 4c71a26a4009d88590c9ae3d64a5912fd556d82e forget: add --dry-run mode diff -r 4c71a26a4009 -r

[PATCH evolve-ext V3] obsdiscovery: include units in ui.progress() calls (issue5773)

2018-03-13 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1519388837 -28800 # Fri Feb 23 20:27:17 2018 +0800 # Node ID f30a4131c6f28f355af2c1259632399e05dfca07 # Parent 1f0c88a9dd1cdf11d9eb8db48cc5e6e70022230b obsdiscovery: include units in ui.progress() calls (issue5773) diff

[PATCH V4] forget: add --dry-run mode

2018-03-13 Thread Sushil khanchi
# HG changeset patch # User Sushil khanchi # Date 1520665399 -19800 # Sat Mar 10 12:33:19 2018 +0530 # Node ID 349b51e3bb04862ff7e516f57509ccd974e1b6a2 # Parent 4c71a26a4009d88590c9ae3d64a5912fd556d82e forget: add --dry-run mode diff -r 4c71a26a4009 -r

bugzilla weekly report (2018-03-13)

2018-03-13 Thread Octobot
Bug activity report, between 2018-03-06 and 2018-03-13 * urgent+: 4 bugs (1 added) * unconfirmed: 18 bugs (5 added) * new: 7 bugs * closed: 9 bugs * need example: 0 bugs * new details: 0 bugs * active: 31 bugs * long inactive: 5 bugs urgent+ --- Open of urgent or critical bugs. Found

Bugzilla stats email

2018-03-13 Thread Feld Boris
Hello, I've activated the weekly bugzilla stats email on a weekly basics for the mercurial-devel mailing-list. The mail comes from octo...@octobus.net with the subject "bugzilla weekly report". It's for the moment a text version of https://hgbzstats.octobus.net/. I presented it at the

Re: [PATCH V4] forget: add --dry-run mode

2018-03-13 Thread Anton Shestakov
On Tue, 13 Mar 2018 15:43:02 +0800 Anton Shestakov wrote: > > +rejected = cmdutil.forget(ui, repo, m, prefix="", explicitonly=False, > > dryrun=dryrun)[0] > > This line is too long, don't forget to also run test-check-commit.t. I saw this already fixed, but I'd like

[PATCH 3 of 4] annotate: do not construct attr.s object per line while computing history

2018-03-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520855110 -32400 # Mon Mar 12 20:45:10 2018 +0900 # Node ID 1ce0d903cfa6e8db0112f86cc346751651db1f80 # Parent 95af54712a25c298d5ee63c385f3d498250c1624 annotate: do not construct attr.s object per line while computing history

[PATCH 1 of 4] pycompat: name maplist() and ziplist() for better traceback message

2018-03-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520943734 -32400 # Tue Mar 13 21:22:14 2018 +0900 # Node ID aa35c6d7caef9ef9f48d0c9c831f9492c1421c45 # Parent 6aeb076b1321c540db6419fc48c8a3a552fb596b pycompat: name maplist() and ziplist() for better traceback message diff

[PATCH 2 of 4] annotate: correct parameter name of decorate() function

2018-03-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520854628 -32400 # Mon Mar 12 20:37:08 2018 +0900 # Node ID 95af54712a25c298d5ee63c385f3d498250c1624 # Parent aa35c6d7caef9ef9f48d0c9c831f9492c1421c45 annotate: correct parameter name of decorate() function diff --git

[PATCH 4 of 4] annotate: drop linenumber flag from fctx.annotate() (API)

2018-03-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520947086 -32400 # Tue Mar 13 22:18:06 2018 +0900 # Node ID 854d59569873317764fb7ff68b7f0051585caed6 # Parent 1ce0d903cfa6e8db0112f86cc346751651db1f80 annotate: drop linenumber flag from fctx.annotate() (API) Now

Re: [PATCH] xdiff: fix a hard crash on Windows

2018-03-13 Thread Yuya Nishihara
On Mon, 12 Mar 2018 18:55:26 -0700, Jun Wu wrote: > Looks good. Thanks for fixing this! > > Excerpts from Matt Harbison's message of 2018-03-12 21:53:12 -0400: > > # HG changeset patch > > # User Matt Harbison > > # Date 1520905818 14400 > > # Mon Mar 12 21:50:18

Re: [PATCH 3 of 3] lfs: debug print HTTP headers and JSON payload received from the server

2018-03-13 Thread Yuya Nishihara
On Tue, 13 Mar 2018 00:00:08 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1520910527 14400 > # Mon Mar 12 23:08:47 2018 -0400 > # Node ID d0b66408b224022fd96cb347ff3439e807812b21 > # Parent

D2834: wireproto: support /api/* URL space for exposing APIs

2018-03-13 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. Will this cause conflicts with `hg serve -S` or hgwebdir with subrepo/virtual paths that start with 'api'? (This was the reason I used the LFS URI starting with '.hg/', knowing that isn't committable.) REPOSITORY rHG Mercurial REVISION DETAIL

D2761: rebase: use configoverride context manager for ui.forcemerge

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6b6d7f127ee5: rebase: use configoverride context manager for ui.forcemerge (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2759: rebase: fix issue 5494 also with --collapse

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG72e58801950a: rebase: fix issue 5494 also with --collapse (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2811: rebase: move constant expressions out of inner loop in _performrebase()

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG41d6df958331: rebase: move constant expressions out of inner loop in _performrebase() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2728: rebase: also include commit of collapsed commits in single transaction

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG67e18654a9eb: rebase: also include commit of collapsed commits in single transaction (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2810: rebase: inline _performrebasesubset()

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0cc850a43e6c: rebase: inline _performrebasesubset() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2810?vs=6875=6989

D2760: rebase: also restore "ui.allowemptycommit" value

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1bfe7e1d65fb: rebase: also restore ui.allowemptycommit value (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2809: rebase: extract function for rebasing a single node

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd56e4d78a366: rebase: extract function for rebasing a single node (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@36845: new changeset (1 on stable)

2018-03-13 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/ff2370a70fe8 changeset: 36845:ff2370a70fe8 branch: stable tag: tip user:Gregory Szorc date:Mon Mar 12 13:15:00 2018 -0700 summary: hgweb: garbage

Re: [PATCH 1 of 4] pycompat: name maplist() and ziplist() for better traceback message

2018-03-13 Thread Pulkit Goyal
On Tue, Mar 13, 2018 at 7:25 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520943734 -32400 > # Tue Mar 13 21:22:14 2018 +0900 > # Node ID aa35c6d7caef9ef9f48d0c9c831f9492c1421c45 > # Parent

D2834: wireproto: support /api/* URL space for exposing APIs

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D2834#45666, @mharbison72 wrote: > Will this cause conflicts with `hg serve -S` or hgwebdir with subrepo/virtual paths that start with 'api'? (This was the reason I used the LFS URI starting with '.hg/', knowing that isn't

Re: [PATCH V2] forget: add --dry-run mode

2018-03-13 Thread Yuya Nishihara
On Mon, 12 Mar 2018 18:27:13 -0400, Matt Harbison wrote: > On Sun, 11 Mar 2018 05:49:26 -0400, Sushil khanchi > wrote: > > > # HG changeset patch > > # User Sushil khanchi > > # Date 1520665399 -19800 > > # Sat Mar 10 12:33:19 2018

D2838: util: clear debugstacktrace call

2018-03-13 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY During the renaming of datestr, it seems that I have forget a debugstacktrace in util.py. Remove it. REPOSITORY rHG Mercurial REVISION DETAIL

D2833: tests: teach get-with-headers.py to ignore dynamic headers

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. I like Matt's patch and will do something more deterministic. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2833 To: indygreg, #hg-reviewers Cc: mharbison72, mercurial-devel

mercurial@36855: 10 new changesets

2018-03-13 Thread Mercurial Commits
10 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/14f70c44af6c changeset: 36846:14f70c44af6c parent: 36843:31581528f242 user:Gregory Szorc date:Thu Mar 08 16:38:01 2018 -0800 summary: wireprotoserver: access headers

[PATCH 1 of 2] push-discovery: don't turn use generator when comparing bookmarks

2018-03-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1520609495 -3600 # Fri Mar 09 16:31:35 2018 +0100 # Node ID 9ecb102cd955e075a6a637f1b8d4f5c8e3015751 # Parent 2cdf47e14c30dbdc2ebc0fd498fc0b85205ce2b3 # EXP-Topic push-book-handling # Available At

[PATCH 2 of 2] push-discovery: extract the bookmark comparison logic in its own function

2018-03-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1520607221 -3600 # Fri Mar 09 15:53:41 2018 +0100 # Node ID 5b15c9c72bc88931d5a5dc9bfec0935098c04402 # Parent 9ecb102cd955e075a6a637f1b8d4f5c8e3015751 # EXP-Topic push-book-handling # Available At

[PATCH] peer-request: include more details about batch commands

2018-03-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1520268508 18000 # Mon Mar 05 11:48:28 2018 -0500 # Node ID 025b0a829b1c9a299b76b7303b4d46c269fcba48 # Parent 31581528f2421dc5d8a567125b8ecc0367b2b906 # EXP-Topic peer-request.batch # Available At

Re: [PATCH V2] forget: add --dry-run mode

2018-03-13 Thread Matt Harbison
On Tue, 13 Mar 2018 17:30:55 -0400, sushil khanchi wrote: Shall I remove --dry-run from context layer now? It looks like cmdutil.add() and scmutil.addremove() don't pass it along to wctx either, so I guess it's OK to drop for consistency. But the fact that it

D2620: wireproto: define and implement unified framing protocol for SSH

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. I'll break this up and send it as multiple commits. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2620 To: indygreg, #hg-reviewers Cc: mercurial-devel ___

Re: [PATCH V2] forget: add --dry-run mode

2018-03-13 Thread sushil khanchi
Shall I remove --dry-run from context layer now? On Tue, Mar 13, 2018 at 7:55 PM, Yuya Nishihara wrote: > On Mon, 12 Mar 2018 18:27:13 -0400, Matt Harbison wrote: > > On Sun, 11 Mar 2018 05:49:26 -0400, Sushil khanchi > > wrote: > > > > > # HG

D2845: hghave: fix xdiff check on Python 3

2018-03-13 Thread durin42 (Augie Fackler)
durin42 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/D2845 AFFECTED FILES tests/hghave.py CHANGE DETAILS diff --git a/tests/hghave.py b/tests/hghave.py

D2847: remotenames: work around move of ABCs in collections

2018-03-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This starts warning in Python 3.7, and will break in 3.8. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2847 AFFECTED FILES

D2846: hghave: fix hardlink-whitelisted check on Python 3

2018-03-13 Thread durin42 (Augie Fackler)
durin42 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/D2846 AFFECTED FILES tests/hghave.py CHANGE DETAILS diff --git a/tests/hghave.py b/tests/hghave.py

D2844: commandserver: prefer first-party selectors module from Python 3 to backport

2018-03-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Caught by some deprecation warnings on Python 3.7. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2844 AFFECTED FILES

D2721: util: observable proxy objects for sockets

2018-03-13 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. fileobjectproxy needed `__nonzero__()`/`__bool__()`. Does socketproxy need it for consistency? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2721 To: indygreg, #hg-reviewers Cc: mharbison72, mercurial-devel

D2834: wireproto: support /api/* URL space for exposing APIs

2018-03-13 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. In https://phab.mercurial-scm.org/D2834#45696, @indygreg wrote: > In https://phab.mercurial-scm.org/D2834#45666, @mharbison72 wrote: > > > Will this cause conflicts with `hg serve -S` or hgwebdir with subrepo/virtual paths that start with 'api'? (This

D2721: util: observable proxy objects for sockets

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg planned changes to this revision. indygreg added a comment. I have significant changes to this series in flight. It's worth holding off on review. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2721 To: indygreg, #hg-reviewers Cc: mercurial-devel

[PATCH V5] forget: add --dry-run mode

2018-03-13 Thread Sushil khanchi
# HG changeset patch # User Sushil khanchi # Date 1520665399 -19800 # Sat Mar 10 12:33:19 2018 +0530 # Node ID bd9d29c4c929d0495e874d0c35d96cae29f5ff72 # Parent 4c71a26a4009d88590c9ae3d64a5912fd556d82e forget: add --dry-run mode diff -r 4c71a26a4009 -r

D2854: hgweb: str/bytes followups after indygreg's refactoring

2018-03-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY As of this change, we're mostly principled about using native strings (so bytes on 2, unicode on 3) for accessing HTTP headers. This restores test-getbundle.t

D2847: remotenames: work around move of ABCs in collections

2018-03-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 7021. durin42 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2847?vs=7004=7021 REVISION DETAIL https://phab.mercurial-scm.org/D2847 AFFECTED FILES hgext/remotenames.py CHANGE

D2853: tests: add a cat of `error.log` in subrepo test

2018-03-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This made some debugging a lot less painful when something was broken, and it costs us almost nothing, so I figure we may as well leave it in. REPOSITORY rHG

D2854: hgweb: str/bytes followups after indygreg's refactoring

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg requested changes to this revision. indygreg added a comment. This revision now requires changes to proceed. parsedrequest.headers is supposed to be bytes. One of the goals of this refactor was to make the WSGI code all bytes all the time. So if system strings are making their way

Re: [PATCH] peer-request: include more details about batch commands

2018-03-13 Thread Augie Fackler
> On Mar 13, 2018, at 12:39, Boris Feld wrote: > > # HG changeset patch > # User Boris Feld > # Date 1520268508 18000 > # Mon Mar 05 11:48:28 2018 -0500 > # Node ID 025b0a829b1c9a299b76b7303b4d46c269fcba48 > # Parent

D2776: hgweb: use a multidict for holding query string parameters

2018-03-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > request.py:39-41 > +# Stores (key, value) 2-tuples. This isn't the most efficient. But we > +# don't rely on parameters that much, so it shouldn't be a perf > issue. > +# we can always add dict for fast lookups. Sure,

D2852: wireproto: implement basic frame reading and processing

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We just implemented support for writing frames. Now let's implement support for reading them. The bulk of the new code is for a class that maintains the

D2837: wireproto: require POST for all HTTPv2 requests

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7015. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2837?vs=7011=7015 REVISION DETAIL https://phab.mercurial-scm.org/D2837 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/wireprotoserver.py

D2836: wireproto: define permissions-based routing of HTTPv2 wire protocol

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7014. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2836?vs=7010=7014 REVISION DETAIL https://phab.mercurial-scm.org/D2836 AFFECTED FILES mercurial/debugcommands.py mercurial/help/internals/wireprotocol.txt

D2850: wireproto: define content negotiation for HTTPv2

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7016. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2850?vs=7013=7016 REVISION DETAIL https://phab.mercurial-scm.org/D2850 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/wireprotoserver.py

D2851: wireproto: define and implement protocol for issuing requests

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The existing HTTP and SSH wire protocols suffer from a host of flaws and shortcomings. I've been wanting to rewrite the protocol for a while now. Supporting

D2836: wireproto: define permissions-based routing of HTTPv2 wire protocol

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7010. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2836?vs=6999=7010 REVISION DETAIL https://phab.mercurial-scm.org/D2836 AFFECTED FILES mercurial/debugcommands.py mercurial/help/internals/wireprotocol.txt

D2721: util: observable proxy objects for sockets

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7007. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2721?vs=6972=7007 REVISION DETAIL https://phab.mercurial-scm.org/D2721 AFFECTED FILES mercurial/util.py CHANGE DETAILS diff --git a/mercurial/util.py

D2837: wireproto: require POST for all HTTPv2 requests

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7011. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2837?vs=7000=7011 REVISION DETAIL https://phab.mercurial-scm.org/D2837 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/wireprotoserver.py

D2850: wireproto: define content negotiation for HTTPv2

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY HTTP messages communicate their media types and what media types they can understand via the Content-Type and Accept header, respectively. While I don't

D2849: hgweb: also set Content-Type header

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Our HTTP/WSGI server may convert the Content-Type HTTP request header to the CONTENT_TYPE WSGI environment key and not set HTTP_CONTENT_TYPE. Other WSGI server

D2834: wireproto: support /api/* URL space for exposing APIs

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7009. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2834?vs=6998=7009 REVISION DETAIL https://phab.mercurial-scm.org/D2834 AFFECTED FILES mercurial/configitems.py mercurial/hgweb/hgweb_mod.py

D2842: util: don't log low-level I/O calls for HTTP peer

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7008. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2842?vs=6996=7008 REVISION DETAIL https://phab.mercurial-scm.org/D2842 AFFECTED FILES mercurial/debugcommands.py mercurial/util.py

D2842: util: don't log low-level I/O calls for HTTP peer

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY `hg debugwireproto` is useful for testing HTTP interactions. Possibly more useful than `get-with-headers.py`. But one thing that makes it annoying for

D2837: wireproto: require POST for all HTTPv2 requests

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7000. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2837?vs=6983=7000 REVISION DETAIL https://phab.mercurial-scm.org/D2837 AFFECTED FILES mercurial/help/internals/wireprotocol.txt mercurial/wireprotoserver.py

D2836: wireproto: define permissions-based routing of HTTPv2 wire protocol

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6999. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2836?vs=6982=6999 REVISION DETAIL https://phab.mercurial-scm.org/D2836 AFFECTED FILES mercurial/debugcommands.py mercurial/help/internals/wireprotocol.txt

D2726: debugcommands: support connecting to HTTP peers

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6994. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2726?vs=6977=6994 REVISION DETAIL https://phab.mercurial-scm.org/D2726 AFFECTED FILES mercurial/debugcommands.py

D2839: tests: use $HTTP_DATE$ for Date header

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Support for the $HTTP_DATE$ substitution was recently added. Let's adopt it more widely. We had to tweak the substitution to be case insensitive, since

D2843: url: support suppressing Accept header

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Sending this header automatically could interfere with future testing and client behavior. Let's add a knob to disable the behavior. We don't have a

D2834: wireproto: support /api/* URL space for exposing APIs

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6998. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2834?vs=6979=6998 REVISION DETAIL https://phab.mercurial-scm.org/D2834 AFFECTED FILES mercurial/configitems.py mercurial/hgweb/hgweb_mod.py

D2840: hgweb: allow defining Server response header for HTTP server

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY By default, the string contains the Python version. Server operators may want to change this. Because we like deterministic tests, we change the test

D2841: debugcommands: support sending HTTP requests with debugwireproto

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We implement an action that can issue an HTTP request. We can define headers via arguments and specify a file to use for the HTTP request body. The

D2721: util: observable proxy objects for sockets

2018-03-13 Thread indygreg (Gregory Szorc)
indygreg requested review of this revision. indygreg added a comment. This series should now be ready to review. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2721 To: indygreg, #hg-reviewers Cc: mercurial-devel ___

D2848: xdiff: move stdint.h to xdiff.h

2018-03-13 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It's more correct to put it in xdiff.h since that file actually uses int64_t etc and xdiff.h is included by xinclude.h. This should fix the oss-fuzz build.

D2848: xdiff: move stdint.h to xdiff.h

2018-03-13 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGafebb7588e95: xdiff: move stdint.h to xdiff.h (authored by quark, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2848?vs=7005=7006 REVISION