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

2017-02-17 Thread Yuya Nishihara
On Mon, 13 Feb 2017 17:05:23 -0800, Rodrigo Damazio Bovendorp via Mercurial-devel wrote: > # HG changeset patch > # User Rodrigo Damazio Bovendorp > # Date 1487029169 28800 > # Mon Feb 13 15:39:29 2017 -0800 > # Node ID 94264a6e6672c917d42518f7ae9322445868d067 > #

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

2017-02-17 Thread Yuya Nishihara
On Mon, 13 Feb 2017 17:05:24 -0800, Rodrigo Damazio Bovendorp via Mercurial-devel wrote: > # HG changeset patch > # User Rodrigo Damazio Bovendorp > # Date 1487034194 28800 > # Mon Feb 13 17:03:14 2017 -0800 > # Node ID e90de197586d0749e64cef752613e6fe41d1c8e3 > #

[PATCH 2 of 2] smartset: use native set operations as fast paths

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487396855 28800 # Fri Feb 17 21:47:35 2017 -0800 # Node ID 1315d68b1dcf55247f51208608d139029eaae632 # Parent b32af6cafb9b958decb7ae0db7dd754aa5a5f883 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 2] smartset: convert set to list lazily

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487393969 28800 # Fri Feb 17 20:59:29 2017 -0800 # Node ID b32af6cafb9b958decb7ae0db7dd754aa5a5f883 # Parent 01eebb65a61d9edcad1665ed747c7092f1ddb8b9 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Jun Wu
Excerpts from Stanislau Hlebik's message of 2017-02-17 16:06:33 +: > This is implementation of two caches (nonpublic + precursor) using > serialized sorted lists and sets > https://bitbucket.org/stashlebik/hg/commits/99879579ac2848a2567810b677d8344150a7b319?at=hiddenbitmaps_lists I had a

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Jun Wu
Excerpts from Bryan O'Sullivan's message of 2017-02-17 13:29:58 -0800: > On Fri, Feb 17, 2017 at 10:30 AM, Jun Wu wrote: > > > Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > > > As I said before we will load all non-public revs in one set and all > > > >

Re: [PATCH 10 of 10 ipv6 V2] runtests: add an IPv6 command line flag

2017-02-17 Thread Jun Wu
Excerpts from Martin von Zweigbergk's message of 2017-02-17 14:56:24 -0800: > > Unused. Should I drop in flight? > > I ended up doing that. This is now queued, thanks. Thanks! Sorry about the unused variable. I recently switched to gcc112 for faster testing and it does not run pyflakes somehow

Re: [PATCH 1 of 2] dispatch: move detection of profiling earlier during startup

2017-02-17 Thread Jun Wu
This breaks extensions that wraps maybeprofile, namely fb-hgext/profiling.py which tries to log interactive time. That said, I think we could just remove profiling.py as Simon's change is a superior solution. Excerpts from Bryan O'Sullivan's message of 2017-02-13 20:50:10 -0800: > # HG changeset

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Stanislau Hlebik
Excerpts from Bryan O'Sullivan's message of 2017-02-17 13:29:58 -0800: > On Fri, Feb 17, 2017 at 10:30 AM, Jun Wu wrote: > > > Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > > > As I said before we will load all non-public revs in one set and all > > > >

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Bryan O'Sullivan
On Fri, Feb 17, 2017 at 10:30 AM, Jun Wu wrote: > Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > > As I said before we will load all non-public revs in one set and all > > The problem is, loading a Python set from disk is O(size-of-the-set). > > Bitmap's

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Stanislau Hlebik
Excerpts from Jun Wu's message of 2017-02-17 10:30:45 -0800: > Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > > As I said before we will load all non-public revs in one set and all > > The problem is, loading a Python set from disk is O(size-of-the-set). > > Bitmap's

