[PATCH 2 of 5] wireproto: show unknown id and flags in repr(frame)

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523154118 -32400 # Sun Apr 08 11:21:58 2018 +0900 # Node ID bb8635c7a6c30b988e9439ed9057857250838a7a # Parent 9cf44f780dc77847c7d8628c623148cadd0c252f wireproto: show unknown id and flags in repr(frame) Perhaps we'll want it for debugging.

[PATCH 4 of 5] tests: quote variable passed to shell test command

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523158259 -32400 # Sun Apr 08 12:30:59 2018 +0900 # Node ID 8aa9c24cdfed32a38e777474f6d5e6652de7dc28 # Parent 9a35569ef5ab58c975f56ecb063a1b82b25ec6b8 tests: quote variable passed to shell test command diff --git a/tests/helpers-testrepo.sh

[PATCH 3 of 5] py3: system-stringify repr(frame)

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523154235 -32400 # Sun Apr 08 11:23:55 2018 +0900 # Node ID 9a35569ef5ab58c975f56ecb063a1b82b25ec6b8 # Parent bb8635c7a6c30b988e9439ed9057857250838a7a py3: system-stringify repr(frame) That's the Py3 requirement. diff --git a/mercurial/wir

[PATCH 5 of 5] wireproto: convert python literal to object without using unsafe eval()

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523156146 -32400 # Sun Apr 08 11:55:46 2018 +0900 # Node ID d06df110b5f0ac978f800e1ade62c0a4642f08a0 # Parent 8aa9c24cdfed32a38e777474f6d5e6652de7dc28 wireproto: convert python literal to object without using unsafe eval() Follows up cc5a04

[PATCH 1 of 5] wireproto: fix repr(frame) to not crash by unknown type id

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523153687 -32400 # Sun Apr 08 11:14:47 2018 +0900 # Node ID 9cf44f780dc77847c7d8628c623148cadd0c252f # Parent 632b928992039afe96df8f99a8dec6127ff983f1 wireproto: fix repr(frame) to not crash by unknown type id Follows up 5ef2da00e935. diff

[PATCH 5 of 7] py3: work around weird handling of bytes/unicode in decode_header()

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523168550 -32400 # Sun Apr 08 15:22:30 2018 +0900 # Node ID d08cb276664c86807fc497b0c7b3980d3752b613 # Parent 323e34785dacaad98d06dd3b15c2370779149e97 py3: work around weird handling of bytes/unicode in decode_header() Basically decode_head

[PATCH 2 of 7] py3: use lower-cased module 'email.message' in test-import.t

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523166384 -32400 # Sun Apr 08 14:46:24 2018 +0900 # Node ID 017138c795b7bea75181b759807dcd077e0a29f6 # Parent 76e926434da64ea97ab0ef540e4a71c6490aee7d py3: use lower-cased module 'email.message' in test-import.t diff --git a/tests/test-impo

[PATCH 3 of 7] py3: fix string issues of email message in test-import.t

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523167152 -32400 # Sun Apr 08 14:59:12 2018 +0900 # Node ID 9e3b46147b952770b7b10d626a745df8f3c1eeb1 # Parent 017138c795b7bea75181b759807dcd077e0a29f6 py3: fix string issues of email message in test-import.t - payload can be bytes - headers

[PATCH 4 of 7] py3: use system string to access email headers

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523167380 -32400 # Sun Apr 08 15:03:00 2018 +0900 # Node ID 323e34785dacaad98d06dd3b15c2370779149e97 # Parent 9e3b46147b952770b7b10d626a745df8f3c1eeb1 py3: use system string to access email headers diff --git a/mercurial/patch.py b/mercuria

[PATCH 1 of 7] py3: drop b'' from error message of fancyopts

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523169700 -32400 # Sun Apr 08 15:41:40 2018 +0900 # Node ID 76e926434da64ea97ab0ef540e4a71c6490aee7d # Parent d06df110b5f0ac978f800e1ade62c0a4642f08a0 py3: drop b'' from error message of fancyopts diff --git a/mercurial/fancyopts.py b/mercu

[PATCH 7 of 7] py3: use s.startswith() instead of s[n] while parsing patches

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523169548 -32400 # Sun Apr 08 15:39:08 2018 +0900 # Node ID 19d68ddf2b9f8e3ed1c912eea91142481b05a7b9 # Parent 7ed301f165390dfd2a9f4e8c6f6bc49ecba04c79 py3: use s.startswith() instead of s[n] while parsing patches I know 'bytes[n] in bytes'

[PATCH 6 of 7] py3: do not try to byte-stringify None in cmdutil.tryimportone()

2018-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1523169129 -32400 # Sun Apr 08 15:32:09 2018 +0900 # Node ID 7ed301f165390dfd2a9f4e8c6f6bc49ecba04c79 # Parent d08cb276664c86807fc497b0c7b3980d3752b613 py3: do not try to byte-stringify None in cmdutil.tryimportone() It's a debug message, so

