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

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg added a comment. 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 this invalidates the target freshness checks of mtime-based build systems.

[PATCH 2 of 3] test-lfs: dial up the debugging on commands that interact with the server

2018-03-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1520908201 14400 # Mon Mar 12 22:30:01 2018 -0400 # Node ID f28c282005085edb77f64612be503a7cd43ab994 # Parent dade0442450d1f813ff5c90025603363210aa0f1 test-lfs: dial up the debugging on commands that interact with the

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

2018-03-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1520910527 14400 # Mon Mar 12 23:08:47 2018 -0400 # Node ID d0b66408b224022fd96cb347ff3439e807812b21 # Parent f28c282005085edb77f64612be503a7cd43ab994 lfs: debug print HTTP headers and JSON payload received from the

[PATCH 1 of 3] tests: add a substitution pattern for dates in HTTP headers and LFS payload

2018-03-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1519503121 18000 # Sat Feb 24 15:12:01 2018 -0500 # Node ID dade0442450d1f813ff5c90025603363210aa0f1 # Parent 6aeb076b1321c540db6419fc48c8a3a552fb596b tests: add a substitution pattern for dates in HTTP headers and

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

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 Now that we have a scaffolding for serving version 2 of the HTTP protocol, let's start implementing it. A good place to start is URL routing and basic

D2837: wireproto: require POST for all HTTPv2 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 Wire protocol version 1 transfers argument data via request headers by default. This has historically caused problems because servers institute limits on the

D2835: tests: teach get-with-headers to send other request methods

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 "get" in "get-with-headers" now makes this a poorly named command. But renaming it would be rather invasive. It's tempting to invent a new script to make

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

