D2395: stack: add a new module for stack-related commands

2018-03-12 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. I don't remember a particular point that needed to be cleaned before merging this series. I think the next steps are to introduce a Stack object, update core commands to works with stacks and introduce new commands related to stacks according to my memories and s

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

2018-03-12 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch adds functionality to show list of remote bookmarks in `hg bookmarks` command. There is some indenting problem in the test output as the current bo

[PATCH 2 of 3] debugwireproto: dump server's stderr to temporary file if --noreadstderr

2018-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520858510 -32400 # Mon Mar 12 21:41:50 2018 +0900 # Node ID d3dd691a3fce0c501a34ed68d1a08b563a78794c # Parent 2e2a5376d006ad77ba9a07d341f6bc5418289af1 debugwireproto: dump server's stderr to temporary file if --noreadstderr Otherwise the se

[PATCH 3 of 3] sshpeer: drop support for not reading stderr

2018-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520858773 -32400 # Mon Mar 12 21:46:13 2018 +0900 # Node ID e6071590cd3e6e376ff45a11204065f08f72eee8 # Parent d3dd691a3fce0c501a34ed68d1a08b563a78794c sshpeer: drop support for not reading stderr It's handled by caller now. This patch backs

[PATCH 1 of 3] debugwireproto: close the write end before consuming all available data

2018-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520862453 -32400 # Mon Mar 12 22:47:33 2018 +0900 # Node ID 2e2a5376d006ad77ba9a07d341f6bc5418289af1 # Parent ff541b8cdee0cf9b75874639388bdc8b9854ac20 debugwireproto: close the write end before consuming all available data And make it read

D2744: hgweb: handle CONTENT_LENGTH

2018-03-12 Thread mharbison72 (Matt Harbison)
mharbison72 added inline comments. INLINE COMMENTS > request.py:205 > +# sent. But for all intents and purposes it should be OK to lie about > +# this, since a consumer will either either value to determine how many > +# bytes are available to read. typo: "... will either either valu

[Bug 5816] New: mq doesn't correctly block hg commit --amend on mq-managed commits

2018-03-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5816 Bug ID: 5816 Summary: mq doesn't correctly block hg commit --amend on mq-managed commits Product: Mercurial Version: unspecified Hardware: PC OS: Linux

Re: [PATCH 1 of 3] debugwireproto: close the write end before consuming all available data

2018-03-12 Thread Gregory Szorc
On Mon, Mar 12, 2018 at 7:17 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520862453 -32400 > # Mon Mar 12 22:47:33 2018 +0900 > # Node ID 2e2a5376d006ad77ba9a07d341f6bc5418289af1 > # Parent ff541b8cdee0cf9b75874639388bdc8b9854ac20 > debugwireproto: clo

Re: [PATCH 2 of 3] debugwireproto: dump server's stderr to temporary file if --noreadstderr

2018-03-12 Thread Gregory Szorc
On Mon, Mar 12, 2018 at 7:17 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520858510 -32400 > # Mon Mar 12 21:41:50 2018 +0900 > # Node ID d3dd691a3fce0c501a34ed68d1a08b563a78794c > # Parent 2e2a5376d006ad77ba9a07d341f6bc5418289af1 > debugwireproto: dum

Re: [PATCH 3 of 3] sshpeer: drop support for not reading stderr

2018-03-12 Thread Gregory Szorc
On Mon, Mar 12, 2018 at 7:17 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520858773 -32400 > # Mon Mar 12 21:46:13 2018 +0900 > # Node ID e6071590cd3e6e376ff45a11204065f08f72eee8 > # Parent d3dd691a3fce0c501a34ed68d1a08b563a78794c > sshpeer: drop suppo

D2809: rebase: extract function for rebasing a single node

2018-03-12 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We currently have _performrebase() and _performrebasesubset(), but we don't have a method for rebasing a single node (that's inside a loop in _performrebasesu

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

2018-03-12 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D2811 AFFECTED FILES hgext/rebase.py CHANGE DETAILS diff --git a/hgext/rebase.py b/hgext/rebase.py

D2810: rebase: inline _performrebasesubset()

2018-03-12 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Now that most of _performrebasesubset() has been moved into _rebasenode(), it's simple enough that we can inline it. REPOSITORY rHG Mercurial REVISION DETAI

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

2018-03-12 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 6872. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2760?vs=6788&id=6872 REVISION DETAIL https://phab.mercurial-scm.org/D2760 AFFECTED FILES hgext/rebase.py CHANGE DETAILS diff --git a/hgext/rebase.py b/hgex

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

2018-03-12 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 6873. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2761?vs=6789&id=6873 REVISION DETAIL https://phab.mercurial-scm.org/D2761 AFFECTED FILES hgext/rebase.py CHANGE DETAILS diff --git a/hgext/rebase.py b/hgex

