2 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/03eff66adb3b
changeset: 36412:03eff66adb3b
user:Yuya Nishihara
date:Sun Feb 25 11:13:01 2018 +0900
summary: acl: replace bare getpass.getuser() by platform function
https://www.mercurial-scm.org/repo/h
indygreg updated this revision to Diff 6149.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2467?vs=6145&id=6149
REVISION DETAIL
https://phab.mercurial-scm.org/D2467
AFFECTED FILES
mercurial/sshpeer.py
CHANGE DETAILS
diff --git a/mercurial/sshpeer.p
joerg.sonnenberger created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Introduce a new option server.streamunbundle which starts a transaction
immediately to apply a bundle instead of writing it to a temporary file
first.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Bookmarks are internally stored as an unsorted dictionary. Let's at
least write out the bookmarks file in a deterministic order so it is
easier to test, diff, e
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
self.phaseroots is a list of sets of binary nodes.
Let's sort the nodes before writing so the phaseroots file is
written out deterministically.
REPOSITORY
indygreg updated this revision to Diff 6142.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2408?vs=6027&id=6142
REVISION DETAIL
https://phab.mercurial-scm.org/D2408
AFFECTED FILES
mercurial/debugcommands.py
tests/test-ssh-proto.t
CHANGE DETAILS
d
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The "doublepipe" primitive as used by sshpeer will automatically read
from stderr and forward output to the local ui.
This poses problems for deterministic t
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This is needed so we can use "pushkey," which relies on empty
values being special.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Let's get the wire format of some pushkey requests in test-ssh-proto.t.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2466
AFFECTE
indygreg updated this revision to Diff 6141.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2406?vs=6026&id=6141
REVISION DETAIL
https://phab.mercurial-scm.org/D2406
AFFECTED FILES
mercurial/debugcommands.py
tests/test-ssh-proto.t
CHANGE DETAILS
d
indygreg updated this revision to Diff 6139.
indygreg edited the summary of this revision.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2392?vs=6005&id=6139
REVISION DETAIL
https://phab.mercurial-scm.org/D2392
AFFECTED FILES
mercurial/debugcommands.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
There are various places in Mercurial where we may want to
instrument low-level I/O. The use cases I can think of all
involve development-type activities like m
indygreg updated this revision to Diff 6136.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2404?vs=6025&id=6136
REVISION DETAIL
https://phab.mercurial-scm.org/D2404
AFFECTED FILES
mercurial/util.py
CHANGE DETAILS
diff --git a/mercurial/util.py b/me
indygreg updated this revision to Diff 6140.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2405?vs=6022&id=6140
REVISION DETAIL
https://phab.mercurial-scm.org/D2405
AFFECTED FILES
mercurial/wireproto.py
CHANGE DETAILS
diff --git a/mercurial/wirepro
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
`hg serve --stdio` requires the exact command argument form
`hg -R serve --stdio` for security reasons. An upcoming
commit will need to start an SSH protocol s
indygreg updated this revision to Diff 6133.
indygreg edited the summary of this revision.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2391?vs=6018&id=6133
REVISION DETAIL
https://phab.mercurial-scm.org/D2391
AFFECTED FILES
mercurial/sshpeer.py
CH
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
We will soon introduce a debug command and tests for low-level I/O
behavior of the SSH wire protocol.
To facilitate this, we need to instrument the SSH serve
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
It seems useful to be able to start an SSH protocol server that
won't run forever and won't call sys.exit() when it stops. This
could be used to facilitate intr
khanchi97 updated this revision to Diff 6132.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2409?vs=6028&id=6132
REVISION DETAIL
https://phab.mercurial-scm.org/D2409
AFFECTED FILES
mercurial/commands.py
tests/test-graft.t
CHANGE DETAILS
diff --gi
On Mon, Feb 26, 2018 at 6:29 AM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara
> # Date 1519533771 -32400
> # Sun Feb 25 13:42:51 2018 +0900
> # Node ID b3622121e31c172c91ccf35fb738a85269ad7125
> # Parent 93228b2a1fc0a0c48ea138fb88bc719d5222c0c8
> narrow: drop redund
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
using encoding.strfromlocal because sender is provided from user config or
argument.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D
pulkit updated this revision to Diff 6128.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2455?vs=6110&id=6128
REVISION DETAIL
https://phab.mercurial-scm.org/D2455
AFFECTED FILES
hgext/patchbomb.py
CHANGE DETAILS
diff --git a/hgext/patchbomb.py b/hg
pulkit updated this revision to Diff 6129.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2453?vs=6108&id=6129
REVISION DETAIL
https://phab.mercurial-scm.org/D2453
AFFECTED FILES
hgext/patchbomb.py
CHANGE DETAILS
diff --git a/hgext/patchbomb.py b/hg
pulkit 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/D2459
AFFECTED FILES
hgext/patchbomb.py
CHANGE DETAILS
diff --git a/hgext/patchbomb.py b/hgext/patchbom
pulkit updated this revision to Diff 6127.
pulkit retitled this revision from "py3: slice over bytes to prevent getting
ascii values" to "py3: slice over bytes or use .startswith() to prevent getting
ascii values".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-sc
khanchi97 added a comment.
Hello Pulkit,
After spending some time with graft implementation, I hope now I have a good
understanding of how graft is working.
Let me tell you what I have understood and how I want to implement
`--no-commit` mode. So when we hit a merge conflict what we do is
> On Feb 26, 2018, at 8:47 AM, Yuya Nishihara wrote:
>
>> On Thu, 22 Feb 2018 01:02:41 -0500, Matt Harbison wrote:
>> # HG changeset patch
>> # User Matt Harbison
>> # Date 1519274700 18000
>> # Wed Feb 21 23:45:00 2018 -0500
>> # Node ID d38f7cc80f9dc453e7968fdb594e0a1119003d14
>> # Paren
# HG changeset patch
# User Yuya Nishihara
# Date 1519532675 -32400
# Sun Feb 25 13:24:35 2018 +0900
# Node ID e426dc16137c931668ce4a4c3b5fec0edae8107b
# Parent 02afa73e633146722c187090fd73885fceb552d9
templatekw: add 'requires' flag to switch to exception-safe interface
The current templat
# HG changeset patch
# User Yuya Nishihara
# Date 1519530630 -32400
# Sun Feb 25 12:50:30 2018 +0900
# Node ID 02afa73e633146722c187090fd73885fceb552d9
# Parent 35263744d42f5a3c60faec304d044cbee337599d
templater: specialize ResourceUnavailable error so that it can be caught
See the next pat
# HG changeset patch
# User Yuya Nishihara
# Date 1519535673 -32400
# Sun Feb 25 14:14:33 2018 +0900
# Node ID 0d70933cd0d82836b9117597b118d7258978
# Parent 92789aee2463ee830f9e85ddb377b54ebd8c48aa
templatekw: minimize resource dependency of {envvars} and {termwidth}
These keywords can
# HG changeset patch
# User Yuya Nishihara
# Date 1519535554 -32400
# Sun Feb 25 14:12:34 2018 +0900
# Node ID 92789aee2463ee830f9e85ddb377b54ebd8c48aa
# Parent 95308378b88ad89dce5bed95805ab4b72d310d40
templatekw: simply override {graphwidth} function by mapping variable
diff --git a/mercur
# HG changeset patch
# User Yuya Nishihara
# Date 1519530473 -32400
# Sun Feb 25 12:47:53 2018 +0900
# Node ID 35263744d42f5a3c60faec304d044cbee337599d
# Parent 0d70933cd0d82836b9117597b118d7258978
templater: move specialized exception types to top
I'm going to add one more exception ty
# HG changeset patch
# User Yuya Nishihara
# Date 1519533771 -32400
# Sun Feb 25 13:42:51 2018 +0900
# Node ID b3622121e31c172c91ccf35fb738a85269ad7125
# Parent 93228b2a1fc0a0c48ea138fb88bc719d5222c0c8
narrow: drop redundant templatekw/revset names from help text
"::" is automatically added
# HG changeset patch
# User Yuya Nishihara
# Date 151951 -32400
# Sun Feb 25 16:40:41 2018 +0900
# Node ID 95308378b88ad89dce5bed95805ab4b72d310d40
# Parent b3622121e31c172c91ccf35fb738a85269ad7125
remotenames: drop redundant templatekw names from help text
Also removed the second "List
# HG changeset patch
# User Anton Shestakov
# Date 1519649061 -28800
# Mon Feb 26 20:44:21 2018 +0800
# Node ID 026f4c5a52a0070c5b712cad247818e6566d4748
# Parent 0aa1728931cc2c2c7d6ee0f18e0618fc17add42a
hgweb: explain instabilities of unstable changesets
Let's bikeshed a bit more before I t
# HG changeset patch
# User Anton Shestakov
# Date 1519649041 -28800
# Mon Feb 26 20:44:01 2018 +0800
# Node ID 0aa1728931cc2c2c7d6ee0f18e0618fc17add42a
# Parent aefb75730ea34f545f0756bf8441fc9ae07bf8dc
debug: add debugexplainunstable that explains instabilities
This is a port of evolve's f
On Thu, 22 Feb 2018 01:02:41 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison
> # Date 1519274700 18000
> # Wed Feb 21 23:45:00 2018 -0500
> # Node ID d38f7cc80f9dc453e7968fdb594e0a1119003d14
> # Parent c8891cc3fa9ec855a3bdefd3dd759d19927c6b85
> hgweb: add a hook for
On Sun, 25 Feb 2018 22:04:44 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison
> # Date 1519610652 18000
> # Sun Feb 25 21:04:12 2018 -0500
> # Node ID 999316b407a5035d50aa511199895c83d4047423
> # Parent e373776c800cffaf47934cf688307f5ce8e85d17
> run-tests: don't mask
On Sun, 25 Feb 2018 22:04:43 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison
> # Date 1519597345 18000
> # Sun Feb 25 17:22:25 2018 -0500
> # Node ID e373776c800cffaf47934cf688307f5ce8e85d17
> # Parent 3bdd64ed150679886ee87341ab3fcdda4f23ffc7
> run-tests: cache hgha
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> patch.py:2521
> for token in tabsplitter.findall(stripline):
> -if '\t' == token[0]:
> +
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> patchbomb.py:673
> +return '<%s.%d@%s>' % (id[:20], int(start_time[0]),
> +pycompat.sysbytes(socket.getfqdn()))
>
No idea what encoding
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> patchbomb.py:748
>
> -sender_addr = emailmod.Utils.parseaddr(sender)[1]
> +sender_addr = eutil.parseaddr(pycompat.sysstr(sender))[1]
> sender = mail
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf449138a52df: py3: use email.generator module instead of
email.Generator (authored by pulkit, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D2454?vs=6109&id=6125#toc
REPOSITOR
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG23d12524a202: http: drop custom http client logic (authored
by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2444?vs=6091&id=6115
REVIS
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1fb9e01328e4: py3: use pycompat.strkwargs to convert kwargs
keys to str (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2452?v
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG745b0df08514: py3: use bytes instead of str in isinstance
(authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2458?vs=6113&id=6126
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1ca4e86c7265: util: handle fileno() on Python 3 throwing
io.UnsupportedOperation (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.o
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf8ea6988a5fb: hgweb: pass exception message to builtin
Exception ctor as sysstr (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.or
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4223bef1489c: py3: convert a map expression into list
comprehension (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2456?vs=61
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG433cfad4bc46: py3: whitelist test-push-http.t as passing
(authored by durin42, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D2451?vs=6106&id=6121#toc
REPOSITORY
rHG Mercuri
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0b697c650b04: bundle2: part id is an int, use %d to make it
bytes (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2446?vs=610
On Mon, 26 Feb 2018 11:45:03 +0100, Feld Boris wrote:
> On 13/02/2018 12:47, Yuya Nishihara wrote:
> > On Mon, 12 Feb 2018 18:00:52 +0100, Boris Feld wrote:
> >> # HG changeset patch
> >> # User Boris Feld
> >> # Date 1518448909 -3600
> >> # Mon Feb 12 16:21:49 2018 +0100
> >> # Node ID b0f45
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGefebfa9b4cab: httppeer: explicitly catch urlerr.httperror
and re-raise (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2448?v
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGec43960b03e8: wireproto: use %d to encode an int, not a %s
(authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2449?vs=6104&id=61
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG247b473f408e: bundle2: **strkwargs love on various kwargs
constructions (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2445?
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG24c2c760c1cb: statichttprepo: move HTTPRangeHandler from
byterange and delete the latter (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercuri
yuja added a comment.
I think `shellquote()` is okay, but simpler workaround is to use
`bytestr(date)`
to drop `b`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2438
To: durin42, #hg-reviewers
Cc: yuja, mercurial-devel
__
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Internally we use bytes everywhere, and str on Python 3 is unicodes, so we
need
to make sure we are doing the right check.
REPOSITORY
rHG Mercurial
REVISION DE
pulkit 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/D2457
AFFECTED FILES
mercurial/archival.py
mercurial/patch.py
CHANGE DETAILS
diff --git a/mercurial/p
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
map returns a map object on Python 3 and here we wanted a list instead.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2456
AFFECTED
pulkit 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/D2455
AFFECTED FILES
hgext/patchbomb.py
CHANGE DETAILS
diff --git a/hgext/patchbomb.py b/hgext/patchbom
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
On py2:
>>> import email
>>> import email.generator as emailgen
>>> email.Generator.Generator is emailgen.Generator
True
email.Generator is not p
pulkit 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/D2452
AFFECTED FILES
mercurial/hgweb/webcommands.py
mercurial/hgweb/webutil.py
CHANGE DETAILS
diff --
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
On py2:
>>> import email
>>> import email.utils as eutil
>>> email.Utils.parseaddr is eutil.parseaddr
True
>>> email.Utils.formatdate is eutil.fo
On 21/02/2018 14:51, Anton Shestakov wrote:
# HG changeset patch
# User Anton Shestakov
# Date 1519199933 -28800
# Wed Feb 21 15:58:53 2018 +0800
# Node ID 628c839d1eec60db3a4548c5bd7430ff4fc9a5a4
# Parent aefb75730ea34f545f0756bf8441fc9ae07bf8dc
hgweb: show explanations for unstable chang
On 24/02/2018 06:03, Yuya Nishihara wrote:
On Thu, 22 Feb 2018 20:33:36 +0100, Boris Feld wrote:
# HG changeset patch
# User Boris Feld
# Date 1519313522 -3600
# Thu Feb 22 16:32:02 2018 +0100
# Node ID b65a85952c09cf4c71a1458fbc4ec77c49683314
# Parent 428de1a59f2df3d6d07ff1d7164c8ee56c
On 13/02/2018 12:47, Yuya Nishihara wrote:
On Mon, 12 Feb 2018 18:00:52 +0100, Boris Feld wrote:
# HG changeset patch
# User Boris Feld
# Date 1518448909 -3600
# Mon Feb 12 16:21:49 2018 +0100
# Node ID b0f45e1376e2d0f32023e197c51802bc21c60490
# Parent f02fd7ca256d044c4a51c3f3fc0ecaf95d23
67 matches
Mail list logo