[PATCH v4] sslutil-add tls 1.3 support - done during IETF101 Hackathon

2018-04-08 Thread Codarren Velvindron
# HG changeset patch # User Codarren Velvindron # Date 1523166519 -14400 # Sun Apr 08 09:48:39 2018 +0400 # Node ID 5df15ef67ce1674a8f408058cd953de5ab9601cf # Parent 632b928992039afe96df8f99a8dec6127ff983f1 slutil: add tls 1.3 support Done during the IETF101 Hackathon. diff -r 632b92899203

Re: [PATCH v3] sslutil-add tls 1.3 support - done during IETF101 Hackathon

2018-04-08 Thread Yuya Nishihara
On Sun, 8 Apr 2018 07:41:34 +0400, Codarren Velvindron wrote: > > $HGPORT3 isn't defined. > > can we reuse already defined variables? like $HGPORT? or should we define > new vars? After killing running daemons, yes. ___ Mercurial-devel mailing list Merc

Re: [PATCH v4] sslutil-add tls 1.3 support - done during IETF101 Hackathon

2018-04-08 Thread Yuya Nishihara
On Sun, 8 Apr 2018 09:51:45 +0400, Codarren Velvindron wrote: > # HG changeset patch > # User Codarren Velvindron > # Date 1523166519 -14400 > # Sun Apr 08 09:48:39 2018 +0400 > # Node ID 5df15ef67ce1674a8f408058cd953de5ab9601cf > # Parent 632b928992039afe96df8f99a8dec6127ff983f1 > slutil: a

D3187: phase: add dry-run functionality

2018-04-08 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 7877. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3187?vs=7874&id=7877 REVISION DETAIL https://phab.mercurial-scm.org/D3187 AFFECTED FILES mercurial/commands.py tests/test-completion.t tests/test-phases.t

[PATCH 1 of 2 V2] hgweb: make followlines button absolutely positioned

2018-04-08 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1523191987 -28800 # Sun Apr 08 20:53:07 2018 +0800 # Node ID 41826e0ae22d24a04cc1f4b911a56b787635fa6e # Parent 0a1fb171dc1ddd6a1cd1a5666e92299db12e9f5d hgweb: make followlines button absolutely positioned It used to have position: absolute

[PATCH 2 of 2 V2] paper: make all source lines have the same minimum height

2018-04-08 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 152281 -28800 # Wed Apr 04 13:14:48 2018 +0800 # Node ID 7279e5d2e3b27b46b19218f91f19023bce5f6c30 # Parent 41826e0ae22d24a04cc1f4b911a56b787635fa6e paper: make all source lines have the same minimum height Empty source lines in paper an

D3185: context: convert binary changeid to hex also for filtered ones

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D3185#51146, @yuja wrote: > IIUC, `Filtered*Error`s are re-raised up to scmutil.revsymbol(), so fixing > up `changeid` here wouldn't work. Sigh, you're right, of course. Thanks for checking. So this is already handle

D3158: histedit: look up partial nodeid as partial nodeid

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 7879. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3158?vs=7783&id=7879 REVISION DETAIL https://phab.mercurial-scm.org/D3158 AFFECTED FILES hgext/histedit.py CHANGE DETAILS diff --git a/hgext/histedit.py b/

D3190: merge: avoid unnecessary conversion from binary nodeid to binary nodeid

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY "node" is already a binary nodeid here, so there's no need to convert it. repo.lookup() will soon lose support for binary nodeids as input. REPOSITORY rHG Me

Re: [PATCH 1 of 7] py3: drop b'' from error message of fancyopts

2018-04-08 Thread Pulkit Goyal
On Sun, Apr 8, 2018 at 2:39 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1523169700 -32400 > # Sun Apr 08 15:41:40 2018 +0900 > # Node ID 76e926434da64ea97ab0ef540e4a71c6490aee7d > # Parent d06df110b5f0ac978f800e1ade62c0a4642f08a0 > py3: drop b'' from er

D3189: context: extract partial nodeid lookup method to scmutil

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We will add another caller soon, and there's a non-obvious reason to use the unfiltered repo that we don't want to copy across the code base. REPOSITORY rH

D3159: eol: look up partial nodeid as partial nodeid

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 7881. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3159?vs=7784&id=7881 REVISION DETAIL https://phab.mercurial-scm.org/D3159 AFFECTED FILES hgext/eol.py tests/test-blackbox.t CHANGE DETAILS diff --git a/t

