Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At

[PATCH 3 of 3] util: add debugstacktrace depth limit

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID ce250992a9b953235c787ed6225d21ebe037cb0a # Parent dbf53b1ab67f06fcf13736c1bd91f8472a851be5 util: add debugstacktrace depth limit Useful when you don'

[PATCH 1 of 3] tests: rework util.debugstacktrace tests

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421378800 -3600 # Fri Jan 16 04:26:40 2015 +0100 # Node ID 56ee8fd0a885a7ba4f4da5dbe85d8844bb45df5b # Parent 295625f1296bda9c507b9025177c4f2452408cc3 tests: rework util.debugstacktrace tests Prepare for adding a

[PATCH 2 of 3] util: strip trailing newline from debugstacktrace message

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421378800 -3600 # Fri Jan 16 04:26:40 2015 +0100 # Node ID dbf53b1ab67f06fcf13736c1bd91f8472a851be5 # Parent 56ee8fd0a885a7ba4f4da5dbe85d8844bb45df5b util: strip trailing newline from debugstacktrace message This

[PATCH 2 of 4 v2-vfs] merge: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 0f13797e5d6e08f75267b6e9c77a62d49fd0f69b # Parent 1325d609f2ea114ecd8c6600a0071570bdb76dcd merge: use repo.wvfs.unlinkpath diff --git a/mercurial/merg

[PATCH 4 of 4 v2-vfs] vfs: use repo.vfs.rename

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <m...@kiilerich.com> # Date 1489259054 28800 # Sat Mar 11 11:04:14 2017 -0800 # Node ID 243a751bf6a01483e5f4ed4110213959d926af9f # Parent ccc0f541eec23587a03c980e001a7a7e760f6e05 vfs: use repo.vfs.rename diff --git a/hgext/mq.py b/hgext

[PATCH 1 of 4 v2-vfs] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 1325d609f2ea114ecd8c6600a0071570bdb76dcd # Parent 295625f1296bda9c507b9025177c4f2452408cc3 vfs: use repo.wvfs.unlinkpath diff --git a/hgext/larg

[PATCH 2 of 4] merge: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 16a3f9ec44d37ae07adf9b8bf25a843ce33ba002 # Parent 87642d502ec91e5c8e97a8681da3d8fdbf217ab1 merge: use repo.wvfs.unlinkpath diff --git a/mercurial/merg

[PATCH 1 of 4] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 87642d502ec91e5c8e97a8681da3d8fdbf217ab1 # Parent 150cd51257221fad5ccba5794e7a21837afba479 vfs: use repo.wvfs.unlinkpath diff --git a/hgext/larg

[PATCH 3 of 4] vfs: use repo.vfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <m...@kiilerich.com> # Date 1489258945 28800 # Sat Mar 11 11:02:25 2017 -0800 # Node ID 6a4b43aac8e015396498a35e332b1b7ada475fca # Parent 16a3f9ec44d37ae07adf9b8bf25a843ce33ba002 vfs: use repo.vfs.unlinkpath diff --git a/hgext/rebase.py b

[PATCH 4 of 4] vfs: use repo.vfs.rename

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <m...@kiilerich.com> # Date 1489259054 28800 # Sat Mar 11 11:04:14 2017 -0800 # Node ID fdbee5ee81dd7f2156f1d06da4929ab4699cab06 # Parent 6a4b43aac8e015396498a35e332b1b7ada475fca vfs: use repo.vfs.rename diff --git a/hgext/mq.py b/hgext

Re: [PATCH 2 of 2 stable] merge: fix crash on criss cross merge with dir move and delete (issue5020)

