D2881: hgweb: refactor multirequest to be a dict of lists

2018-03-19 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued, thanks. INLINE COMMENTS > request.py:31 > def __init__(self): > # 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. Deleted this comment in

D2594: graft: move logic to read current graft state file in state.py

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7106. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2594?vs=7022=7106 REVISION DETAIL https://phab.mercurial-scm.org/D2594 AFFECTED FILES mercurial/commands.py mercurial/state.py CHANGE DETAILS diff --git

D2595: graft: start using the new state file

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7107. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2595?vs=7023=7107 REVISION DETAIL https://phab.mercurial-scm.org/D2595 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git a/mercurial/commands.py

D2855: graft: add a version number to the state file formats

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7108. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2855?vs=7024=7108 REVISION DETAIL https://phab.mercurial-scm.org/D2855 AFFECTED FILES mercurial/commands.py mercurial/state.py CHANGE DETAILS diff --git

[PATCH 2 of 3 V2] templater: use named function to expand template against mapping dict (API)

2018-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1521203972 -32400 # Fri Mar 16 21:39:32 2018 +0900 # Node ID faaed935789fd2b36121a5a5ec407d1cb694d48b # Parent 75c311c2a72be114b791e0a6d4dd0d1cef20fa7b templater: use named function to expand template against mapping dict

[PATCH 3 of 3 V2] hgweb: evaluate the "default" value as template

2018-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1459660607 -32400 # Sun Apr 03 14:16:47 2016 +0900 # Node ID cc058f8ed3d6ea8ee9d9a49263ea133c5adff587 # Parent faaed935789fd2b36121a5a5ec407d1cb694d48b hgweb: evaluate the "default" value as template Strictly speaking,

[PATCH 1 of 3 V2] highlight: peek Content-Type header set by hgweb

2018-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1521461363 -32400 # Mon Mar 19 21:09:23 2018 +0900 # Node ID 75c311c2a72be114b791e0a6d4dd0d1cef20fa7b # Parent b6a4881cec1937a8d9cd2e9bbbdf5ca31cfa73dd highlight: peek Content-Type header set by hgweb There should be no need

Re: [PATCH 4 of 5] templater: use named function to named template against mapping dict (API)

2018-03-19 Thread Yuya Nishihara
On Mon, 19 Mar 2018 05:13:05 +, Martin von Zweigbergk wrote: > On Sat, Mar 17, 2018 at 9:39 PM Yuya Nishihara wrote: > > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1521203972 -32400 > > # Fri Mar 16 21:39:32 2018 +0900 > > # Node ID

Re: [PATCH V2] wireproto: explicitly flush stdio to prevent stalls on Windows

2018-03-19 Thread Yuya Nishihara
On Sun, 18 Mar 2018 15:48:12 -0400, Matt Harbison wrote: > On Sun, 11 Mar 2018 15:51:24 -0400, Matt Harbison > wrote: > > > # HG changeset patch > > # User Matt Harbison > > # Date 1520744281 18000 > > # Sat Mar 10 23:58:01 2018 -0500 > > #

D2893: py3: make tests/test-log-linerange.t work on Python 3

