mercurial@30887: 13 new changesets

2017-02-10 Thread Mercurial Commits
13 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/1791be8a95c5 changeset: 30875:1791be8a95c5 parent: 30872:1f51b4658f21 user:Stanislau Hlebik date:Thu Feb 02 02:56:38 2017 -0800 summary: localrepo: avoid unnecessary conversion from

[PATCH 2 of 7 stable] bundle1: fix bundle1-denied reporting for push over ssh

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486745819 -3600 # Fri Feb 10 17:56:59 2017 +0100 # Branch stable # Node ID f319afe9c93cb0cfeeff58f66b1792eb55130ba4 # Parent a7ded180ddb35dfc0e642e960a59ed475fd9be75 # EXP-Topic getbundleerror bundle1: fix

[PATCH 4 of 7 stable] bundle-tests: operate from outside a repository

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486746372 -3600 # Fri Feb 10 18:06:12 2017 +0100 # Branch stable # Node ID 27ef75df203505964fbb20ac38ba737c3564d1a8 # Parent 0f8b506dc5406a9c9ebaab67495ff231c58663fc # EXP-Topic getbundleerror

[PATCH 7 of 7 stable] wireproto: properly report server Abort during 'getbundle'

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486747258 -3600 # Fri Feb 10 18:20:58 2017 +0100 # Branch stable # Node ID 1631cecbc20e794f36d93e5bb9fe96622781e8d4 # Parent 3b13a645b703c0eab4eb6cf73a19a1886fb6eab8 # EXP-Topic getbundleerror wireproto:

[PATCH 3 of 7 stable] bundle1: display server abort hint during unbundle

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486745812 -3600 # Fri Feb 10 17:56:52 2017 +0100 # Branch stable # Node ID 0f8b506dc5406a9c9ebaab67495ff231c58663fc # Parent f319afe9c93cb0cfeeff58f66b1792eb55130ba4 # EXP-Topic getbundleerror bundle1:

[PATCH 1 of 7 stable] bundle2: keep hint close to the primary message when remote abort

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486745807 -3600 # Fri Feb 10 17:56:47 2017 +0100 # Branch stable # Node ID a7ded180ddb35dfc0e642e960a59ed475fd9be75 # Parent af3b5aa61fc05a124697809bf472a5592f38489c # EXP-Topic getbundleerror bundle2:

[PATCH 5 of 7 stable] bundle1: fix bundle1-denied reporting for pull over ssh

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486746368 -3600 # Fri Feb 10 18:06:08 2017 +0100 # Branch stable # Node ID fcb3f4f9e1f60459e13588a66861ab50835a09e9 # Parent 27ef75df203505964fbb20ac38ba737c3564d1a8 # EXP-Topic getbundleerror bundle1: fix

[PATCH 6 of 7 stable] getbundle: cleanly handle remote abort during getbundle

2017-02-10 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1486747040 -3600 # Fri Feb 10 18:17:20 2017 +0100 # Branch stable # Node ID 3b13a645b703c0eab4eb6cf73a19a1886fb6eab8 # Parent fcb3f4f9e1f60459e13588a66861ab50835a09e9 # EXP-Topic getbundleerror getbundle:

Re: RFC: bitmap storage for precursors and phases

2017-02-10 Thread Jun Wu
In general, I think this is a good direction. Some random thoughts: - general purposed I think the bitmap is not always a cache, so it should only have operations like set/unset/readfromdisk/writetodisk. Practically, I won't couple cache invalidation with the bitmap implementation.