[PATCH STABLE] hgweb: garbage collect on every request

2018-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1520885700 25200 # Mon Mar 12 13:15:00 2018 -0700 # Branch stable # Node ID 46905416a5f47e9e46aa2db0e2e4f45e7414c979 # Parent 9639c433be54191b4136b48fe70fc8344d2b5db2 hgweb: garbage collect on every request There appears to be a cycle in loca

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

2018-03-12 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > request.py:31 > > +class multidict(object): > +"""A dict like object that can store multiple values for a key. I'm a little uncomfortable with this not advertising that it's not a hash table, and htat lookups are O(N). Maybe send a docstrin

D2815: hgweb: extract entries() to standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY There was some real wonkiness going on here. Essentially, the inline function was being executed with default arguments because a function reference was passed

D2823: hgweb: construct {url} with req.apppath

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is how the hgweb WSGI application does it. Let's make the behavior consistent. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/

D2805: hgweb: remove some use of wsgireq in hgwebdir

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6877. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2805?vs=6866&id=6877 REVISION DETAIL https://phab.mercurial-scm.org/D2805 AFFECTED FILES mercurial/hgweb/hgwebdir

D2822: hgweb: support constructing URLs from an alternate base URL

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The web.baseurl config option allows server operators to define a custom URL for hosted content. The way it works today is that hgwebdir parses this config

D2812: hgweb: move readallowed to a standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY hgwebdir s kind of large. Let's make the class smaller by moving things that don't need to be there. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.m

D2819: hgweb: refactor repository name URL parsing

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The hgwebdir WSGI application detects when a requested URL is for a known repository and it effectively forwards the request to the hgweb WSGI application.

D2826: hgweb: don't pass wsgireq to makeindex and other functions

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We only ever access attributes that are available on our newer request type. So we no longer need this argument. REPOSITORY rHG Mercurial REVISION DETAIL ht

D2820: hgweb: change how dispatch path is reported

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When I implemented the new request object, I carried forward some ugly hacks until I could figure out what was happening. One of those was the handling of PATH_

D2816: hgweb: remove unused **map argument

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It was unused before the recent code refactoring AFAICT. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2816 AFFECTED FILES mercu

D2824: hgweb: rewrite path generation for index entries

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I think this code is easier to read. But the real reason to do this is to eliminate a consumer of wsgirequest. REPOSITORY rHG Mercurial REVISION DETAIL http

D2813: hgweb: move archivelist to standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This doesn't need to exist as an inline function in a method. Minor formatting changes were made as part of the move. REPOSITORY rHG Mercurial REVISION DET

D2814: hgweb: move rawentries() to a standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It was only accessing a few variables from the outer scope. Let's make it standalone so there is better clarity about what the inputs are. REPOSITORY rHG Mer

D2818: tests: add test coverage for parsing WSGI requests

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY A subsequent commit will need to make this code more complicated in order to support alternate base URLs. Let's establish some test coverage before we diverge t

D2817: hgweb: construct static URL like hgweb does

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY hgwebdir has a bit of code for constructing URLs. This reinvents wheels from our parsedrequest instance. And sometimes the behavior varies from what hgweb does.

D2825: hgweb: replace PATH_INFO with dispatchpath

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This was the last consumer of wsgireq.env from our WSGI applications! (Although indirect consumers of this attribute exist in wsgirequest.respond().) REPOSI

D2831: hgweb: store the raw WSGI environment dict

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We need this so we can construct a new request instance from the original dict. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D283

D2828: hgweb: pass modern request type into templater()

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Only a handful of consumers of wsgirequest remaining in this file... REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2828 AFFECTED

D2827: hgweb: use modern response type for index generation

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg 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/D2827 AFFECTED FILES mercurial/hgweb/hgwebdir_mod.py CHANGE DETAILS diff --git a/mercurial/hgweb/hgwe

D2829: hgweb: port to new response API

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY These were the last consumers of wsgirequest.respond() \o/ REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2829 AFFECTED FILES mer

D2821: hgweb: clarify that apppath begins with a forward slash

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg 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/D2821 AFFECTED FILES mercurial/hgweb/request.py CHANGE DETAILS diff --git a/mercurial/hgweb/request.p

D2830: hgweb: remove dead wsgirequest code

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY All responses now go through our modern response type. All code related to response handling can be deleted. REPOSITORY rHG Mercurial REVISION DETAIL https:

D2743: wireprotoserver: access headers through parsed request

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG14f70c44af6c: wireprotoserver: access headers through parsed request (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2743?vs

D2746: wireprotoserver: remove unused argument from _handlehttperror()

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0bc771bba220: wireprotoserver: remove unused argument from _handlehttperror() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org

D2744: hgweb: handle CONTENT_LENGTH

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGed0456fde625: hgweb: handle CONTENT_LENGTH (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2744?vs=6824&id=6899 REVISION DE

D2770: hgweb: make parsedrequest part of wsgirequest

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1f7d9024674c: hgweb: make parsedrequest part of wsgirequest (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2770?vs=6832&id=

D2774: hgweb: remove support for POST form data (BC)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG01f6bba64424: hgweb: remove support for POST form data (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2774?vs=6834&id=

D2749: hgweb: remove wsgirequest.__iter__

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe3f809e0fe8e: hgweb: remove wsgirequest.__iter__ (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2749?vs=6829&id=6904 REVIS

D2773: hgweb: remove support for short query string based aliases (BC)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG422be99519e5: hgweb: remove support for short query string based aliases (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org

D2768: hgweb: use a capped reader for WSGI input stream

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG290fc4c3d1e0: hgweb: use a capped reader for WSGI input stream (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2768?vs=6830&

D2747: hgweb: remove unused methods on wsgirequest

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe85574176467: hgweb: remove unused methods on wsgirequest (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2747?vs=6827&id=69

D2771: hgweb: expose input stream on parsed WSGI request object

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGda4e2f87167d: hgweb: expose input stream on parsed WSGI request object (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2771?

D2745: hgweb: store and use request method on parsed request

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG16292bbda39c: hgweb: store and use request method on parsed request (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2745?vs=

D2769: hgweb: refactor the request draining code

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2cdf47e14c30: hgweb: refactor the request draining code (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2769?vs=6831&id=6907

D2748: hgweb: remove wsgirequest.read()

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd6cd1451212e: hgweb: remove wsgirequest.read() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2748?vs=6828&id=6903 REVISIO

D2778: tests: add test for a wire protocol request to wrong base URL

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2859c6fa4fc2: tests: add test for a wire protocol request to wrong base URL (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D

D2767: hgweb: document continuereader

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7066617187c1: hgweb: document continuereader (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2767?vs=6811&id=6906 REVISION

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

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGec0af9c59270: hgweb: use a multidict for holding query string parameters (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D277

D2783: hgweb: expose URL scheme and REMOTE_* attributes

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa755fd3b7146: hgweb: expose URL scheme and REMOTE_* attributes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2783?vs=6844&

D2785: hgweb: inline caching() and port to modern mechanisms

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7ad6a275316f: hgweb: inline caching() and port to modern mechanisms (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2785?vs=

D2780: hgweb: set variables in qsparams

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4e06e8336634: hgweb: set variables in qsparams (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2780?vs=6841&id=6916 REVISIO

D2782: hgweb: remove wsgirequest.form (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcf69df7ea385: hgweb: remove wsgirequest.form (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2782?vs=6843&id=6918 REV

D2779: hgweb: use our new request object for "style" parameter

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1a1972b1a1ff: hgweb: use our new request object for "style" parameter (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2779?v

D2781: hgweb: perform all parameter lookup via qsparams

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3d60a22e27f5: hgweb: perform all parameter lookup via qsparams (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2781?vs=6842&

D2784: hgweb: expose repo name on parsedrequest

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8ddb5c354906: hgweb: expose repo name on parsedrequest (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2784?vs=6845&id=6920

D2775: hgweb: create dedicated type for WSGI responses

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa88d68dc3ee8: hgweb: create dedicated type for WSGI responses (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2775?vs=6837&i

D2787: hgweb: port most @webcommand to use modern response type

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9fc3d814646e: hgweb: port most @webcommand to use modern response type (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2787?

D2790: tests: additional test coverage of archive web command

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG40193f977a8b: tests: additional test coverage of archive web command (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2790?vs

D2788: hgweb: remove one-off routing for file?style=raw

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG89002d07a114: hgweb: remove one-off routing for file?style=raw (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2788?vs=6849&

D2789: hgweb: port static file handling to new response API

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG98baf8dea553: hgweb: port static file handling to new response API (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2789?vs=6

D2791: hgweb: refactor fake file object proxy for archiving

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG16499427f6de: hgweb: refactor fake file object proxy for archiving (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2791?vs=6

D2786: hgweb: support using new response object for web commands

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1f42d621f090: hgweb: support using new response object for web commands (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2786

D2795: hgweb: send errors using new response API

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9675147aec06: hgweb: send errors using new response API (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2795?vs=6856&id=6931

D2794: hgweb: refactor 304 handling code

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGccb70a77f746: hgweb: refactor 304 handling code (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2794?vs=6855&id=6930 REVISI

D2797: hgweb: stop setting headers on wsgirequest

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG96a93625a824: hgweb: stop setting headers on wsgirequest (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2797?vs=6858&id=693

D2793: hgweb: transition permissions hooks to modern request type (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG02bea04b4c54: hgweb: transition permissions hooks to modern request type (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.or

D2792: hgweb: port archive command to modern response API

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG97f44b0720e2: hgweb: port archive command to modern response API (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2792?vs=685

D2800: hgweb: use templater on requestcontext instance

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGece242db5000: hgweb: use templater on requestcontext instance (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2800?vs=6861&i

D2799: hgweb: add a sendtemplate() helper function

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG061635d4221c: hgweb: add a sendtemplate() helper function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2799?vs=6860&id=69

D2796: hgweb: always return iterable from @webcommand functions (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG67fb0dca29bc: hgweb: always return iterable from @webcommand functions (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/

D2798: hgweb: use web.req instead of req.req

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG66f62d120ba2: hgweb: use web.req instead of req.req (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2798?vs=6859&id=6934 RE

D2803: hgweb: stop passing req and tmpl into @webcommand functions (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4daa22071d5d: hgweb: stop passing req and tmpl into @webcommand functions (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.o

D2801: hgweb: don't redundantly pass templater with requestcontext (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc68e79dcf21c: hgweb: don't redundantly pass templater with requestcontext (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.o

D2802: hgweb: pass modern request type into various webutil functions (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG563fd95a6efb: hgweb: pass modern request type into various webutil functions (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-sc

D2812: hgweb: move readallowed to a standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf8d6d9b29b39: hgweb: move readallowed to a standalone function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2812?vs=6878&

D2813: hgweb: move archivelist to standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG04af43e0a997: hgweb: move archivelist to standalone function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2813?vs=6879&id

D2805: hgweb: remove some use of wsgireq in hgwebdir

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfc4e31297ffb: hgweb: remove some use of wsgireq in hgwebdir (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2805?vs=6877&id=

D2804: hgweb: fix a bug due to variable name typo

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG97e1dda94af8: hgweb: fix a bug due to variable name typo (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2804?vs=6865&id=694

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

2018-03-12 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > test-rename.t:668 > + $ mkdir mtime > + $ python -c 'import os; p="mtime/f"; t=1234567890; open(p, "w").close(); > os.utime(p, (t, t))' > + $ hg ci -qAm 'add mtime dir' You either need to do $PYTHON or do inline python, eg >>> import os >

D2816: hgweb: remove unused **map argument

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGee395147bb28: hgweb: remove unused **map argument (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2816?vs=6882&id=6946 REVI

D2818: tests: add test coverage for parsing WSGI requests

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb2a3308d6a21: tests: add test coverage for parsing WSGI requests (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2818?vs=688

D2817: hgweb: construct static URL like hgweb does

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa5c478843c82: hgweb: construct static URL like hgweb does (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2817?vs=6883&id=69

D2815: hgweb: extract entries() to standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG455918512ed2: hgweb: extract entries() to standalone function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2815?vs=6881&i

D2814: hgweb: move rawentries() to a standalone function

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf370f1b4f12c: hgweb: move rawentries() to a standalone function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2814?vs=6880

D2821: hgweb: clarify that apppath begins with a forward slash

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe67a2e05fa8a: hgweb: clarify that apppath begins with a forward slash (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2821?v

D2819: hgweb: refactor repository name URL parsing

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd7fd203e36cc: hgweb: refactor repository name URL parsing (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2819?vs=6885&id=69

D2820: hgweb: change how dispatch path is reported

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd0b0fedbfb53: hgweb: change how dispatch path is reported (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2820?vs=6886&id=69

D2825: hgweb: replace PATH_INFO with dispatchpath

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG803e0fc0cc9a: hgweb: replace PATH_INFO with dispatchpath (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2825?vs=6891&id=695

D2827: hgweb: use modern response type for index generation

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG93717f082af9: hgweb: use modern response type for index generation (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2827?vs=6

D2826: hgweb: don't pass wsgireq to makeindex and other functions

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG092ab4ba7ee5: hgweb: don't pass wsgireq to makeindex and other functions (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D282

D2823: hgweb: construct {url} with req.apppath

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG006165d4d7e2: hgweb: construct {url} with req.apppath (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2823?vs=6889&id=6954

D2824: hgweb: rewrite path generation for index entries

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe473a032f38a: hgweb: rewrite path generation for index entries (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2824?vs=6890&

D2822: hgweb: support constructing URLs from an alternate base URL

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG219b23359f4c: hgweb: support constructing URLs from an alternate base URL (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D28

D2832: hgweb: remove wsgirequest (API)

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Good riddance. .. api:: The old ``wsgirequest`` class for handling everything WSGI in hgweb has been replaced by separate request and response types

  1   2   >