[PATCH 2 of 3] minirst: remove "admonition" from _admonitions

2017-03-29 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1490843118 25200 # Wed Mar 29 20:05:18 2017 -0700 # Node ID c4329b811738046b70661f5647df50d7d28b2362 # Parent f4e8bf5a118604478b371473f7b610f8252d9752 minirst: remove "admonition" from _admonitions The "admonition"

[PATCH 3 of 3] minirst: remove redundant _admonitions set

2017-03-29 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1490843966 25200 # Wed Mar 29 20:19:26 2017 -0700 # Node ID 191b0b4697cc979464ec5ad9f04ef1ffa0f2a6cb # Parent c4329b811738046b70661f5647df50d7d28b2362 minirst: remove redundant _admonitions set As Yuya pointed out

[PATCH 1 of 3] minirst: reindent _admonitiontitles

2017-03-29 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1490842787 25200 # Wed Mar 29 19:59:47 2017 -0700 # Node ID f4e8bf5a118604478b371473f7b610f8252d9752 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e minirst: reindent _admonitiontitles I don't like the verical

Re: Unifying sparse and narrow "profiles"

2017-03-29 Thread Augie Fackler
(+martinvonz, durham) > On Mar 29, 2017, at 1:05 PM, Gregory Szorc wrote: > > Mozilla has added tens of thousands of files to the Firefox repo in the past > few months and we have plans to add tens of thousands more shortly. Working > directory update times

Re: [PATCH] hgweb: fix diff hunks filtering by line range in webutil.diffs()

2017-03-29 Thread Gregory Szorc
On Wed, Mar 29, 2017 at 6:10 AM, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490782027 -7200 > # Wed Mar 29 12:07:07 2017 +0200 > # Node ID 28297d6c3ae842f4c26f878bf5b107619366fbd5 > # Parent

Re: [PATCH 07 of 11] revlog: fix many file handle opens to explicitly use bytes mode

2017-03-29 Thread Gregory Szorc
On Mon, Mar 27, 2017 at 6:54 AM, Yuya Nishihara wrote: > On Sun, 26 Mar 2017 18:36:41 -0400, Augie Fackler wrote: > > # HG changeset patch > > # User Augie Fackler > > # Date 1490567324 14400 > > # Sun Mar 26 18:28:44 2017 -0400 > > # Node ID

Re: [PATCH] repair: use context manager for lock management

2017-03-29 Thread Gregory Szorc
On Mon, Mar 27, 2017 at 5:53 AM, Yuya Nishihara wrote: > On Sun, 26 Mar 2017 15:28:02 -0400, Matt Harbison wrote: > > On Sun, 26 Mar 2017 13:34:10 -0400, Gregory Szorc > > wrote: > > > On Sun, Mar 26, 2017 at 4:20 AM, Yuya Nishihara wrote:

Re: Hardlinks and Docker

2017-03-29 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-03-29 18:15:43 -0700: > > So the direct fix is to stat the directory instead of the file. I will send > > it soon. > > Thank you for looking into this complicated issue! I'm glad I don't have > to review your code because this is all over my head at

Re: [PATCH STABLE] changegroup: retry read() when partial data returned

2017-03-29 Thread Gregory Szorc
> On Mar 27, 2017, at 08:59, Yuya Nishihara wrote: > > On Mon, 27 Mar 2017 08:25:41 -0700, Gregory Szorc wrote: On Mar 27, 2017, at 08:13, Yuya Nishihara wrote: On Sun, 26 Mar 2017 11:56:59 -0700, Gregory Szorc wrote: # HG changeset patch #

Re: Hardlinks and Docker

2017-03-29 Thread Gregory Szorc
> On Mar 25, 2017, at 13:47, Jun Wu wrote: > > Excerpts from Jun Wu's message of 2017-03-25 12:19:46 -0700: >> Excerpts from Gregory Szorc's message of 2017-03-25 10:54:10 -0700: >>> Jun, et al: >>> >>> The recent patches around hardlink detection are great! However, there are