D3191: clone: avoid using repo.lookup() with binary nodeid

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The code in hg.clone() is a bit of a mess, but it seems like the "checkout" variable is always a binary nodeid (tests pass when run with "assert len(checkout)

D3192: addbranchrevs: no longer accept revset as "revs" (API)

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The only caller was removed in https://phab.mercurial-scm.org/rHG0b4692b9646dda65a25868ad168023728b19b4c8 (bundle: avoid repo.lookup() for converting revnum t

D3194: context: handle namespaces in revsymbol()

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Similar reasoning as previous patches. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3194 AFFECTED FILES mercurial/scmutil.py

D3193: scmutil: handle full hex nodeids in revsymbol()

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is a bit unfortunate, but it enables moving other pieces out of changectx's constructor without affecting the order in which we look up things (e.g. hex

D3197: context: add deprecation warnings for deprecated types of changeids

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It's close to code freeze, and dropping support for repo['123'] and repo ['my-bookmark'] and repo['deadbeef'] is pretty dispruptive, so this just adds depreca

D3196: revsymbol: stop delegating to repo.__getitem__ for unhandled symbols (API)

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The only remaining cases where we were delegating unhandled symbols to repo.__getitem__ should now be when the symbol could not be found. In that case we just

D3195: context: handle partial nodeids in revsymbol()

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Similar reasoning as previous patches. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3195 AFFECTED FILES mercurial/scmutil.py

D3146: context: handle stringified ints in revsymbol()

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 7884. martinvonz edited the summary of this revision. martinvonz retitled this revision from "context: move handling of stringified ints to revsymbol (API)" to "context: handle stringified ints in revsymbol()". REPOSITORY rHG Mercurial CHANGES SINCE LAS

D3197: context: add deprecation warnings for deprecated types of changeids

2018-04-08 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. I finally got this done enough to send. I'll be away for five days now, but hopefully this is close enough that I can do any polish after I get back but still before the freeze. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3197 To

bugzilla weekly report (2018-04-09)

2018-04-08 Thread Octobot
Bug activity report, between 2018-04-02 and 2018-04-09 * urgent+: 3 bugs * unconfirmed: 17 bugs (2 added, 2 removed) * new: 4 bugs * closed: 11 bugs * need example: 0 bugs * new details: 0 bugs * active: 24 bugs * long inactive: 1 bugs urgent+ --- Open of urgent or critical bugs. Foun

Re: [PATCH 1 of 5] wireproto: fix repr(frame) to not crash by unknown type id

2018-04-08 Thread Gregory Szorc
On Sun, Apr 8, 2018 at 1:59 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1523153687 -32400 > # Sun Apr 08 11:14:47 2018 +0900 > # Node ID 9cf44f780dc77847c7d8628c623148cadd0c252f > # Parent 632b928992039afe96df8f99a8dec6127ff983f1 > wireproto: fix repr(

[PATCH 4 of 6] lfs: infer the blob store URL from an explicit pull source

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523165019 14400 # Sun Apr 08 01:23:39 2018 -0400 # Node ID 2aecf5b7dfdaeb12a6f6ac151d40c3b60f789abc # Parent 3d5a3d9692c0e9f3424a3eac148bef674580885f lfs: infer the blob store URL from an explicit pull source I don't see any easier way to do

[PATCH 6 of 6] tests: stabilize test-push-http.t for Windows

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523242576 14400 # Sun Apr 08 22:56:16 2018 -0400 # Node ID 23f88679a3e686c09454b6e2c82e0cebe21bf730 # Parent b8c871c097d3153d1eb71e0072cb7edf3356360c tests: stabilize test-push-http.t for Windows See 594dd384803c. diff --git a/tests/test-pu

[PATCH 1 of 6] tests: add a substitution pattern for HTTP error log dates

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523121020 14400 # Sat Apr 07 13:10:20 2018 -0400 # Node ID 69ead78af94459ca41e529d0ebfb24bd1d11c32c # Parent d83191e9749ba281b569ed67ad345406cedb095d tests: add a substitution pattern for HTTP error log dates This will make tests with error

[PATCH 3 of 6] lfs: infer the blob store URL from paths.default

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523154140 14400 # Sat Apr 07 22:22:20 2018 -0400 # Node ID 3d5a3d9692c0e9f3424a3eac148bef674580885f # Parent f4381233ecb960307d39459ea961a0af03df442b lfs: infer the blob store URL from paths.default If `lfs.url` is specified, it takes preced

[PATCH 5 of 6] lfs: infer the blob store URL from an explicit push source or default-push

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523211732 14400 # Sun Apr 08 14:22:12 2018 -0400 # Node ID b8c871c097d3153d1eb71e0072cb7edf3356360c # Parent 2aecf5b7dfdaeb12a6f6ac151d40c3b60f789abc lfs: infer the blob store URL from an explicit push source or default-push Same idea as pul

[PATCH 2 of 6] lfs: add the ability to disable the usercache

2018-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523155211 14400 # Sat Apr 07 22:40:11 2018 -0400 # Node ID f4381233ecb960307d39459ea961a0af03df442b # Parent 69ead78af94459ca41e529d0ebfb24bd1d11c32c lfs: add the ability to disable the usercache While the usercache is important for real wor