Re: [PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc

2017-02-10 Thread Kevin Bullock
> On Feb 9, 2017, at 10:22, Jun Wu wrote: > > I think it's better to always include ~/.hgrc, even if $XDG_CONFIG_HOME > exists (also check the comment below). So the text here could be: > > - ${XDG_CONFIG_HOME:-$HOME/.config}/hg/hgrc > - $HOME/.hgrc Let's not make people

RFC: bitmap storage for precursors and phases

2017-02-10 Thread Stanislau Hlebik
Last year Durham sent a proposal for bitmap storage for computehidden() https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-September/087860.html. It got a few useful comments, two most important comments: 1. Use bitmaps for lower-level data structures, for example, bitmap for

[PATCH 1 of 2] lock: move lock._host calculation to a function

2017-02-10 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1486762521 28800 # Fri Feb 10 13:35:21 2017 -0800 # Node ID f8eb762559b242ec12b199db1ce27c2930881c75 # Parent b9116befa78417b1cb3763dafd44cc1fc6952109 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2] lock: include Linux pid namespace identifier in prefix

2017-02-10 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1486763791 28800 # Fri Feb 10 13:56:31 2017 -0800 # Node ID 1884652829f6e68bde6ab3e9b0e9ca1da9bed40c # Parent f8eb762559b242ec12b199db1ce27c2930881c75 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 04 of 10] localrepo: move ui loading to baselocalrepository

2017-02-10 Thread Jun Wu
Side-effects are basically everything related to writes, like mutating (wrapping) internal Python objects, etc. They are done by Python code provided by an extension out of core's control. Usually that means reposetup, uisetup, etc. Reading things is fine - loading configs, changelog.i, obsstore,

[PATCH 4 of 8 v3] ui: log time spent blocked on stdio

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486760435 28800 # Fri Feb 10 13:00:35 2017 -0800 # Node ID dbe4c89f86d75130fabcde8ac2f4ce18ef6d356e # Parent 838c119320b457e9dfcc45d3d8a50a48d5ea5243 ui: log time spent blocked on stdio We use a wrapper around Mercurial

[PATCH 3 of 8 v3] contrib: add a write microbenchmark to perf.py

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486760403 28800 # Fri Feb 10 13:00:03 2017 -0800 # Node ID 838c119320b457e9dfcc45d3d8a50a48d5ea5243 # Parent 25b4512a095b2f3788b255274a15d68dbc10f7b4 contrib: add a write microbenchmark to perf.py I'm adding some

[PATCH 6 of 8 v3] crecord: log blocked time waiting for curses input

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486760569 28800 # Fri Feb 10 13:02:49 2017 -0800 # Node ID 7650c3dee1cab050f3835ae95590636473b58874 # Parent 8e20c41fe4903745b668ae3de58a0d3e9514a78e crecord: log blocked time waiting for curses input We want to know

Re: Randomly missing List: headers

2017-02-10 Thread Augie Fackler
On Fri, Feb 10, 2017 at 09:23:23AM +0100, David Demelier wrote: > Hello, > > I've discovered that some mails in the mercurial-devel list miss the List* > (List-Id and so on) headers. > > It's a bit inconvenient as some mail client (like thunderbird) offer a > "Reply to list" instead of "Reply all"

Re: [PATCH 1 of 4 STABLE V3] misc: update year in copyright lines

2017-02-10 Thread Augie Fackler
On Sat, Feb 11, 2017 at 12:30:03AM +0900, FUJIWARA Katsunori wrote: > # HG changeset patch > # User FUJIWARA Katsunori > # Date 1486740233 -32400 > # Sat Feb 11 00:23:53 2017 +0900 > # Branch stable > # Node ID f4dcd9cdb900f46557c9bd15abb73b0c5f03403b > # Parent

Re: [PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc

2017-02-10 Thread Augie Fackler
On Fri, Feb 10, 2017 at 09:19:14AM +0100, David Demelier wrote: > Le 09/02/2017 à 17:22, Jun Wu a écrit : >> The XDG specification says: >> >> All paths set in these environment variables must be absolute. If an >> implementation encounters a relative path in any of these variables it >> should

Re: [PATCH V2] merge: print status message before launching external merge tool

2017-02-10 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1486661545 28800 > # Thu Feb 09 09:32:25 2017 -0800 > # Node ID a5615bea1858aca891fcd3d7da6a477fc183f478 > # Parent

Re: [PATCH 04 of 10] localrepo: move ui loading to baselocalrepository

2017-02-10 Thread Kevin Bullock
> On Feb 9, 2017, at 19:46, Jun Wu wrote: > > # HG changeset patch > # User Jun Wu > # Date 1486675034 28800 > # Thu Feb 09 13:17:14 2017 -0800 > # Node ID 5e47a19fae82f4659f1e7df37f8f26dd56c4f246 > # Parent 2c1834e1e6b5f734c27199d47de9b2252b8f4913 > #

[PATCH 1 of 8 v3] mercurial: use timeit.default_timer for interval measurement

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486748338 28800 # Fri Feb 10 09:38:58 2017 -0800 # Node ID bd40abfb4e5dbaf6e373636c8e7bab7a6bf34e17 # Parent 1f51b4658f21bbb797e922d155c1046eddccf91d mercurial: use timeit.default_timer for interval measurement In Python

[PATCH 5 of 8 v3] ui: log time spent blocked on editor

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486760569 28800 # Fri Feb 10 13:02:49 2017 -0800 # Node ID 8e20c41fe4903745b668ae3de58a0d3e9514a78e # Parent dbe4c89f86d75130fabcde8ac2f4ce18ef6d356e ui: log time spent blocked on editor The user's editor is outside our

[PATCH 2 of 8 v3] ui: provide a mechanism to track and log blocked time

2017-02-10 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1486757727 28800 # Fri Feb 10 12:15:27 2017 -0800 # Node ID 25b4512a095b2f3788b255274a15d68dbc10f7b4 # Parent bd40abfb4e5dbaf6e373636c8e7bab7a6bf34e17 ui: provide a mechanism to track and log blocked time We want to log

Re: [PATCH V2] localrepo: avoid unnecessary conversion from node to rev

2017-02-10 Thread Augie Fackler
On Fri, Feb 10, 2017 at 10:48:10PM +0900, Yuya Nishihara wrote: > On Tue, 7 Feb 2017 13:11:23 -0800, Jun Wu wrote: > > V1 was accepted and in hg-committed [1] already. I don't know the official > > recommended workflows but I used to just push follow-up fixes. > > It's at the bottom of the draft

[PATCH] import: mention "stdin" (abbreviated) and add example

2017-02-10 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1486769163 28800 # Fri Feb 10 15:26:03 2017 -0800 # Node ID 08b61c8629f931408318e099960b65812e138ec9 # Parent a95fc01aaffe805bcc4c02a822b82a1162fa35b9 import: mention "stdin" (abbreviated) and add example I

[PATCH 2 of 2] match: making visitdir() deal with non-recursive entries

2017-02-10 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1486767895 28800 # Fri Feb 10 15:04:55 2017 -0800 # Node ID 10d1ea213c7dd22b0843970eb88220d69b7c84cb # Parent 2d9523f80c5b5fbace1b0566fb47bed7468369b0 match: making visitdir() deal with non-recursive entries

[PATCH 1 of 2] match: adding support for matching files inside a directory

2017-02-10 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1486768320 28800 # Fri Feb 10 15:12:00 2017 -0800 # Node ID 2d9523f80c5b5fbace1b0566fb47bed7468369b0 # Parent a95fc01aaffe805bcc4c02a822b82a1162fa35b9 match: adding support for matching files inside a

Re: [PATCH 2 of 2] lock: include Linux pid namespace identifier in prefix

2017-02-10 Thread Jun Wu
I'd like to note that although this patch prevents repo corruption when running hg inside different containers (which has different pid namespaces), it does not prevent deadlock - if an hg process is SIGKILL-ed, every other process will not able to take or remove the lock. I think if we do know

Randomly missing List: headers

2017-02-10 Thread David Demelier
Hello, I've discovered that some mails in the mercurial-devel list miss the List* (List-Id and so on) headers. It's a bit inconvenient as some mail client (like thunderbird) offer a "Reply to list" instead of "Reply all" or "Reply". Is it possible to fix that? Thanks, -- David

Re: [PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc

2017-02-10 Thread Raffaele Salmaso
Hi, On Fri, Feb 10, 2017 at 9:19 AM, David Demelier wrote: > > I've updated the code so that hg config --edit still create a ~/.hgrc file > first if no file is found. > Why? If you support this specs, I expect it does the right thing by default (or at least ask, if any)

Re: [PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc

2017-02-10 Thread David Demelier
Le 09/02/2017 à 17:22, Jun Wu a écrit : The XDG specification says: All paths set in these environment variables must be absolute. If an implementation encounters a relative path in any of these variables it should consider the path invalid and ignore it. So it needs to be checked before

Re: [PATCH 2 of 2 V2] commandserver: handle backlog before exiting

2017-02-10 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-02-10 22:11:26 +0900: > Missed setting self._socketunlinked. Perhaps you want self._unlinksocket(). > > Should I fix it in flight? Sorry! It should be "self._unlinksocket()". Thanks for finding it out! ___

[PATCH] runtests: catch EPROTONOSUPPORT in checkportisavailable

2017-02-10 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1486728546 28800 # Fri Feb 10 04:09:06 2017 -0800 # Node ID a9b0b592aad5483f1229d2e71dbd70c32f560814 # Parent dd14ece7cb20d8f3c764b17d2edc9ee646a27f2f # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH V2] localrepo: avoid unnecessary conversion from node to rev

2017-02-10 Thread Yuya Nishihara
On Tue, 7 Feb 2017 13:11:23 -0800, Jun Wu wrote: > V1 was accepted and in hg-committed [1] already. I don't know the official > recommended workflows but I used to just push follow-up fixes. It's at the bottom of the draft stack, so I think follow-ups would be preferred. > Excerpts from

Re: [PATCH 2 of 2 V2] commandserver: handle backlog before exiting

2017-02-10 Thread Yuya Nishihara
On Fri, 10 Feb 2017 05:14:20 -0800, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-02-10 22:11:26 +0900: > > Missed setting self._socketunlinked. Perhaps you want self._unlinksocket(). > > > > Should I fix it in flight? > > Sorry! It should be "self._unlinksocket()". Thanks for

Re: [PATCH 2 of 3] revset: use phasecache.getrevs

2017-02-10 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-02-10 06:34:18 -0800: > # HG changeset patch > # User Jun Wu > # Date 1486735766 28800 > # Fri Feb 10 06:09:26 2017 -0800 > # Node ID 44f2c707475a79758ecbc4b4117b9cda9d7a4380 > # Parent 1d7a184bb013a1a6f6b92d1f6d89406a7254ba2b > #

Re: [PATCH] runtests: catch EPROTONOSUPPORT in checkportisavailable

2017-02-10 Thread Yuya Nishihara
On Fri, 10 Feb 2017 04:18:29 -0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1486728546 28800 > # Fri Feb 10 04:09:06 2017 -0800 > # Node ID a9b0b592aad5483f1229d2e71dbd70c32f560814 > # Parent dd14ece7cb20d8f3c764b17d2edc9ee646a27f2f > # Available At

[PATCH 2 of 3] revset: use phasecache.getrevs

2017-02-10 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1486735766 28800 # Fri Feb 10 06:09:26 2017 -0800 # Node ID 44f2c707475a79758ecbc4b4117b9cda9d7a4380 # Parent 1d7a184bb013a1a6f6b92d1f6d89406a7254ba2b # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 4 STABLE V3] misc: replace domain of mercurial-devel ML address by mercurial-scm.org

2017-02-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1486740235 -32400 # Sat Feb 11 00:23:55 2017 +0900 # Branch stable # Node ID 043e68d7e13bacdb25c51d913f0e3c3229f13149 # Parent ad2f687d079deb01b708ead8c5c91d69efe00b5d misc: replace domain of mercurial-devel ML

[PATCH 3 of 4 STABLE V3] i18n: update Report-Msgid-Bugs-To property of *.po files

2017-02-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1486740235 -32400 # Sat Feb 11 00:23:55 2017 +0900 # Branch stable # Node ID ad2f687d079deb01b708ead8c5c91d69efe00b5d # Parent 868c06e78062801b9a95621a6c50c8139726d8af i18n: update Report-Msgid-Bugs-To property of

[PATCH 1 of 4 STABLE V3] misc: update year in copyright lines

2017-02-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1486740233 -32400 # Sat Feb 11 00:23:53 2017 +0900 # Branch stable # Node ID f4dcd9cdb900f46557c9bd15abb73b0c5f03403b # Parent af3b5aa61fc05a124697809bf472a5592f38489c misc: update year in copyright lines This

[PATCH 2 of 4 STABLE V3] misc: replace domain of mercurial ML address by mercurial-scm.org

2017-02-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1486740233 -32400 # Sat Feb 11 00:23:53 2017 +0900 # Branch stable # Node ID 868c06e78062801b9a95621a6c50c8139726d8af # Parent f4dcd9cdb900f46557c9bd15abb73b0c5f03403b misc: replace domain of mercurial ML address

[Bug 5484] New: "hg debugupgraderepo" misses some optimizations on already-generaldelta repos

2017-02-10 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5484 Bug ID: 5484 Summary: "hg debugupgraderepo" misses some optimizations on already-generaldelta repos Product: Mercurial Version: 4.1 Hardware: All OS: All