2018-03-12 Thread Matt Harbison
On Mon, 12 Mar 2018 21:55:26 -0400, Jun Wu wrote: Looks good. Thanks for fixing this! Do you think it's worth changing the few other instances of long over to uint64? If nothing else, it will be unconditionally 64 bit ops. But I'm not sure what else you have pending. (I

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

2018-03-12 Thread Jun Wu
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 2018 -0400 > # Node ID 60bb2f7dd9ba313f96374470e8419bf1a20454a1 >

[PATCH] xdiff: fix a hard crash on Windows

2018-03-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1520905818 14400 # Mon Mar 12 21:50:18 2018 -0400 # Node ID 60bb2f7dd9ba313f96374470e8419bf1a20454a1 # Parent aed445748c7885482cd90e56e81f57a13d4ac95c xdiff: fix a hard crash on Windows The xdiff case of

D2678: help: supporting both help and doc for aliases

2018-03-12 Thread spectral (Kyle Lippincott)
spectral added a comment. In https://phab.mercurial-scm.org/D2678#45552, @durin42 wrote: > Ugh: > > --- /home/augie/hg/tests/test-alias.t > +++ /home/augie/hg/tests/test-alias.t.err > @@ -357,15 +357,8 @@ >properly recursive > > $ hg dln > - changeset:

D2678: help: supporting both help and doc for aliases

2018-03-12 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 6980. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2678?vs=6635=6980 REVISION DETAIL https://phab.mercurial-scm.org/D2678 AFFECTED FILES hgext/show.py mercurial/configitems.py mercurial/dispatch.py

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

2018-03-12 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. I’ve got a patch locally that will pattern substitute away the date. It’s been useful for LFS, because I’ve been debug dumping the headers and JSON on the client side. I’ll try to submit that tonight. REPOSITORY rHG Mercurial REVISION DETAIL

D2720: debugcommands: introduce actions to perform deterministic reads

2018-03-12 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. Sounds good to me. I think the only thing I have inflight is the patch with explicit flushes in the observer. I haven't tried Yuya's series yet, because I'm not sure where it fits into the other stuff inflight. I don't mind mopping this up after it lands.

D2720: debugcommands: introduce actions to perform deterministic reads

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg added a subscriber: yuja. indygreg added a comment. I removed the test changes from this. So we should be able to land it without causing chaos to Windows tests. It may conflict with other patches that @yuja and @mharbison72 have in flight though. REPOSITORY rHG Mercurial

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

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6975. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2725?vs=6720=6975 REVISION DETAIL https://phab.mercurial-scm.org/D2725 AFFECTED FILES mercurial/httppeer.py tests/test-check-interfaces.py CHANGE DETAILS

D2726: debugcommands: support connecting to HTTP peers

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6977. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2726?vs=6721=6977 REVISION DETAIL https://phab.mercurial-scm.org/D2726 AFFECTED FILES mercurial/debugcommands.py tests/test-http-protocol.t CHANGE DETAILS

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

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 will soon be introducing a new version of the HTTP wire protocol. One of the things I want to change with it is the URL routing. I want to rely on URL paths

D2721: util: observable proxy objects for sockets

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

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

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 Date and Server HTTP headers are dynamic by nature. They are also present on every response and are mostly advisory. It isn't important for us to test

D2723: httppeer: remove _requestbuilder attribute

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6973. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2723?vs=6718=6973 REVISION DETAIL https://phab.mercurial-scm.org/D2723 AFFECTED FILES mercurial/httppeer.py CHANGE DETAILS diff --git

D2724: httppeer: alias url as urlmod

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6974. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2724?vs=6719=6974 REVISION DETAIL https://phab.mercurial-scm.org/D2724 AFFECTED FILES mercurial/httppeer.py CHANGE DETAILS diff --git

D2720: debugcommands: introduce actions to perform deterministic reads

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

[Bug 5817] New: fold should respect experimental.evolve.allowdivergence

2018-03-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5817 Bug ID: 5817 Summary: fold should respect experimental.evolve.allowdivergence Product: Mercurial Version: unspecified Hardware: PC OS: Linux

mercurial@36843: 55 new changesets

2018-03-12 Thread Mercurial Commits
55 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/09b58af83d44 changeset: 36789:09b58af83d44 user:Augie Fackler date:Mon Aug 29 10:42:58 2016 -0400 summary: bookmarks: test for exchanging long bookmark names (issue5165)

D2691: commands: don't check for merge.update() truthiness

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6968. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2691?vs=6651=6968 REVISION DETAIL https://phab.mercurial-scm.org/D2691 AFFECTED FILES hgext/rebase.py mercurial/commands.py CHANGE DETAILS diff --git

D2694: merge: deprecate accessing update results by index

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6970. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2694?vs=6654=6970 REVISION DETAIL https://phab.mercurial-scm.org/D2694 AFFECTED FILES hgext/histedit.py hgext/rebase.py mercurial/commands.py

D2702: commands: use constants for merge things

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6971. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2702?vs=6663=6971 REVISION DETAIL https://phab.mercurial-scm.org/D2702 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git

D2692: merge: return an attrs class from update() and applyupdates()

2018-03-12 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6969. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2692?vs=6652=6969 REVISION DETAIL https://phab.mercurial-scm.org/D2692 AFFECTED FILES mercurial/hg.py mercurial/merge.py CHANGE DETAILS diff --git

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

2018-03-12 Thread Matt Harbison
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 +0530 # Node ID a1be8989c0158abc69ebd97ca8a0cc7dc3801be9 # Parent

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

2018-03-12 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9e460318ca4b: copyfile: preserve stat info (mtime, etc.) when doing copies/renames (authored by spectral, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2832: hgweb: remove wsgirequest (API)

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf0a851542a05: hgweb: remove wsgirequest (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2832?vs=6958=6966 REVISION

Re: [PATCH 3 of 3] dagop: move lines() out of annotate()

2018-03-12 Thread Augie Fackler
On Mon, Mar 12, 2018 at 12:00:41AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1519849241 18000 > # Wed Feb 28 15:20:41 2018 -0500 > # Node ID ba4ae5454659806d03b7e4ebceb7238bfe46443e > # Parent f634f309bed610e84b4ff151044f320461509e78

Re: [PATCH 3 of 3] bdiff: convert more longs to int64_t

2018-03-12 Thread Augie Fackler
On Fri, Mar 09, 2018 at 10:07:03PM -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1520650747 18000 > # Fri Mar 09 21:59:07 2018 -0500 > # Node ID 09be2aeb8f5a364fab574ed3cf00bddbb7b9728a > # Parent

Re: [PATCH 5 of 5] templater: split template functions to new module

2018-03-12 Thread Augie Fackler
On Fri, Mar 09, 2018 at 09:45:34PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520515382 -32400 > # Thu Mar 08 22:23:02 2018 +0900 > # Node ID b3f764c8098d6de1dca102f8b5b5d05721a6341f > # Parent

Re: [PATCH STABLE] amend: abort if unresolved merge conflicts found (issue5805)

2018-03-12 Thread Augie Fackler
On Sun, Mar 11, 2018 at 08:16:19PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520766638 -32400 > # Sun Mar 11 20:10:38 2018 +0900 > # Branch stable > # Node ID eeb87b24aea7f547f6d95b812dd080dc6e9ab194 > # Parent

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

2018-03-12 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 6965. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2729?vs=6964=6965 REVISION DETAIL https://phab.mercurial-scm.org/D2729 AFFECTED FILES hgext/largefiles/overrides.py mercurial/cmdutil.py

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

2018-03-12 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > test-rename.t:681 > + >>> filename = "mtime2/f" > + >>> sys.exit(int(not (os.stat(filename).st_mtime < 1234567999))) Oh, probably don't do sys.exit here.

D2691: commands: don't check for merge.update() truthiness

2018-03-12 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added a comment. This revision now requires changes to proceed. Needs rebased, and the parent listed in the patch header isn't available for me. Can you give a rebase a shot? REPOSITORY rHG Mercurial REVISION DETAIL

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

2018-03-12 Thread spectral (Kyle Lippincott)
spectral marked 2 inline comments as done. spectral added a comment. Neat, didn't know about the inline python stuff. That's much nicer. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2729 To: spectral, #hg-reviewers, durin42 Cc: durin42, mercurial-devel

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

2018-03-12 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 6964. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2729?vs=6735=6964 REVISION DETAIL https://phab.mercurial-scm.org/D2729 AFFECTED FILES hgext/largefiles/overrides.py mercurial/cmdutil.py

D2678: help: supporting both help and doc for aliases

2018-03-12 Thread durin42 (Augie Fackler)
durin42 added a comment. Ugh: --- /home/augie/hg/tests/test-alias.t +++ /home/augie/hg/tests/test-alias.t.err @@ -357,15 +357,8 @@ properly recursive $ hg dln - changeset: -1: - phase: public -

D2806: tweakdefaults: add commands.status.verbose to tweakefaults

2018-03-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG98487ad0cf8b: tweakdefaults: add commands.status.verbose to tweakefaults (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2831: hgweb: store the raw WSGI environment dict

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG84110a1d0f7d: hgweb: store the raw WSGI environment dict (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2831?vs=6897=6962

D2830: hgweb: remove dead wsgirequest code

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcd6ae9ab7bd8: hgweb: remove dead wsgirequest code (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2830?vs=6896=6961

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

2018-03-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6a0e4efbc61e: hgweb: pass modern request type into templater() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2829: hgweb: port to new response API

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

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

2018-03-12 Thread durin42 (Augie Fackler)
durin42 accepted this revision as: durin42. durin42 added a comment. Sounds nice. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2808 To: pulkit, #hg-reviewers, durin42 Cc: durin42, mercurial-devel ___ Mercurial-devel

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

D2807: remotenames: add functionality to hoist remotebookmarks

2018-03-12 Thread durin42 (Augie Fackler)
durin42 accepted this revision as: durin42. durin42 added a comment. Seems fine, I'd like to hear what others think? I'm not sure I'm crazy about "hoistedname" I guess. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2807 To: pulkit, #hg-reviewers, durin42

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=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

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

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

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: dont pass wsgireq to makeindex and other functions (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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=6955

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

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=6949

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

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

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

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=6947

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=6946

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

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

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

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=6940

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: dont redundantly pass templater with requestcontext (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

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

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

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

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=6934

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=6935

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

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

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=6933

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

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=6930 REVISION

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=6931

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

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

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

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

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

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

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

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=6920

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

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=6916 REVISION

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

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

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=6918

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

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

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=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=6903 REVISION

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

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=6904

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

  1   2   >