2018-03-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0baf0e3ee569: py3: make tests/test-log-linerange.t work on Python 3 (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

[PATCH 1 of 2] templater: add brief doc about internal data types

2018-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1521464102 -32400 # Mon Mar 19 21:55:02 2018 +0900 # Node ID cb8ab2dddf79e4ff203e22b4130ceca5b88bb14b # Parent cc058f8ed3d6ea8ee9d9a49263ea133c5adff587 templater: add brief doc about internal data types Hopefully this will

[PATCH 2 of 2] templatefuncs: do not stringify result of if*() expression

2018-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1521465040 -32400 # Mon Mar 19 22:10:40 2018 +0900 # Node ID 3e0eb7c1020aa020f5781bee23cad4f78a8f03ef # Parent cb8ab2dddf79e4ff203e22b4130ceca5b88bb14b templatefuncs: do not stringify result of if*() expression Returning a

D2889: filemerge: make the 'local' path match the format that 'base' and 'other' use

2018-03-19 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Not reviewed yet, but this can't be applied cleanly. Can you rebase? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2889 To: spectral, #hg-reviewers,

D2879: rebase: on abort, don't strip commits that didn't need rebased (issue5822)

2018-03-19 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG177f3b90335f: rebase: on abort, dont strip commits that didnt need rebased (issue5822) (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2878: rebase: avoid defining two lists with the same contents

2018-03-19 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa046d6890761: rebase: avoid defining two lists with the same contents (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2877: tests: demonstrate aborted rebase strips commits that didn't need rebasing

2018-03-19 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb9a6ee2066f9: tests: demonstrate aborted rebase strips commits that didnt need rebasing (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2887: filemerge: move temp file unlinks to _maketempfiles

2018-03-19 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3723b42ff953: filemerge: move temp file unlinks to _maketempfiles (authored by spectral, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2888: filemerge: use a single temp dir instead of temp files

2018-03-19 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe349ad5cbb71: filemerge: use a single temp dir instead of temp files (authored by spectral, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2888?vs=7086=7119#toc REPOSITORY

D2676: tests: stop over-specifying tempfile name

2018-03-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGccc2d5f10421: tests: stop over-specifying tempfile name (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2676?vs=7096=7109

D2892: py3: use print as a function in tests/test-narrow-clone-non-narrow-server.t

2018-03-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf4c7dc24e889: py3: use print as a function in tests/test-narrow-clone-non-narrow-server.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2881: hgweb: refactor multirequest to be a dict of lists

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG44467a4d472f: hgweb: refactor multirequest to be a dict of lists (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2881?vs=7078=7114#toc REPOSITORY rHG

D2895: py3: use "%d" % int instead of str(int)

2018-03-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1bf555cb680e: py3: use %d % int instead of str(int) (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2895?vs=7100=7113

D2894: py3: use pycompat.bytestr() in dirstate.py

2018-03-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd5d42c170f4d: py3: use pycompat.bytestr() in dirstate.py (authored by pulkit, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2894?vs=7099=7112#toc REPOSITORY rHG Mercurial

D2815: hgweb: extract entries() to standalone function

2018-03-19 Thread yuja (Yuya Nishihara)
yuja added a comment. > `entries` can be a list or a function returning a generator. I'm going to add a wrapper class for a generator of mappings, so this can be addressed later. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2815 To: indygreg,

D2877: tests: demonstrate aborted rebase strips commits that didn't need rebasing

2018-03-19 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued for stable, thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2877 To: martinvonz, #hg-reviewers, yuja Cc: mercurial-devel ___ Mercurial-devel mailing list

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

2018-03-19 Thread durin42 (Augie Fackler)
durin42 accepted this revision. durin42 added a comment. This revision is now accepted and ready to land. This one needs rebased, but looks good. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2842 To: indygreg, #hg-reviewers, durin42 Cc: durin42,

D2839: tests: use $HTTP_DATE$ for Date header

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG16203c6079e7: tests: use $HTTP_DATE$ for Date header (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2839?vs=6992=7154

D2722: url: add HTTP handler that uses a proxied socket

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG02221d6fb041: url: add HTTP handler that uses a proxied socket (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2841: debugcommands: support sending HTTP requests with debugwireproto

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb6a7070e7663: debugcommands: support sending HTTP requests with debugwireproto (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2720: debugcommands: introduce actions to perform deterministic reads

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG143219fc2620: debugcommands: introduce actions to perform deterministic reads (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2721: util: observable proxy objects for sockets

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8453699a1f21: util: observable proxy objects for sockets (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2721?vs=7007=7156#toc REPOSITORY rHG

D2726: debugcommands: support connecting to HTTP peers

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfc8939825632: debugcommands: support connecting to HTTP peers (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2725: httppeer: refactor how httppeer is created (API)

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8e89c2bec1f7: httppeer: refactor how httppeer is created (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2897: fix: new extension for automatically modifying file contents

2018-03-19 Thread hooper (Danny Hooper)
hooper created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This change implements most of the corresponding proposal as discussed at the 4.4 and 4.6 sprints: https://www.mercurial-scm.org/wiki/AutomaticFormattingPlan

Re: [PATCH 2 of 3 V2] templater: use named function to expand template against mapping dict (API)

2018-03-19 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Mar 19, 2018 at 6:45 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1521203972 -32400 > # Fri Mar 16 21:39:32 2018 +0900 > # Node ID faaed935789fd2b36121a5a5ec407d1cb694d48b > # Parent

D2889: filemerge: make the 'local' path match the format that 'base' and 'other' use

2018-03-19 Thread spectral (Kyle Lippincott)
spectral requested review of this revision. spectral added a comment. Ah, there's a "Request Review" that I'd never noticed before, choosing that to hopefully get this out of "Requires Revision" REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2889 To: spectral,

D2888: filemerge: use a single temp dir instead of temp files

2018-03-19 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 7122. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2888?vs=7119=7122 REVISION DETAIL https://phab.mercurial-scm.org/D2888 AFFECTED FILES mercurial/configitems.py mercurial/filemerge.py

D2889: filemerge: make the 'local' path match the format that 'base' and 'other' use

2018-03-19 Thread spectral (Kyle Lippincott)
spectral added a comment. In https://phab.mercurial-scm.org/D2889#46482, @yuja wrote: > Not reviewed yet, but this can't be applied cleanly. Can you rebase? This series should rebase cleanly onto https://phab.mercurial-scm.org/rHGa4a95bd7158de9e932ccf5e8d60095609fbe9994 (which

D2396: stack: import Evolve stack test file

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a subscriber: yuja. indygreg added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > revset.py:1534 > > +@predicate('stack([revs])', safe=True) > +def _stack(repo, subset, x): I'm not sure if the predicate

D2397: show: use the new stack definition for show stack

2018-03-19 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa72198790e15: show: use the new stack definition for show stack (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2399: stack: return a sorted smartrev by default

2018-03-19 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG68fcc5503ec5: stack: return a sorted smartrev by default (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2887: filemerge: move temp file unlinks to _maketempfiles

2018-03-19 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 7121. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2887?vs=7118=7121 REVISION DETAIL https://phab.mercurial-scm.org/D2887 AFFECTED FILES mercurial/filemerge.py CHANGE DETAILS diff --git

D2398: histedit: use the new stack definition for histedit

2018-03-19 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2987726085c6: histedit: use the new stack definition for histedit (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2396: stack: import Evolve stack test file

2018-03-19 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG407934a97bc7: stack: import Evolve stack test file (authored by lothiraldan, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2396?vs=6213=7125#toc REPOSITORY rHG Mercurial

D2896: commands: use keyword arguments in update function

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will help us in having a dictionary with the values of all the arguments and we can add more flags without adding an argument to the function. REPOSITORY

D2400: stack: begin to make the stack revset configurable

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg requested changes to this revision. indygreg added a comment. This revision now requires changes to proceed. Reading through the remainder of the series, I like the customization of stack evaluation. But the use of config options seems weird to me. It isn't clear why we need config

D1951: bundle: condition the changegroup part when creating a new bundle

2018-03-19 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG66c0ff381cfc: bundle: condition the changegroup part when creating a new bundle (authored by lothiraldan, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1951?vs=5150=7129#toc

D1952: bundlespec: move computing the bundle contentops in parsebundlespec

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg added a comment. I took a bit of a deeper look and found a few more things. Again, I like the direction of this patch. I think our goal for bundle2 generation should be to derive a set of options for its parts up front as quick as possible and pass that data structure into the

D1954: bundle: add the possibility to bundle a stream v2 part

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg requested changes to this revision. indygreg added a comment. This revision now requires changes to proceed. In https://phab.mercurial-scm.org/D1954#33576, @lothiraldan wrote: > Now that we have more time to review this series, this is the part I am the least comfortable with. I

D1955: bundlespec: add support for some variants

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. This looks reasonable to me. I'll hold off landing due to requirements on an earlier, not yet accepted patch. REPOSITORY rHG Mercurial REVISION DETAIL

D2400: stack: begin to make the stack revset configurable

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. I'm not super keen on introducing a new `[stack]` config section. But I don't have any better ideas for where this should go. `[ui]` is my best idea, but I thought we decided we wanted

D2900: wireproto: use named arguments when passing around frame data

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Named arguments is easier to reason about compared to positional arguments. Especially when you have many positional arguments. REPOSITORY rHG Mercurial

D2899: wireproto: define attr-based classes for representing frames

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When frames only had 3 attributes, it was reasonable to represent them as a tuple. With them growing more attributes, it will be easier to pass them around as

D2901: wireproto: explicitly track which requests are active

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We previously only tracked which requests are receiving. A misbehaving client could accidentally have multiple requests with the same ID in flight. We now

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

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg added a comment. So, assuming we can't introduce new top-level URLs without risking conflicts with subrepos or hgwebdir virtual repos, for at least the wire protocol, assuming we keep the `?cmd=capabilities` mechanism for the initial server handshake, we can add something that

D2852: wireproto: implement basic frame reading and processing

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7140. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2852?vs=7048=7140 REVISION DETAIL https://phab.mercurial-scm.org/D2852 AFFECTED FILES mercurial/configitems.py mercurial/util.py

D2860: wireproto: buffer output frames when in half duplex mode

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7144. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2860?vs=7052=7144 REVISION DETAIL https://phab.mercurial-scm.org/D2860 AFFECTED FILES mercurial/wireprotoframing.py mercurial/wireprotoserver.py

D2856: wireproto: nominally don't expose "batch" to version 2 wire transports

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7141. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2856?vs=7083=7141 REVISION DETAIL https://phab.mercurial-scm.org/D2856 AFFECTED FILES mercurial/wireproto.py mercurial/wireprotoserver.py

D2869: wireproto: add request IDs to frames

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

D2884: wireproto: experimental command to emit file data

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

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

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg planned changes to this revision. indygreg added a comment. I'm going to refactor tests for this to deal with an issue I had testing things on my MBP. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2836 To: indygreg, #hg-reviewers Cc: mercurial-devel

D2849: hgweb: also set Content-Type header

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7137. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2849?vs=7012=7137 REVISION DETAIL https://phab.mercurial-scm.org/D2849 AFFECTED FILES mercurial/hgweb/request.py CHANGE DETAILS diff --git

D2837: wireproto: require POST for all HTTPv2 requests

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7136. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2837?vs=7015=7136 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-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7138. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2850?vs=7016=7138 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-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7139. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2851?vs=7047=7139 REVISION DETAIL https://phab.mercurial-scm.org/D2851 AFFECTED FILES mercurial/debugcommands.py mercurial/help/internals/wireprotocol.txt

D2858: wireproto: define and implement responses in framing protocol

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

D2870: wireproto: support for receiving multiple requests

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7146. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2870?vs=7054=7146 REVISION DETAIL https://phab.mercurial-scm.org/D2870 AFFECTED FILES mercurial/wireprotoframing.py tests/test-http-api-httpv2.t

D2857: wireproto: implement basic command dispatching for HTTPv2

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7142. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2857?vs=7050=7142 REVISION DETAIL https://phab.mercurial-scm.org/D2857 AFFECTED FILES mercurial/wireprotoserver.py tests/test-http-api-httpv2.t CHANGE

D2902: wireproto: define frame to represent progress updates

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Today, a long-running operation on a server may run without any sign of progress on the client. This can lead to the conclusion that the server has hung or the

D2883: revlogstore: create and implement an interface for repo files storage

2018-03-19 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7149. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2883?vs=7080=7149 REVISION DETAIL https://phab.mercurial-scm.org/D2883 AFFECTED FILES mercurial/localrepo.py mercurial/repository.py

D2872: wireproto: define human output side channel frame

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

D2871: wireproto: service multiple command requests per HTTP request

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

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

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

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

2018-03-19 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5890e5872f36: hgweb: allow defining Server response header for HTTP server (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@36981: 3 new changesets (3 on stable)

2018-03-19 Thread Mercurial Commits
3 new changesets (3 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/b9a6ee2066f9 changeset: 36979:b9a6ee2066f9 branch: stable parent: 36845:ff2370a70fe8 user:Martin von Zweigbergk date:Thu Mar 15 21:51:33 2018 -0700 summary:

D2807: remotenames: add functionality to hoist remotebookmarks

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7101. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2807?vs=6870=7101 REVISION DETAIL https://phab.mercurial-scm.org/D2807 AFFECTED FILES hgext/remotenames.py tests/test-logexchange.t CHANGE DETAILS diff

D2808: remotenames: show remote bookmarks in `hg bookmarks`

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7102. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2808?vs=6871=7102 REVISION DETAIL https://phab.mercurial-scm.org/D2808 AFFECTED FILES hgext/remotenames.py tests/test-logexchange.t CHANGE DETAILS diff

D2873: remotenames: add functionality to override -B flag of push

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7103. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2873?vs=7061=7103 REVISION DETAIL https://phab.mercurial-scm.org/D2873 AFFECTED FILES hgext/remotenames.py tests/test-logexchange.t CHANGE DETAILS diff

D2875: remotenames: introduce a config option to allow creation of remote bookmarks

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7105. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2875?vs=7063=7105 REVISION DETAIL https://phab.mercurial-scm.org/D2875 AFFECTED FILES hgext/remotenames.py tests/test-logexchange.t CHANGE DETAILS diff

D2874: remotenames: synchronise remotenames after push also

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 7104. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2874?vs=7062=7104 REVISION DETAIL https://phab.mercurial-scm.org/D2874 AFFECTED FILES mercurial/exchange.py tests/test-logexchange.t CHANGE DETAILS diff

Re: [PATCH] test-lfs: glob over some output changes

2018-03-19 Thread Pulkit Goyal
On Mon, Mar 19, 2018 at 1:19 AM, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1521401569 14400 > # Sun Mar 18 15:32:49 2018 -0400 > # Node ID 2fc97972bc88809f86bbd91fbfe8582ab59c3ef7 > # Parent

Re: Introduction for GSOC'18

2018-03-19 Thread Pulkit Goyal
Hey Lalit, Here are some links which will help you: 1) Ideas page: https://www.mercurial-scm.org/wiki/SummerOfCode/Ideas2018. ​2) ​Contributing Changes: https://www.mercurial-scm.org/wiki/ContributingChanges 3) Easy bugs to solve:

D2892: py3: use print as a function in tests/test-narrow-clone-non-narrow-server.t

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2892 AFFECTED FILES tests/test-narrow-clone-non-narrow-server.t

D2894: py3: use pycompat.bytestr() in dirstate.py

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This prevents extra b'' prefixes in output. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2894 AFFECTED FILES

D2893: py3: make tests/test-log-linerange.t work on Python 3

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Made sure we write bytes to file and we suppress the return value of open(). REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2893

D2895: py3: use "%d" % int instead of str(int)

2018-03-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We need to use bytes internally. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2895 AFFECTED FILES mercurial/commands.py CHANGE