2017-01-31 Thread Mads Kiilerich
On 01/31/2017 03:49 PM, Yuya Nishihara wrote: @@ -1029,7 +1032,19 @@ def calculateupdates(repo, wctx, mctx, a repo.ui.warn(_(' %s: ambiguous merge - picked %s action\n') % (f, m)) actions[f] = l[0] +if m == 'dm': +

[PATCH stable] merge: more safe detection of criss cross merge conflict between dm and r

2017-01-31 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <m...@kiilerich.com> # Date 1485911430 -3600 # Wed Feb 01 02:10:30 2017 +0100 # Branch stable # Node ID 086c37652735ca87117333fc71941bcb67b799c3 # Parent 2d6b86cadc1039f7cf72b64c29399bebe02e7dd3 merge: more safe detection of criss cross

Re: [PATCH 2 of 3 stable] tests: correct (I think) command in test-largefiles-update

2017-01-31 Thread Mads Kiilerich
On 01/31/2017 12:54 AM, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1485817397 18000 # Mon Jan 30 18:03:17 2017 -0500 # Branch stable # Node ID b4118549138f0872c218835d3ae10c9e70d867de # Parent d717001c36eb9d184b6c83874feb600adc22e8e7 tests:

Re: [PATCH 7 of 7 v2] bdiff: give slight preference to removing trailing lines

2016-11-25 Thread Mads Kiilerich
On 11/24/2016 06:52 PM, Jun Wu wrote: Excerpts from Augie Fackler's message of 2016-11-17 12:42:26 -0500: My own cursory perfbdiff runs suggest this is a perf wash (using `perfbdiff -m 3041e4d59df2` in the mozilla repo). Queued. Thanks! I'd mention this series changes the behavior of the diff

Re: [PATCH] posix: _really_ make sure .hg/cache/checklink points at a real file

2016-11-23 Thread Mads Kiilerich
On 11/23/2016 11:24 PM, Pierre-Yves David wrote: On 11/23/2016 11:09 PM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479938505 -3600 # Wed Nov 23 23:01:45 2016 +0100 # Node ID 2841e0a6f97ba09dff5ffe7f42ac8c6e1b23338f #

[PATCH] merge: use original file extension for temporary files

2016-11-23 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479941258 -3600 # Wed Nov 23 23:47:38 2016 +0100 # Node ID 9cee175ec5a6e2530190a120244c0d210c469dd8 # Parent b3808b2f2e8758f5c763344ce4b81dcf723028ae merge: use original file extension for temporary files Some

Re: [PATCH 1 of 2] bdiff: early pruning of common prefix before doing expensive computations

2016-11-17 Thread Mads Kiilerich
On 11/17/2016 07:53 PM, Gregory Szorc wrote: On Thu, Nov 17, 2016 at 9:16 AM, Mads Kiilerich <m...@kiilerich.com <mailto:m...@kiilerich.com>> wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com <mailto:mad...@unity3d.com>> # Date 1479321

[PATCH 1 of 5] posix: move checkexec test file to .hg/cache

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479383976 -3600 # Thu Nov 17 12:59:36 2016 +0100 # Node ID 1b5e959ebd859c27b3369124c926a512e222545c # Parent 854190becacb8abecbf5c18a777b02bbc045 posix: move checkexec test file to .hg/cache This avoids unnec

[PATCH 4 of 5] posix: move checklink test file to .hg/cache

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479383976 -3600 # Thu Nov 17 12:59:36 2016 +0100 # Node ID 5409e0c5e6c0764e802360a3912f7719885ba2b5 # Parent 23e2868f6dfd50d4d7ca3e0748cb62bcf4354a52 posix: move checklink test file to .hg/cache This avoids unnec

[PATCH 5 of 5] posix: give checklink a fast path that cache the check file and is read only

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 73b671fbed41d82a5dd46e485c61ddb8afe42faf # Parent 5409e0c5e6c0764e802360a3912f7719885ba2b5 posix: give checklink a fast path that cache the chec

[PATCH 3 of 5] posix: give checkexec a fast path; keep the check files and test read only

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 23e2868f6dfd50d4d7ca3e0748cb62bcf4354a52 # Parent f383046bc26d39d307523521de2df5885ba111ff posix: give checkexec a fast path; keep the check files and tes

[PATCH 2 of 5] posix: simplify checkexec check

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID f383046bc26d39d307523521de2df5885ba111ff # Parent 1b5e959ebd859c27b3369124c926a512e222545c posix: simplify checkexec check Use a slightly simpler

[PATCH stable,v2] shelve: add missing space in help text

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479159805 -3600 # Mon Nov 14 22:43:25 2016 +0100 # Node ID 543c83999f3e1b0f8f62e5f2150b48bc47d55b0c # Parent 73b671fbed41d82a5dd46e485c61ddb8afe42faf shelve: add missing space in help text The change is t

Re: [PATCH stable] shelve: add missing space in help text

2016-11-17 Thread Mads Kiilerich
On 11/17/2016 07:05 PM, Jun Wu wrote: Curious: in situations like this, do i18n translators need to re-translate the text? Yeah, the sentence has been translated to Japanese and Portuguese, but the missing space has probably already been "lost in translation". There should thus not be any

[PATCH stable] shelve: add missing space in help text

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479159805 -3600 # Mon Nov 14 22:43:25 2016 +0100 # Branch stable # Node ID 649dbbabbd067aea7fe96bab700835f60a9b1ef3 # Parent e0ff47999b1384e42bdc99f5026c7e2ed5405047 shelve: add missing space in help text diff

[PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-11-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479322051 -3600 # Wed Nov 16 19:47:31 2016 +0100 # Node ID 851a14d5b80639efe61bd01ad215479c99106b40 # Parent 7f39bccc1c96bffc83f3c6e774da57ecd38982a7 bdiff: early pruning of common suffix before doing exp

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-16 Thread Mads Kiilerich
On 11/16/2016 04:16 PM, Augie Fackler wrote: On Nov 16, 2016, at 08:47, Mads Kiilerich <m...@kiilerich.com> wrote: On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@un

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-16 Thread Mads Kiilerich
On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476739015 -7200 # Mon Oct 17 23:16:55 2016 +0200 # Node ID efd5397e9da5b1d7e2c3353b0b06fc904651b150 #

Re: [PATCH 5 of 5 rfc] bdiff: make sure we append to repeated lines instead of inserting into range

2016-11-15 Thread Mads Kiilerich
On 11/12/2016 03:58 PM, Jun Wu wrote: Excerpts from Mads Kiilerich's message of 2016-11-03 22:34:15 +0100: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID be83c5f4ec8931cb7e771a80a3ef5e2042a005c1 #

[PATCH 2 of 7 v2] tests: explore some bdiff cases

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 0f97aaa1b3f5c25e02296c73e6e93d77a197910c # Parent b7354208678098580f6e5f975d734c1e8dd9d846 tests: explore some bdiff cases diff --git a/tests/test-bdif

[PATCH 1 of 7 v2] tests: make test-bdiff.py easier to maintain

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1479243409 -3600 # Tue Nov 15 21:56:49 2016 +0100 # Node ID b7354208678098580f6e5f975d734c1e8dd9d846 # Parent e1d6aa0e4c3aed73e0dc523b8a8fd5f9fe23510a tests: make test-bdiff.py easier to maintain Add more stdout l

[PATCH 5 of 7 v2] bdiff: give slight preference to longest matches in the middle of the B side

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 5ae7e8061a9671e8941a7a17e316254d228acf59 # Parent 5bb26f29b1509520ca3af4c540775cab50b4d6c0 bdiff: give slight preference to longest matches in the

[PATCH 4 of 7 v2] bdiff: rearrange the "better longest match" code

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 5bb26f29b1509520ca3af4c540775cab50b4d6c0 # Parent fbce612c9be26860338f6ba4ab5df819b6d79521 bdiff: rearrange the "better longest match" code T

Re: [PATCH 1 of 2] perf: add perfbdiff

2016-11-06 Thread Mads Kiilerich
On 11/06/2016 08:42 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1478414512 25200 # Sat Nov 05 23:41:52 2016 -0700 # Node ID e65ef545a3dcb46fe0f1798e76ea17f9f9323452 # Parent f01367faa792635ad2f7a6b175ae3252292b5121 perf: add perfbdiff

Re: [PATCH 1 of 5 rfc] tests: explore some bdiff cases

2016-11-06 Thread Mads Kiilerich
On 11/06/2016 10:07 AM, Yuya Nishihara wrote: On Thu, 03 Nov 2016 22:34:11 +0100, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID f6408efe0d0f4179fe6cc2b967164c1b4567f3d6 #

[PATCH 3 of 5 rfc] bdiff: rearrange the better longest match code

2016-11-03 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID a3e3c7075c3c4b92e6b8c27e28bef7b2c061008d # Parent c593308da04e9144da01a08401d886a64985c74b bdiff: rearrange the better longest match code Primarily t

[PATCH 5 of 5 rfc] bdiff: make sure we append to repeated lines instead of inserting into range

2016-11-03 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID be83c5f4ec8931cb7e771a80a3ef5e2042a005c1 # Parent 3e0216b2a0995cb21946bc13fb21391013332c57 bdiff: make sure we append to repeated lines instead of ins

[PATCH 1 of 5 rfc] tests: explore some bdiff cases

2016-11-03 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID f6408efe0d0f4179fe6cc2b967164c1b4567f3d6 # Parent d06c049695e6ad3219e7479c65ce98a2f123e878 tests: explore some bdiff cases diff --git a/tests/test-bha

[PATCH 2 of 5 rfc] bdiff: adjust criteria for getting optimal longest match in the middle

2016-11-03 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID c593308da04e9144da01a08401d886a64985c74b # Parent f6408efe0d0f4179fe6cc2b967164c1b4567f3d6 bdiff: adjust criteria for getting optimal longest match in the

[PATCH 1 of 2] largefiles: clarify variable name holding file mode

2016-11-02 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476801939 -7200 # Tue Oct 18 16:45:39 2016 +0200 # Node ID 90300200bc1fcaedcc6ab109574d08b01ece2853 # Parent bb586966818986131068280bfd95fc96fbdaaa0d largefiles: clarify variable name holding file mode A fol

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Mads Kiilerich
On 11/02/2016 03:41 PM, Augie Fackler wrote: On Nov 2, 2016, at 10:32, Mads Kiilerich <m...@kiilerich.com> wrote: On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.co

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Mads Kiilerich
On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476739015 -7200 # Mon Oct 17 23:16:55 2016 +0200 # Node ID efd5397e9da5b1d7e2c3353b0b06fc904651b150 #

Re: [PATCH 2 of 4 STABLE] help: replace selenic.com by mercurial-scm.org in man pages

2016-11-01 Thread Mads Kiilerich
On 11/01/2016 12:47 PM, FUJIWARA Katsunori wrote: # HG changeset patch # User FUJIWARA Katsunori # Date 1478000376 -32400 # Tue Nov 01 20:39:36 2016 +0900 # Branch stable # Node ID 4cc5a1e982f91d009e00068e9a0f876e03afbf45 # Parent

Re: [PATCH stable] revset: don't cache abstractsmartset min/max invocations infinitely

2016-10-26 Thread Mads Kiilerich
On 10/26/2016 02:31 PM, Yuya Nishihara wrote: On Wed, 26 Oct 2016 14:09:17 +0200, Mads Kiilerich wrote: Instead, I would perhaps prefer to introduce a 'gettercache' that works on methods that only have self as parameter (and thus can set a simple instance method as I do here

Re: [PATCH stable] revset: don't cache abstractsmartset min/max invocations infinitely

2016-10-26 Thread Mads Kiilerich
On 10/26/2016 01:21 PM, Yuya Nishihara wrote: On Tue, 25 Oct 2016 18:57:26 +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1477414587 -7200 # Tue Oct 25 18:56:27 2016 +0200 # Branch stable # N

[PATCH stable] revset: don't cache abstractsmartset min/max invocations infinitely

2016-10-25 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1477414587 -7200 # Tue Oct 25 18:56:27 2016 +0200 # Branch stable # Node ID c2fe58cd4235fc6c8cabea882794303d620bec3a # Parent 76c57e1fe79b0980b377b4f305635dea393d6315 revset: don't cache abstractsmartset m

[PATCH 1 of 3] largefiles: clarify variable name holding file mode

2016-10-18 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476801939 -7200 # Tue Oct 18 16:45:39 2016 +0200 # Node ID 6d4322a34c2a543665d702fd10f38f1af6001715 # Parent 26089f5e3b51d0416b985ec78e7facdb3113aa48 largefiles: clarify variable name holding file mode A fol

[PATCH 3 of 3] dirstate: add debug message for debug.dirstate.delaywrite

2016-10-18 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476803223 -7200 # Tue Oct 18 17:07:03 2016 +0200 # Node ID 9329389e9dc752652f7c820255ca5afa346c4e08 # Parent cde3cae17cba67f80b9f1b41e5cc5fe3b87cd06f dirstate: add debug message for debug.dirstate.delaywrite

Re: [PATCH stable] tests: work around instability that caused test from 4999c12c526b to fail

2016-10-18 Thread Mads Kiilerich
On 10/18/2016 02:30 PM, Pierre-Yves David wrote: On 10/18/2016 01:33 AM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476746894 -7200 # Tue Oct 18 01:28:14 2016 +0200 # Branch stable # Node ID 548f82b480d086c7a551b025fb980cd701

[PATCH stable] tests: work around instability that caused test from 4999c12c526b to fail

2016-10-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476746894 -7200 # Tue Oct 18 01:28:14 2016 +0200 # Branch stable # Node ID 548f82b480d086c7a551b025fb980cd70187c880 # Parent 328545c7d8a1044330b8a5bfbdd9c2ff08625d6a tests: work around instability that caused tes

[PATCH] spelling: fixes of non-dictionary words

2016-10-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476739015 -7200 # Mon Oct 17 23:16:55 2016 +0200 # Node ID efd5397e9da5b1d7e2c3353b0b06fc904651b150 # Parent 8a864844d5a0c34bdb24d2e098a0cd339e32e020 spelling: fixes of non-dictionary words diff --git a/contr

[PATCH] revset: optimize for destination() being "inefficient"

2016-10-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476726516 -7200 # Mon Oct 17 19:48:36 2016 +0200 # Node ID 50a7bbe82bd3b63a934640b1480ee643cf14ec5f # Parent 5cb830801855dbb63e98b948e355bc995d295bf3 revset: optimize for destination() being "inefficient&qu

Re: [PATCH stable] largefiles: fix 'deleted' files sometimes persistently appearing with R status

2016-10-17 Thread Mads Kiilerich
On 10/17/2016 05:12 PM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476717144 -7200 # Mon Oct 17 17:12:24 2016 +0200 # Node ID bba9f6bba98f82f2403aac8dc656569562690472 # Parent 92414d57a05de39864aecc625e775c693d9edb51 largefile

Re: disrstate._check(link|exec) modifies repo dir mtime

2016-10-17 Thread Mads Kiilerich
On 10/17/2016 03:55 PM, Yuya Nishihara wrote: Please correct me if I misread the patch. 1. checkexec() on normal unix filesystem: creates 'checkisexec' 0755 2. copy it to VFAT: 'checkisexec' 0644 3. copy back from VFAT: 'checkisexec' 0644 4. checkexec() returns False because no exec

[PATCH 1 of 2 stable] largefiles: test coverage of fatal interruption of update

2016-10-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476577598 -7200 # Sun Oct 16 02:26:38 2016 +0200 # Node ID 2105975810c843d016ba930c44e63699af2703a6 # Parent 5cb830801855dbb63e98b948e355bc995d295bf3 largefiles: test coverage of fatal interruption of update Test

[PATCH 2 of 2 stable] largefiles: more safe handling of interruptions while updating modifications

2016-10-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476577785 -7200 # Sun Oct 16 02:29:45 2016 +0200 # Node ID dcd190cb73a0740be570bdfbc1090066c38e1173 # Parent 2105975810c843d016ba930c44e63699af2703a6 largefiles: more safe handling of interruptions while up

[PATCH 1 of 3 v2] cmdutil: satisfy expections in dirstateguard.__del__, even if __init__ fails

2016-10-13 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476402795 -7200 # Fri Oct 14 01:53:15 2016 +0200 # Node ID 426994acbf9c9b78aa6922a279dca4091b6508dc # Parent c0410814002f467c24ef07ce73850ba15b306f8e cmdutil: satisfy expections in dirstateguard.__del__, even if __

[PATCH 2 of 3 v2] tests: add more test coverage of phase changes when pushing

2016-10-13 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1471734720 -7200 # Sun Aug 21 01:12:00 2016 +0200 # Node ID 24a7ccfb932b134da24e58817991943c8bbd63fa # Parent 426994acbf9c9b78aa6922a279dca4091b6508dc tests: add more test coverage of phase changes when pushing P

[PATCH 2 of 2 v2] util: increase filechunkiter size to 128k

2016-10-13 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476402795 -7200 # Fri Oct 14 01:53:15 2016 +0200 # Node ID 8909ce1593659bce0563cc66ca3fa34525daed65 # Parent b7889580507c3d1d40e61904c7a2c2aba335c6cd util: increase filechunkiter size to 128k util.filechunkiter ha

[PATCH 1 of 2 v2] largefiles: always use filechunkiter when iterating files

2016-10-13 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476267738 -7200 # Wed Oct 12 12:22:18 2016 +0200 # Node ID b7889580507c3d1d40e61904c7a2c2aba335c6cd # Parent c0410814002f467c24ef07ce73850ba15b306f8e largefiles: always use filechunkiter when iterating files Befo

[PATCH] demandimport: disable lazy import of __builtin__

2016-10-13 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476407019 -7200 # Fri Oct 14 03:03:39 2016 +0200 # Node ID c0fd76f612735f0354102603ee630437208d8336 # Parent c0410814002f467c24ef07ce73850ba15b306f8e demandimport: disable lazy import of __builtin__ Demandimpor

Re: [PATCH 1 of 6] largefiles: when setting/clearing x bit on largefiles, don't change other bits

2016-10-13 Thread Mads Kiilerich
On 10/13/2016 05:57 PM, Pierre-Yves David wrote: On 10/13/2016 04:13 PM, Yuya Nishihara wrote: Okay, pruned the following changes from hg-committed: Urg, direct pruning on hg-commmitted is problematic as it makes changesets disappear on the contributor see (see the related thread on the

Re: [PATCH 1 of 6] largefiles: when setting/clearing x bit on largefiles, don't change other bits

2016-10-13 Thread Mads Kiilerich
On 10/13/2016 03:58 PM, Yuya Nishihara wrote: On Thu, 13 Oct 2016 15:46:25 +0200, Mads Kiilerich wrote: On 10/13/2016 03:39 PM, Yuya Nishihara wrote: The series looks good to me. Queued up to the patch 5, thanks. I have also looked into reworking it to increasing the default chunksize to 128k

Re: [PATCH 1 of 6] largefiles: when setting/clearing x bit on largefiles, don't change other bits

2016-10-13 Thread Mads Kiilerich
On 10/13/2016 03:39 PM, Yuya Nishihara wrote: On Sat, 08 Oct 2016 01:26:05 +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475881180 -7200 # Sat Oct 08 00:59:40 2016 +0200 # Node ID 96315a5833ed015acb7bd8f6d7f1e38db6fa9c50 #

Re: [PATCH 1 of 2] eol: do not wait on lack when writing cache

2016-10-13 Thread Mads Kiilerich
On 10/13/2016 01:53 PM, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1476359131 -7200 # Thu Oct 13 13:45:31 2016 +0200 # Node ID 88cc944830d0c1895e527d6ca13687f1d5e1c785 # Parent 747e546c561fbf34d07cd30013eaf42b0190bb3b eol:

[PATCH 2 of 3 v2] tests: add more test coverage of phase changes when pushing

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1471734720 -7200 # Sun Aug 21 01:12:00 2016 +0200 # Node ID 6affe6ed5cc5b945961fb8f1fe2dc18e711089c2 # Parent 8db96226f748ff80003c0964bc4ece3b6c3e6d12 tests: add more test coverage of phase changes when pushing P

[PATCH 1 of 3 v2] cmdutil: satisfy expections in dirstateguard.__del__, even if __init__ fails

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476317981 -7200 # Thu Oct 13 02:19:41 2016 +0200 # Node ID 8db96226f748ff80003c0964bc4ece3b6c3e6d12 # Parent b85fa6bf298be07804a74d8fdec0d19fdbc6d740 cmdutil: satisfy expections in dirstateguard.__del__, even if __

[PATCH 3 of 3 v2] repos: introduce '-R readonly:PATH' for doing local operations "read only"

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476319116 -7200 # Thu Oct 13 02:38:36 2016 +0200 # Node ID bc711933bb8cfacfe87d83fe945cf566d79439d8 # Parent 6affe6ed5cc5b945961fb8f1fe2dc18e711089c2 repos: introduce '-R readonly:PATH' for doing local operations

[PATCH 2 of 3] merge: only show "cannot merge flags for %s" warning if flags are different

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476267738 -7200 # Wed Oct 12 12:22:18 2016 +0200 # Node ID 29bd20c4999865fc19ca3f0344c2c1231a318b1c # Parent bc7af83150d0137d35d2cd9bf715fc0e3658cf8a merge: only show "cannot merge flags for %s"

[PATCH 1 of 3] tests: add test coverage of merging x flag without ancestor

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476267738 -7200 # Wed Oct 12 12:22:18 2016 +0200 # Node ID bc7af83150d0137d35d2cd9bf715fc0e3658cf8a # Parent b85fa6bf298be07804a74d8fdec0d19fdbc6d740 tests: add test coverage of merging x flag without an

[PATCH 3 of 3] merge: clarify warning for (not) merging flags without ancestor

2016-10-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476267738 -7200 # Wed Oct 12 12:22:18 2016 +0200 # Node ID 9588752fc3a6d2b5b1f40ddfc48965997270892d # Parent 29bd20c4999865fc19ca3f0344c2c1231a318b1c merge: clarify warning for (not) merging flags without ancestor

Re: [PATCH 3 of 3] eol: on update, only re-check files if filtering changed

2016-10-09 Thread Mads Kiilerich
On 10/09/2016 04:45 PM, Pierre-Yves David wrote: On 10/09/2016 04:19 PM, Mads Kiilerich wrote: diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -312,10 +312,15 @@ def reposetup(ui, repo): self._eolmatch = util.never return

[PATCH 2 of 3] eol: store and reuse pattern matchers instead of creating in tight loop

2016-10-09 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476021282 -7200 # Sun Oct 09 15:54:42 2016 +0200 # Node ID 5240a8c9b6289838592f24f4e41a1158a48b951a # Parent 408ddba4689de432fe77e0ba8d27765b63719180 eol: store and reuse pattern matchers instead of creating in

[PATCH 1 of 3] eol: fix variable naming - call it _eolmatch instead of _eolfile

2016-10-09 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476020562 -7200 # Sun Oct 09 15:42:42 2016 +0200 # Node ID 408ddba4689de432fe77e0ba8d27765b63719180 # Parent dbcef8918bbdd8a64d9f79a37bcfa284a26f3a39 eol: fix variable naming - call it _eolmatch instead of _e

[PATCH 3 of 3] eol: on update, only re-check files if filtering changed

2016-10-09 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1476021289 -7200 # Sun Oct 09 15:54:49 2016 +0200 # Node ID 956e0c953cca045fc2bb57867b8c95f123d66841 # Parent 5240a8c9b6289838592f24f4e41a1158a48b951a eol: on update, only re-check files if filtering changed

Re: [PATCH] import: abort instead of crashing when copy source does not exist (issue5375)

2016-10-08 Thread Mads Kiilerich
On 10/08/2016 06:11 PM, Ryan McElroy wrote: # HG changeset patch # User Ryan McElroy # Date 1475929618 25200 # Sat Oct 08 05:26:58 2016 -0700 # Node ID 961569a2cbeebfd54c9369c6e36d03d4938aef38 # Parent dbcef8918bbdd8a64d9f79a37bcfa284a26f3a39 import: abort instead of

[PATCH 6 of 6] largefiles: PoC: replace largefile copies in working directory with symlinks

2016-10-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475882684 -7200 # Sat Oct 08 01:24:44 2016 +0200 # Node ID 36e7e42f266e5cc70535479e50445395402c7400 # Parent 2c25dc4a5a556abbebe09fe3c4eb0ff4c8fa0cd4 largefiles: PoC: replace largefile copies in working dir

[PATCH 4 of 6] largefiles: always use filechunkitersize when using filechunkiter

2016-10-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475881182 -7200 # Sat Oct 08 00:59:42 2016 +0200 # Node ID 8838011d6452cbe31608482cc9f1b81e00fb1ca5 # Parent 5d63b84517ab6ecff8695aff0748bef9695c241c largefiles: always use filechunkitersize when using filechu

[PATCH 2 of 6] largefiles: use context for file closing

2016-10-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475881181 -7200 # Sat Oct 08 00:59:41 2016 +0200 # Node ID 87cea1040403001e660dd1c6b2e2d069d8a51d2e # Parent 96315a5833ed015acb7bd8f6d7f1e38db6fa9c50 largefiles: use context for file closing Make the code sl

[PATCH 1 of 6] largefiles: when setting/clearing x bit on largefiles, don't change other bits

2016-10-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475881180 -7200 # Sat Oct 08 00:59:40 2016 +0200 # Node ID 96315a5833ed015acb7bd8f6d7f1e38db6fa9c50 # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 largefiles: when setting/clearing x bit on largefiles, don't

[PATCH 5 of 6] largefiles: always use filechunkiter when iterating files

2016-10-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich <mad...@unity3d.com> # Date 1475881183 -7200 # Sat Oct 08 00:59:43 2016 +0200 # Node ID 2c25dc4a5a556abbebe09fe3c4eb0ff4c8fa0cd4 # Parent 8838011d6452cbe31608482cc9f1b81e00fb1ca5 largefiles: always use filechunkiter when iterating files Befo

<    1   2