[PATCH 10 of 10 ipv6 V2] runtests: add an IPv6 command line flag

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487323275 28800 # Fri Feb 17 01:21:15 2017 -0800 # Node ID b1c5a6273c7b670337a48270045cc79e1cb39eb6 # Parent cfcb22413b1958bb3c1ffe961b7471e8802abe59 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 07 of 10 ipv6 V2] tests: use LOCALIP

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487266732 28800 # Thu Feb 16 09:38:52 2017 -0800 # Node ID 1ea3da89ecc44b59e96cb366e6388c1ac178d3af # Parent bb7f41b2c8043a3115f242fb9b9f71ee461c93a9 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 06 of 10 ipv6 V2] dummyssh: use LOCALIP

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487229843 28800 # Wed Feb 15 23:24:03 2017 -0800 # Node ID bb7f41b2c8043a3115f242fb9b9f71ee461c93a9 # Parent 9222c925de31506ee513f58a913ddec0c3a8a9c5 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 09 of 10 ipv6 V2] runtests: always set web.ipv6

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487263439 28800 # Thu Feb 16 08:43:59 2017 -0800 # Node ID cfcb22413b1958bb3c1ffe961b7471e8802abe59 # Parent d6c00b275ebe044afb891ee3f3491cde210583b0 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 01 of 10 ipv6 V2] runtests: prefer IPv4 to IPv6

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487321949 28800 # Fri Feb 17 00:59:09 2017 -0800 # Node ID 85e1f03110abeaab9a82517f5716a1cab7044042 # Parent 3844b3299a53b3746e1a708c84bbd6b83adddb7d # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 03 of 10 ipv6 V2] dumbhttp: use IPv6 if HGIPV6 is set to 1

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487221740 28800 # Wed Feb 15 21:09:00 2017 -0800 # Node ID 5e76ef1698fde7a47fa78003beac71324793d051 # Parent a16166a6c56f6289252a9c2e72117385756a45c3 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 08 of 10 ipv6 V2] runtests: set web.address to localhost

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487232809 28800 # Thu Feb 16 00:13:29 2017 -0800 # Node ID d6c00b275ebe044afb891ee3f3491cde210583b0 # Parent 1ea3da89ecc44b59e96cb366e6388c1ac178d3af # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 04 of 10 ipv6 V2] tinyproxy: use IPv6 if HGIPV6 is set to 1

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487228025 28800 # Wed Feb 15 22:53:45 2017 -0800 # Node ID c34ad0f0fc375de9e2d96d17ddcb644d9054d154 # Parent 5e76ef1698fde7a47fa78003beac71324793d051 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 02 of 10 ipv6 V2] runtests: export HGIPV6 to hint test scripts whether to use IPv6

2017-02-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1487221422 28800 # Wed Feb 15 21:03:42 2017 -0800 # Node ID a16166a6c56f6289252a9c2e72117385756a45c3 # Parent 85e1f03110abeaab9a82517f5716a1cab7044042 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Jun Wu
Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > As I said before we will load all non-public revs in one set and all The problem is, loading a Python set from disk is O(size-of-the-set). Bitmap's loading cost should be basically 0 (with mmap). I think that's why we want

Re: [PATCH] Correct example concerning "hg purge" alias in "hgrc.5"

2017-02-17 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, Feb 17, 2017 at 3:58 AM, Dr Rainer Woitok wrote: > # HG changeset patch > # User Rainer Woitok > # Date 1487326116 -3600 > # Parent 56ed3565559ad36d11eaf58697c2416bf5bc1f2b > doc: correct example concerning "hg purge" alias in man page

Re: [PATCH 9 of 9 pager v2] tests: prove that ignore works

2017-02-17 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Feb 16, 2017 at 3:47 PM, Martin von Zweigbergk wrote: > On Thu, Feb 16, 2017 at 9:25 AM, Simon Farnsworth wrote: >> I'm no longer seeing issues with these patches, and it'd be nice to reduce >> the pile of extensions you need to enable to get a

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Stanislau Hlebik
Excerpts from Stanislau Hlebik's message of 2017-02-17 11:24:34 +: > Excerpts from Jun Wu's message of 2017-02-16 13:42:46 -0800: > > Excerpts from Stanislau Hlebik's message of 2017-02-16 19:39:07 +: > > > Excerpts from Stanislau Hlebik's message of 2017-02-14 09:29:25 +: > > > >

Re: [PATCH] transaction: enable hardlink backups for non-windows systems

2017-02-17 Thread Yuya Nishihara
On Wed, 15 Feb 2017 20:34:32 +, Jeroen Vaelen wrote: > Confidence in stable posix implementations could come from: > > - hardlink backups being the default for nearly 10 years before the previously > mentioned patch disabled them after a series of bug reports coming > exclusively from

[PATCH] Correct example concerning "hg purge" alias in "hgrc.5"

2017-02-17 Thread Dr Rainer Woitok
# HG changeset patch # User Rainer Woitok # Date 1487326116 -3600 # Parent 56ed3565559ad36d11eaf58697c2416bf5bc1f2b doc: correct example concerning "hg purge" alias in man page "hgrc.5" The "hg purge" alias as currently described in "hgrc.5" issues a possibly confusing

Re: RFC: bitmap storage for precursors and phases

2017-02-17 Thread Stanislau Hlebik
Excerpts from Jun Wu's message of 2017-02-16 13:42:46 -0800: > Excerpts from Stanislau Hlebik's message of 2017-02-16 19:39:07 +: > > Excerpts from Stanislau Hlebik's message of 2017-02-14 09:29:25 +: > > > Excerpts from Sean Farley's message of 2017-02-13 18:30:25 -0800: > > > > Jun Wu