[PATCH 4 of 5] unionrepo: avoid unnecessary node -> rev conversion

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490830131 25200 # Wed Mar 29 16:28:51 2017 -0700 # Node ID 265ea657d75905fb59a27194a75aaff49be94598 # Parent 2d3258eca3f07d249991fcb14e6bfd9a687d07e2 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 3 of 5] bundlerepo: avoid unnecessary node -> rev conversion

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490830080 25200 # Wed Mar 29 16:28:00 2017 -0700 # Node ID 2d3258eca3f07d249991fcb14e6bfd9a687d07e2 # Parent 21926bb9a6adbadc1f715dc0a71ac53a3c4d8019 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 5 of 5] perf: workaround check-code

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490831529 25200 # Wed Mar 29 16:52:09 2017 -0700 # Node ID 5ca313b3da12d145f1d49a85dd8b753e22d51521 # Parent 265ea657d75905fb59a27194a75aaff49be94598 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 5] revlog: avoid unnecessary node -> rev conversion

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490829784 25200 # Wed Mar 29 16:23:04 2017 -0700 # Node ID 21926bb9a6adbadc1f715dc0a71ac53a3c4d8019 # Parent e28b3818efa140482be9849f7bd8dd915e25fa07 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 5] check-code: detect r.revision(r.node(rev))

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490831217 25200 # Wed Mar 29 16:46:57 2017 -0700 # Node ID e28b3818efa140482be9849f7bd8dd915e25fa07 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [2,of,2,RFC] RFC: switch to immutable configs

2017-03-29 Thread Jun Wu
Excerpts from David Soria Parra's message of 2017-03-29 15:56:21 -0700: > > +# immutable configs > > +self._ocfgs = config.mergedconfig('setconfig', []) # overlay > > +self._tcfgs = config.mergedconfig('loaded', []) # trusted > i would probably actually call

Re: [2,of,2,RFC] RFC: switch to immutable configs

2017-03-29 Thread David Soria Parra
On Mon, Mar 27, 2017 at 11:38:07AM -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1490639836 25200 > # Mon Mar 27 11:37:16 2017 -0700 > # Node ID 13bee3e959f04f970f2fc0a01120f0b30d725b84 > # Parent 4eb7c76340791f379a34f9df4ec42e0c8b9b2a2f > RFC: switch to

Re: [1,of,2,RFC] RFC: implement immutable config objects

2017-03-29 Thread Jun Wu
Excerpts from David Soria Parra's message of 2017-03-29 15:25:26 -0700: > On Mon, Mar 27, 2017 at 11:38:06AM -0700, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490635856 25200 > > # Mon Mar 27 10:30:56 2017 -0700 > > # Node ID

Re: [1,of,2,RFC] RFC: implement immutable config objects

2017-03-29 Thread David Soria Parra
On Mon, Mar 27, 2017 at 11:38:06AM -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1490635856 25200 > # Mon Mar 27 10:30:56 2017 -0700 > # Node ID 4eb7c76340791f379a34f9df4ec42e0c8b9b2a2f > # Parent 4a8d065bbad80d3b3401010375bc80165404aa87 > RFC: implement

Post-pull updates and hooks

2017-03-29 Thread Augie Fackler
Howdy folks, Alex (cc'ed) asked me a question on IRC today, and I can't figure out a fix for what is a basically-reasonable and sort-of-obvious feature. In Git, due to implementation details of how 'git pull' works[0], you can get a post-pull summary of the update from/to and a diffstat of

Re: [PATCH 1 of 2] verify: document corner cases

2017-03-29 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-03-29 14:51:59 -0700: > # HG changeset patch > # User Jun Wu > # Date 1490823901 25200 > # Wed Mar 29 14:45:01 2017 -0700 > # Node ID 1f7890370b5437466534cbd0a313d21671dade03 > # Parent e9fda3b8614a8b701bd48041afa8b709e1227f27 > #

[PATCH 1 of 2] verify: document corner cases

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490823901 25200 # Wed Mar 29 14:45:01 2017 -0700 # Node ID 1f7890370b5437466534cbd0a313d21671dade03 # Parent e9fda3b8614a8b701bd48041afa8b709e1227f27 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2] verify: fix length check

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490824154 25200 # Wed Mar 29 14:49:14 2017 -0700 # Node ID ab735d6798fb133efdc2be8a441b51e7ba4d547b # Parent 1f7890370b5437466534cbd0a313d21671dade03 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH] test-verify: add a testcase where the file has magic meta header

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490820077 25200 # Wed Mar 29 13:41:17 2017 -0700 # Node ID e9fda3b8614a8b701bd48041afa8b709e1227f27 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2 py3] tests: add check to make sure summary works on Python 2

2017-03-29 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490779618 -19800 # Wed Mar 29 14:56:58 2017 +0530 # Node ID 61f9c295463e713241d8265e20ad8208af6fe22a # Parent 7339bf21508131c90a44317ff16214b81ebe62c1 tests: add check to make sure summary works on Python 2 diff -r

[PATCH 1 of 2 py3] color: replace str() with pycompat.bytestr()

2017-03-29 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490779072 -19800 # Wed Mar 29 14:47:52 2017 +0530 # Node ID 7339bf21508131c90a44317ff16214b81ebe62c1 # Parent 08aeba5bc7c623a700eea9011e0d904e3732134a color: replace str() with pycompat.bytestr() diff -r 08aeba5bc7c6 -r

Re: [PATCH] verify: check raw revision size

2017-03-29 Thread Jun Wu
Actually, there are more issues with "verify". I'll send an updated version, probably with a test. Excerpts from Jun Wu's message of 2017-03-28 14:27:38 -0700: > # HG changeset patch > # User Jun Wu > # Date 1490736238 25200 > # Tue Mar 28 14:23:58 2017 -0700 > # Node ID

[PATCH py3 V2] diff: slice over bytes to make sure conditions work normally

2017-03-29 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490541771 -19800 # Sun Mar 26 20:52:51 2017 +0530 # Node ID 08aeba5bc7c623a700eea9011e0d904e3732134a # Parent 331cc4433efe0d897bb16ad4ff08a3fbe850869b diff: slice over bytes to make sure conditions work normally Both of

[PATCH 2 of 3 V2] hardlink: duplicate hardlink detection for copying files and directories

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490815606 25200 # Wed Mar 29 12:26:46 2017 -0700 # Node ID b4e6f395c7940676c56b6f5308e203aa861d8bbe # Parent b1ef68e4196e01f723b78746d752f60e46e33cc0 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 3 of 3 V2] hardlink: check directory's st_dev when copying files

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490816223 25200 # Wed Mar 29 12:37:03 2017 -0700 # Node ID e9e48ce378c982f4ecbace5dd61ba85d1fc12ad6 # Parent b4e6f395c7940676c56b6f5308e203aa861d8bbe # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 3 V2] hardlink: extract topic text logic of copyfiles

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490815275 25200 # Wed Mar 29 12:21:15 2017 -0700 # Node ID b1ef68e4196e01f723b78746d752f60e46e33cc0 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH] hardlink: check directory's st_dev instead of files

2017-03-29 Thread Jun Wu
I'll drop this and send a better version. Excerpts from Jun Wu's message of 2017-03-26 09:53:11 -0700: > Excerpts from Yuya Nishihara's message of 2017-03-26 20:50:06 +0900: > > On Sat, 25 Mar 2017 13:58:33 -0700, Jun Wu wrote: > > > # HG changeset patch > > > # User Jun Wu > > > #

[PATCH] test-check-code: prevent files being added to the root directory

2017-03-29 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490814860 25200 # Wed Mar 29 12:14:20 2017 -0700 # Node ID 4b4345a62fbd9fb0f4610d013c4ee5c9c06287e0 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[Bug 5517] New: `hg blame doesntexist exists` doesn't eagerly error out

2017-03-29 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5517 Bug ID: 5517 Summary: `hg blame doesntexist exists` doesn't eagerly error out Product: Mercurial Version: default branch Hardware: PC OS: Mac OS

Re: [PATCH] revlog: use raw revision for rawsize

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 11:30:50 +0100: > On 3/29/17 4:31 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490758201 25200 > > # Tue Mar 28 20:30:01 2017 -0700 > > # Node ID 5c6ebe1cd99e9557b61ef51ed88e335ac87df8da > > # Parent

Re: [PATCH 5 of 6] rebase: demonstrate behavior with requiredest and pull --rebase

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 11:38:00 +0100: > drawdag.py I think you mean? > > I suppose a nice thing about drawdag is that you see the dag being > created so its more obvious what's going on without graph logs, but is > it worth a re-send do you think? These tests are

Re: [PATCH 4 of 6] rebase: allow destination-free continue and abort (issue5513)

2017-03-29 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, Mar 28, 2017 at 2:31 PM, Ryan McElroy wrote: > # HG changeset patch > # User Ryan McElroy > # Date 1490735056 25200 > # Tue Mar 28 14:04:16 2017 -0700 > # Node ID ac6634fab80b59ba48958ca03289c4434e9483c4 > # Parent

Unifying sparse and narrow "profiles"

2017-03-29 Thread Gregory Szorc
Mozilla has added tens of thousands of files to the Firefox repo in the past few months and we have plans to add tens of thousands more shortly. Working directory update times (especially in automation, which has to do fresh checkouts with a somewhat high frequency since we rely on ephemeral

Re: [PATCH] test-rebase-base: add a note about the test name

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 11:35:56 +0100: > On 3/28/17 10:40 PM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490737090 25200 > > # Tue Mar 28 14:38:10 2017 -0700 > > # Node ID 31073077267b5e330925d48098dd6e0fd28bdd8e > > #

Re: [PATCH 1 of 5] repair: use ProgrammingError

2017-03-29 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-03-29 13:24:39 +0200: > > On 03/28/2017 08:59 PM, Ryan McElroy wrote: > > On 3/27/17 2:11 PM, Augie Fackler wrote: > >> On Mon, Mar 27, 2017 at 09:18:55AM +0200, Pierre-Yves David wrote: > >>> Sure, that seems like a good idea. Can you see to it ?

Re: [PATCH 5 of 7] revlog: add a fast path for non-raw revision

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 13:41:21 +0100: > On 3/28/17 8:49 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490683355 25200 > > # Mon Mar 27 23:42:35 2017 -0700 > > # Node ID aecce2adbd64b25325e559798baa617e7311e85f > > # Parent

Re: [PATCH 4 of 7] revlog: add test to check raw processing is sane

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 13:40:41 +0100: > On 3/28/17 8:49 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490677106 25200 > > # Mon Mar 27 21:58:26 2017 -0700 > > # Node ID a9d87712bec99abe109c155948ee4b7f1f5ec208 > > # Parent

Re: [PATCH 3 of 7] revlog: do not return raw cache blindly

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 13:40:10 +0100: > On 3/28/17 8:49 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490685397 25200 > > # Tue Mar 28 00:16:37 2017 -0700 > > # Node ID d557aaee6ada70bf51fcc9d4d05d07a54d8f2d4e > > # Parent

Re: [PATCH 2 of 7] revlog: make sure _cache only contain raw content

2017-03-29 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-29 13:39:29 +0100: > On 3/28/17 8:49 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490685282 25200 > > # Tue Mar 28 00:14:42 2017 -0700 > > # Node ID 99cfe31d37df62b50e53a126f0eb31a1e352ac67 > > # Parent

[PATCH 3 of 5] util: extract pure tolf/tocrlf() functions from eol extension

2017-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490790534 -32400 # Wed Mar 29 21:28:54 2017 +0900 # Node ID 24dce83e6706dfaad602e9ff0440ac40f6a4cc37 # Parent 0b1a6949c3a05cab2b3a7028501a071d3dfea127 util: extract pure tolf/tocrlf() functions from eol extension This can be

[PATCH 5 of 5] ui: use bytes IO and convert EOL manually in ui.editor()

2017-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490791418 -32400 # Wed Mar 29 21:43:38 2017 +0900 # Node ID 81aa3738f703e4354b0f853e87548a139b129bdd # Parent c43fe15a4a4bec542b7411087a1ad0233cb5614f ui: use bytes IO and convert EOL manually in ui.editor() Text IO sucks on

[PATCH 1 of 5] pycompat: introduce identity function as a compat stub

2017-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490789635 -32400 # Wed Mar 29 21:13:55 2017 +0900 # Node ID 267ba0ee66701fa87ff1764323599c299cff3e1f # Parent d73490957d6162edf064055e40b321ee819187d2 pycompat: introduce identity function as a compat stub I was sometimes

[PATCH 4 of 5] util: add helper to convert between LF and native EOL

2017-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490791215 -32400 # Wed Mar 29 21:40:15 2017 +0900 # Node ID c43fe15a4a4bec542b7411087a1ad0233cb5614f # Parent 24dce83e6706dfaad602e9ff0440ac40f6a4cc37 util: add helper to convert between LF and native EOL See the next patch

[PATCH 2 of 5] pycompat: provide bytes os.linesep

2017-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490790208 -32400 # Wed Mar 29 21:23:28 2017 +0900 # Node ID 0b1a6949c3a05cab2b3a7028501a071d3dfea127 # Parent 267ba0ee66701fa87ff1764323599c299cff3e1f pycompat: provide bytes os.linesep diff --git a/hgext/eol.py

Re: [PATCH 5 of 6 V2] templates: add "changeset.obsolete" label in command line style

2017-03-29 Thread Yuya Nishihara
On Tue, 28 Mar 2017 23:09:03 +0200, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490434829 -3600 > # Sat Mar 25 10:40:29 2017 +0100 > # Node ID 2c19dbbb54ff65847d93665072f4452ab9e357e8 > # Parent 59177c6110f2dc3e60730b00d54738528071b8ed > #

Re: [PATCH 1 of 6 V2] cmdutil: add a "changeset.obsolete" label in changeset_printer

2017-03-29 Thread Yuya Nishihara
On Tue, 28 Mar 2017 23:08:59 +0200, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490431147 -3600 > # Sat Mar 25 09:39:07 2017 +0100 > # Node ID 432a32f1941181e0fce98eda306601cbbf5c122a > # Parent 91ddb33deea5b4813d4897f6860b00078afd3f19 > #

Re: [PATCH 1 of 3] rcutil: do not cache rccomponents

2017-03-29 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-29 21:00:09 +0900: > On Tue, 28 Mar 2017 08:02:54 -0700, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490712840 25200 > > # Tue Mar 28 07:54:00 2017 -0700 > > # Node ID

Re: [PATCH] worker: flush ui buffers before running the worker

2017-03-29 Thread Yuya Nishihara
On Tue, 28 Mar 2017 10:22:18 -0700, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1490721698 25200 > # Tue Mar 28 10:21:38 2017 -0700 > # Node ID b89199982355728a3741edf5518c72ccc52ee33c > # Parent

Re: [PATCH] fileset: perform membership test against set for status queries

2017-03-29 Thread Yuya Nishihara
On Tue, 28 Mar 2017 14:41:13 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1490737213 25200 > # Tue Mar 28 14:40:13 2017 -0700 > # Node ID cf6393b6a3503f8885b704407e5bd58a89b96dfe > # Parent

[PATCH 5 of 7 shelve-ext v5] shelve: move ui.quiet manipulations to configoverride

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 743fea249a852994c5bd3e47cdfb617719f19a0a # Parent 63f5731a2dc01b30c9cd1d2c7c60a9a16d6c79c1 shelve: move ui.quiet manipulations to configoverride diff --git

[PATCH 7 of 7 shelve-ext v5] shelve: add some forwards compatibility to shelve operations

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 0953ca0a71a0e1f05078b0f3c255459e1ba56a4e # Parent 9ce0a366a6316d1cffc2a875e7dc6b4a3227c851 shelve: add some forwards compatibility to shelve operations This patch

[PATCH 4 of 7 shelve-ext v5] shelve: add shelve type saving and loading

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 63f5731a2dc01b30c9cd1d2c7c60a9a16d6c79c1 # Parent fc1144e5993a5c85060b913e2d92cd4b1b61772e shelve: add shelve type saving and loading We need shelve type to be

[PATCH 6 of 7 shelve-ext v5] shelve: add obs-based unshelve functionality

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 9ce0a366a6316d1cffc2a875e7dc6b4a3227c851 # Parent 743fea249a852994c5bd3e47cdfb617719f19a0a shelve: add obs-based unshelve functionality Obsolescense-based

[PATCH 3 of 7 shelve-ext v5] shelve: add obs-based shelve functionality

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID fc1144e5993a5c85060b913e2d92cd4b1b61772e # Parent 0aa864184c9d78c11d18980cf0faa10828445ff5 shelve: add obs-based shelve functionality Obsolescense-based shelve

[PATCH 2 of 7 shelve-ext v5] shelve: add a function to check whether obs-based shelve is enabled

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 0aa864184c9d78c11d18980cf0faa10828445ff5 # Parent b5d6e501621808f330e46295d09526a5d1e9064a shelve: add a function to check whether obs-based shelve is enabled A

[PATCH 1 of 7 shelve-ext v5] shelve: move node-pruning functionality to be member of shelvedstate

2017-03-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID b5d6e501621808f330e46295d09526a5d1e9064a # Parent d73490957d6162edf064055e40b321ee819187d2 shelve: move node-pruning functionality to be member of shelvedstate

[PATCH] hgweb: fix diff hunks filtering by line range in webutil.diffs()

2017-03-29 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1490782027 -7200 # Wed Mar 29 12:07:07 2017 +0200 # Node ID 28297d6c3ae842f4c26f878bf5b107619366fbd5 # Parent e540846c67e0f838bcdb1db567a57df28d92491c # Available At http://hg.logilab.org/users/dlaxalde/hg #

Re: [PATCH 7 of 7] revlog: avoid apply delta chain when cache hit in revlog.revision

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490683696 25200 # Mon Mar 27 23:48:16 2017 -0700 # Node ID 8c9f728ef3a3fff029d7fe6c875ed783c66dc254 # Parent d3d803ed16fe8e9d43f7a4daeca079e4022c297a revlog: avoid apply delta chain when cache hit

Re: [PATCH 6 of 7] revlog: indent block to make review easier

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490683470 25200 # Mon Mar 27 23:44:30 2017 -0700 # Node ID d3d803ed16fe8e9d43f7a4daeca079e4022c297a # Parent aecce2adbd64b25325e559798baa617e7311e85f revlog: indent block to make review easier

Re: [PATCH 5 of 7] revlog: add a fast path for non-raw revision

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490683355 25200 # Mon Mar 27 23:42:35 2017 -0700 # Node ID aecce2adbd64b25325e559798baa617e7311e85f # Parent a9d87712bec99abe109c155948ee4b7f1f5ec208 # Available At

Re: [PATCH 4 of 7] revlog: add test to check raw processing is sane

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490677106 25200 # Mon Mar 27 21:58:26 2017 -0700 # Node ID a9d87712bec99abe109c155948ee4b7f1f5ec208 # Parent d557aaee6ada70bf51fcc9d4d05d07a54d8f2d4e revlog: add test to check raw processing is sane

Re: [PATCH 3 of 7] revlog: do not return raw cache blindly

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490685397 25200 # Tue Mar 28 00:16:37 2017 -0700 # Node ID d557aaee6ada70bf51fcc9d4d05d07a54d8f2d4e # Parent 99cfe31d37df62b50e53a126f0eb31a1e352ac67 revlog: do not return raw cache blindly

Re: [PATCH 2 of 7] revlog: make sure _cache only contain raw content

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490685282 25200 # Tue Mar 28 00:14:42 2017 -0700 # Node ID 99cfe31d37df62b50e53a126f0eb31a1e352ac67 # Parent 1e84f9bd4385a8f95ac1ec15dee14c723071ab34 revlog: make sure _cache only contain raw

Re: [PATCH 1 of 7] revlog: use raw content when building delta

2017-03-29 Thread Ryan McElroy
On 3/28/17 8:49 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490682886 25200 # Mon Mar 27 23:34:46 2017 -0700 # Node ID 1e84f9bd4385a8f95ac1ec15dee14c723071ab34 # Parent 1ed57a7dd904f8b79f79ecb4ea6fe1871e7af740 revlog: use raw content when building delta

Re: [PATCH 1 of 5] repair: use ProgrammingError

2017-03-29 Thread Pierre-Yves David
On 03/28/2017 08:59 PM, Ryan McElroy wrote: On 3/27/17 2:11 PM, Augie Fackler wrote: On Mon, Mar 27, 2017 at 09:18:55AM +0200, Pierre-Yves David wrote: Sure, that seems like a good idea. Can you see to it ? It's a good idea, but I feel like the name "ProgrammingError" alone provides some

Re: [PATCH 5 of 6] rebase: demonstrate behavior with requiredest and pull --rebase

2017-03-29 Thread Ryan McElroy
On 3/28/17 10:35 PM, Jun Wu wrote: Excerpts from Ryan McElroy's message of 2017-03-28 14:31:14 -0700: # HG changeset patch # User Ryan McElroy # Date 1490735116 25200 # Tue Mar 28 14:05:16 2017 -0700 # Node ID cdf33d63e89377abd6f48ba6d4548a3b3f4af3e2 # Parent

Re: [PATCH] test-rebase-base: add a note about the test name

2017-03-29 Thread Ryan McElroy
On 3/28/17 10:40 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490737090 25200 # Tue Mar 28 14:38:10 2017 -0700 # Node ID 31073077267b5e330925d48098dd6e0fd28bdd8e # Parent ce672245b46749351a71701d2fa6c786d9b2eebb test-rebase-base: add a note about the test

Re: [PATCH] revlog: use raw revision for rawsize

2017-03-29 Thread Ryan McElroy
On 3/29/17 4:31 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490758201 25200 # Tue Mar 28 20:30:01 2017 -0700 # Node ID 5c6ebe1cd99e9557b61ef51ed88e335ac87df8da # Parent 31073077267b5e330925d48098dd6e0fd28bdd8e revlog: use raw revision for rawsize diff --git

Re: [PATCH] fileset: perform membership test against set for status queries

2017-03-29 Thread Ryan McElroy
On 3/28/17 10:41 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1490737213 25200 # Tue Mar 28 14:40:13 2017 -0700 # Node ID cf6393b6a3503f8885b704407e5bd58a89b96dfe # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a fileset: perform

Re: [PATCH hglib RESEND] hglib: fix hg clone --uncompressed option typo (issue5458)

2017-03-29 Thread Ryan McElroy
This patch looks like a pretty clear fix of a typo... should be straightforward to review. It's already been marked pre-reviewed. However, I don't see mpm in the cc list? So adding him direct to: ~Ryan On 3/28/17 9:08 PM, Kevin Bullock wrote: Adding Matt to direct Cc:, who I think is still