[PATCH 2 of 3] tests: add a test to show the added/modified/removed files in a bzr convert

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1531508595 14400 # Fri Jul 13 15:03:15 2018 -0400 # Node ID c422c23107cbd305ac433ce9bd3de3ba1b1ad33a # Parent 51e66389f5df997022a8ab76a4c2da2d2e83f206 tests: add a test to show the added/modified/removed files in a bzr convert diff --git a

[PATCH 1 of 3] tests: show added/modified/removed files when logging repos converted from bzr

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1531499586 14400 # Fri Jul 13 12:33:06 2018 -0400 # Node ID 51e66389f5df997022a8ab76a4c2da2d2e83f206 # Parent d859b48730b87d7d63097a5892df658a4e141c42 tests: show added/modified/removed files when logging repos converted from bzr There

[PATCH 3 of 3] tests: demonstrate a problem with renames on the p2 side of a conversion

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534796376 14400 # Mon Aug 20 16:19:36 2018 -0400 # Node ID 215e2afc21ce3b628855bd3696c4426e391d3c9a # Parent c422c23107cbd305ac433ce9bd3de3ba1b1ad33a tests: demonstrate a problem with renames on the p2 side of a conversion I think this is

[PATCH 2 of 3 V2] tests: add a test to show the added/modified/removed files in a bzr convert

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1531508595 14400 # Fri Jul 13 15:03:15 2018 -0400 # Node ID c422c23107cbd305ac433ce9bd3de3ba1b1ad33a # Parent 51e66389f5df997022a8ab76a4c2da2d2e83f206 tests: add a test to show the added/modified/removed files in a bzr convert diff --git a

[PATCH 1 of 3 V2] tests: show added/modified/removed files when logging repos converted from bzr

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1531499586 14400 # Fri Jul 13 12:33:06 2018 -0400 # Node ID 51e66389f5df997022a8ab76a4c2da2d2e83f206 # Parent d859b48730b87d7d63097a5892df658a4e141c42 tests: show added/modified/removed files when logging repos converted from bzr There

[PATCH 3 of 3 V2] tests: demonstrate a problem with renames on the p2 side of a conversion

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534796376 14400 # Mon Aug 20 16:19:36 2018 -0400 # Node ID c3b4a950b4ff63ebe6c719c5a955646b0f544ad7 # Parent c422c23107cbd305ac433ce9bd3de3ba1b1ad33a tests: demonstrate a problem with renames on the p2 side of a conversion I think this is

Re: [PATCH 1 of 5 RFC] tests: show added/modified/removed files when logging repos converted from bzr

2018-08-20 Thread Matt Harbison
On Fri, 10 Aug 2018 23:00:39 -0400, Matt Harbison wrote: Finally, I reconverted the original production hg repo (originally converted with ~3.7.1) using a vanilla 4.6.1. The result of this is identical to the output of the above hg -> hg conversion with your hack. So I guess the st

Re: [PATCH 7 of 7] tests: conditionalize color output on abort

2018-08-20 Thread Matt Harbison
On Mon, 20 Aug 2018 08:56:42 -0400, Yuya Nishihara wrote: On Sat, 18 Aug 2018 15:17:06 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1534619704 14400 # Sat Aug 18 15:15:04 2018 -0400 # Node ID 37eb716e10bbc1d5052923b7d0ff14090485 # Parent

[PATCH] tests: drop an unnecessary redirect to /dev/null

2018-08-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534817062 14400 # Mon Aug 20 22:04:22 2018 -0400 # Node ID c17fc7f1b96ac9f847f5e904c1331c29060ec9cd # Parent f85b256082527ab729cd480c21a310127b42eb2e tests: drop an unnecessary redirect to /dev/null This eliminates the need to

[PATCH 2 of 2] cext: fix truncation warnings in revlog on Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534899915 14400 # Tue Aug 21 21:05:15 2018 -0400 # Node ID 66d4a3ebb954ee8f5f6fe9fa26b1a11839c8611f # Parent 42cc76d0f836d224cacb2441368cf4e546b6c47d cext: fix truncation warnings in revlog on Windows diff --git a/mercurial/cext/revlog.c b

[PATCH 1 of 2] cext: fix revlog compiler error on Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534899478 14400 # Tue Aug 21 20:57:58 2018 -0400 # Node ID 42cc76d0f836d224cacb2441368cf4e546b6c47d # Parent 7a759ad2d06dcf6548a8cc19fcd773eaa943f7ac cext: fix revlog compiler error on Windows diff --git a/mercurial/cext/revlog.c b

[PATCH 2 of 6] cext: fix truncation warnings in revlog on Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534899915 14400 # Tue Aug 21 21:05:15 2018 -0400 # Node ID 66d4a3ebb954ee8f5f6fe9fa26b1a11839c8611f # Parent 42cc76d0f836d224cacb2441368cf4e546b6c47d cext: fix truncation warnings in revlog on Windows diff --git a/mercurial/cext/revlog.c b

[PATCH 1 of 6] cext: fix revlog compiler error on Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534899478 14400 # Tue Aug 21 20:57:58 2018 -0400 # Node ID 42cc76d0f836d224cacb2441368cf4e546b6c47d # Parent 7a759ad2d06dcf6548a8cc19fcd773eaa943f7ac cext: fix revlog compiler error on Windows diff --git a/mercurial/cext/revlog.c b

[PATCH 6 of 6] fastannotate: pconvert paths from the server for Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534906148 14400 # Tue Aug 21 22:49:08 2018 -0400 # Node ID 66f810d860a7bc5d6f7a0cc34a05f04538618ec4 # Parent 78044da31ab9bc0cbd0793bf9bc587271eb74bbf fastannotate: pconvert paths from the server for Windows I'm guessing that the right

[PATCH 3 of 6] fastannotate: make the default value for `fastannotate.useflock` dynamic

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534901350 14400 # Tue Aug 21 21:29:10 2018 -0400 # Node ID aba4c08cb0dfebb1f1c1d7738967b414a9ce4c78 # Parent 66d4a3ebb954ee8f5f6fe9fa26b1a11839c8611f fastannotate: make the default value for `fastannotate.useflock` dynamic fcntl.flock isn&#

[PATCH 4 of 6] test-fastannotate: fix trivial output differences on Windows

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534902224 14400 # Tue Aug 21 21:43:44 2018 -0400 # Node ID 2e2a52088a0ce8370fea5a8a132edbb041ba5218 # Parent aba4c08cb0dfebb1f1c1d7738967b414a9ce4c78 test-fastannotate: fix trivial output differences on Windows diff --git a/tests/test

[PATCH 5 of 6] test-fastannotate: close fd before unlinking to keep Windows happy

2018-08-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1534905272 14400 # Tue Aug 21 22:34:32 2018 -0400 # Node ID 78044da31ab9bc0cbd0793bf9bc587271eb74bbf # Parent 2e2a52088a0ce8370fea5a8a132edbb041ba5218 test-fastannotate: close fd before unlinking to keep Windows happy diff --git a/tests/test

Re: [PATCH 6 of 6] fastannotate: pconvert paths from the server for Windows

2018-08-21 Thread Matt Harbison
On Tue, 21 Aug 2018 22:55:27 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1534906148 14400 # Tue Aug 21 22:49:08 2018 -0400 # Node ID 66f810d860a7bc5d6f7a0cc34a05f04538618ec4 # Parent 78044da31ab9bc0cbd0793bf9bc587271eb74bbf fastannotate: pconvert paths

[PATCH] lfs: add a progress bar when searching for blobs to upload

2018-08-24 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535147146 14400 # Fri Aug 24 17:45:46 2018 -0400 # Node ID 76eca3ae345b261c0049d16269cdf991a31af21a # Parent c9a3f7f5c0235e3ae35135818c48ec5ea006de37 lfs: add a progress bar when searching for blobs to upload The search itself can take an

[PATCH] filemerge: fix an i18n comment typo

2018-08-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535597624 14400 # Wed Aug 29 22:53:44 2018 -0400 # Node ID 6827d3f47d4f1bab01a0cc92d7d9bfc52ee9f535 # Parent 8ff329f68f9a1b11eb877eafc4a539dce7096199 filemerge: fix an i18n comment typo diff --git a/mercurial/filemerge.py b/mercurial

Re: [PATCH] lfs: add a progress bar when searching for blobs to upload

2018-08-29 Thread Matt Harbison
On Fri, 24 Aug 2018 18:18:32 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1535147146 14400 # Fri Aug 24 17:45:46 2018 -0400 # Node ID 76eca3ae345b261c0049d16269cdf991a31af21a # Parent c9a3f7f5c0235e3ae35135818c48ec5ea006de37 lfs: add a progress bar when

[PATCH] run-tests: conditionalize HGCATAPULTSERVERPIPE for Windows

2018-08-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535600398 14400 # Wed Aug 29 23:39:58 2018 -0400 # Node ID cf1e74e80f0123f9a9fc4876035474d6dc525a3b # Parent 6827d3f47d4f1bab01a0cc92d7d9bfc52ee9f535 run-tests: conditionalize HGCATAPULTSERVERPIPE for Windows Many of the *.py tests were

[PATCH] run-tests: replace '/dev/null' with os.devnull for Windows

2018-08-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535600398 14400 # Wed Aug 29 23:39:58 2018 -0400 # Node ID af23d7eb2666528e52baaa0d3a2d6d4ae2061646 # Parent 6827d3f47d4f1bab01a0cc92d7d9bfc52ee9f535 run-tests: replace '/dev/null' with os.devnull for Windows Many of the *.py

Re: [PATCH] lfs: add a progress bar when searching for blobs to upload

2018-08-30 Thread Matt Harbison
On Thu, 30 Aug 2018 07:41:02 -0400, Yuya Nishihara wrote: On Wed, 29 Aug 2018 23:17:45 -0400, Matt Harbison wrote: On Fri, 24 Aug 2018 18:18:32 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1535147146 14400 > # Fri Aug 24 17:45:4

Re: [PATCH] lfs: add a progress bar when searching for blobs to upload

2018-08-30 Thread Matt Harbison
> On Aug 31, 2018, at 1:19 AM, Martin von Zweigbergk > wrote: > > > >> On Thu, Aug 30, 2018 at 10:14 PM Martin von Zweigbergk >> wrote: >> >> >>> On Wed, Aug 29, 2018 at 8:18 PM Matt Harbison wrote: >>> On Fri, 24 Aug 2018 18

Re: [PATCH] lfs: add a progress bar when searching for blobs to upload

2018-08-31 Thread Matt Harbison
On Fri, 31 Aug 2018 02:23:47 -0400, Martin von Zweigbergk wrote: On Thu, Aug 30, 2018 at 11:16 PM Martin von Zweigbergk < martinv...@google.com> wrote: On Thu, Aug 30, 2018 at 11:02 PM Matt Harbison wrote: On Aug 31, 2018, at 1:19 AM, Martin von Zweigbergk wrote: On Th

Re: Wire protocol futures

2018-08-31 Thread Matt Harbison
I don't know much about the wire protocol, so this is mostly for my understanding... On Fri, 31 Aug 2018 18:47:34 -0400, Gregory Szorc wrote: Another problem that seemingly becomes simpler is large file storage. I argue that largefiles and LFS today is effectively a hack to facilitate non

[PATCH 1 of 4] hg: ensure the progress bar is completed when copying the store

2018-08-31 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535214404 14400 # Sat Aug 25 12:26:44 2018 -0400 # Node ID bcd44b97559a0150b988f812ffc28be1f7f9d452 # Parent a7e22dd31f540916e79fbf23ff9f1c5baf380c53 hg: ensure the progress bar is completed when copying the store This is just a block

[PATCH 2 of 4] lfs: use a context manager to control the progress bar lifetime

2018-08-31 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535215318 14400 # Sat Aug 25 12:41:58 2018 -0400 # Node ID f01ec535806db02e65db9845d80914de7663a1bd # Parent bcd44b97559a0150b988f812ffc28be1f7f9d452 lfs: use a context manager to control the progress bar lifetime diff --git a/hgext/lfs

[PATCH 3 of 4] largefiles: use a context manager to control the progress bar lifetime

2018-08-31 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535216964 14400 # Sat Aug 25 13:09:24 2018 -0400 # Node ID 9a5c52a1933072c6d88ba33d64ccc14f24472115 # Parent f01ec535806db02e65db9845d80914de7663a1bd largefiles: use a context manager to control the progress bar lifetime diff --git a/hgext

[PATCH 4 of 4] tests: conditionalize narrow-widen error output for Windows

2018-08-31 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1535781715 14400 # Sat Sep 01 02:01:55 2018 -0400 # Node ID 4542da498ea27f2f9d75b84b3fbf3fd7727da601 # Parent 9a5c52a1933072c6d88ba33d64ccc14f24472115 tests: conditionalize narrow-widen error output for Windows diff --git a/tests/test-narrow

Re: [PATCH 3 of 4] largefiles: use a context manager to control the progress bar lifetime

2018-09-01 Thread Matt Harbison
On Sat, 01 Sep 2018 02:05:32 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1535216964 14400 # Sat Aug 25 13:09:24 2018 -0400 # Node ID 9a5c52a1933072c6d88ba33d64ccc14f24472115 # Parent f01ec535806db02e65db9845d80914de7663a1bd largefiles: use a context

Re: [PATCH] revlog: fix size of Python nodetree object

2018-09-04 Thread Matt Harbison
> On Sep 4, 2018, at 12:38 AM, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1536035361 -32400 > # Tue Sep 04 13:29:21 2018 +0900 > # Node ID b69fbdd77c405dc755a45ddf93c6388a4a1915ae > # Parent 1cbe19eb496d2dd8d4c8cae849a513348fefadf2 > revlog: fix size o

[PATCH 1 of 2] absorb: clarify the reason for not finding changesets to modify

2018-09-04 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536108502 14400 # Tue Sep 04 20:48:22 2018 -0400 # Node ID ae1442742d796285b85bf9e0e0159665414f0478 # Parent ab20ee07b82df985133f4e3fa3afa2ad48516340 absorb: clarify the reason for not finding changesets to modify I'm used to pushing t

[PATCH 2 of 2] help: correct a typo in tweakdefaults

2018-09-04 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536108881 14400 # Tue Sep 04 20:54:41 2018 -0400 # Node ID 197521083166579f6c80d7532ec6e919af2fe2cf # Parent ae1442742d796285b85bf9e0e0159665414f0478 help: correct a typo in tweakdefaults diff --git a/mercurial/help/config.txt b/mercurial

Re: [PATCH 3 of 4] largefiles: use a context manager to control the progress bar lifetime

2018-09-04 Thread Matt Harbison
On Tue, 04 Sep 2018 17:34:11 -0400, Martin von Zweigbergk wrote: On Sat, Sep 1, 2018 at 9:31 PM Matt Harbison wrote: On Sat, 01 Sep 2018 02:05:32 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1535216964 14400 > # Sat Aug 25 1

[PATCH] cbor: teach the encoder to handle python `long` type for Windows

2018-09-04 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536114578 14400 # Tue Sep 04 22:29:38 2018 -0400 # Node ID 5a44192e15a600f244ee7b77a77a2add7731b61c # Parent 197521083166579f6c80d7532ec6e919af2fe2cf cbor: teach the encoder to handle python `long` type for Windows The tests for 2**32 and

[PATCH V2] cbor: teach the encoder to handle python `long` type for Windows

2018-09-04 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536114578 14400 # Tue Sep 04 22:29:38 2018 -0400 # Node ID 2cce57226251044ce3406ad92e4edbf01efcde72 # Parent 197521083166579f6c80d7532ec6e919af2fe2cf cbor: teach the encoder to handle python `long` type for Windows The tests for 2**32 and

[PATCH V2] absorb: clarify the reason for not finding changesets to modify

2018-09-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536108502 14400 # Tue Sep 04 20:48:22 2018 -0400 # Node ID 53ed650843c5c1e1b7a829be525ca8087c68906f # Parent 481db51c83e9bb5642be1ea1e88771dae5590552 absorb: clarify the reason for not finding changesets to modify I'm used to pushing t

[PATCH] lfs: ensure the blob is linked to the remote store on skipped uploads

2018-09-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536209481 14400 # Thu Sep 06 00:51:21 2018 -0400 # Node ID f8b494a211f85738d924f2869102a89c29ecb309 # Parent 53ed650843c5c1e1b7a829be525ca8087c68906f lfs: ensure the blob is linked to the remote store on skipped uploads I noticed a "mi

[PATCH] tests: stabilize test-removeemptydirs.t on Windows

2018-09-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536291444 14400 # Thu Sep 06 23:37:24 2018 -0400 # Node ID e5449ff273d68abd3fd4e7b5766fb6d22edf30b7 # Parent 7df9ae38c75ca7fd4d0d20802fbc4ab489bb1f06 tests: stabilize test-removeemptydirs.t on Windows diff --git a/tests/test

[PATCH 1 of 2] tests: conditionalize an error message about unlinking a non empty directory

2018-09-07 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536377989 14400 # Fri Sep 07 23:39:49 2018 -0400 # Node ID cf6130dd324b0eed4c902b45df503be429fe413f # Parent a60dae060bc83e773bdbafb2432bc4cf387ebce2 tests: conditionalize an error message about unlinking a non empty directory The message

[PATCH 2 of 2] tests: disable test-nointerrupt on Windows

2018-09-07 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536378882 14400 # Fri Sep 07 23:54:42 2018 -0400 # Node ID 348ed11ba7406045a33d2e99834a341dfad6f57a # Parent cf6130dd324b0eed4c902b45df503be429fe413f tests: disable test-nointerrupt on Windows Per the followup discussion[1

[PATCH] tests: stabilize test-no-symlink

2018-09-10 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536628554 14400 # Mon Sep 10 21:15:54 2018 -0400 # Node ID 9f87aa9f809f353d699a2de0d8440386cd007303 # Parent 98995b689e03fd3d39ace0799d7357d4edba9ef5 tests: stabilize test-no-symlink This goes with 89630d0b3e23. diff --git a/tests/test-no

[PATCH STABLE] subrepo: mask out passwords embedded in the messages displaying a URL

2018-09-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536688337 14400 # Tue Sep 11 13:52:17 2018 -0400 # Branch stable # Node ID 41ac8ea1bdd751303e49d5a98def025f78dbbf0c # Parent 6af7765bdb7c88da8393cdddbe836989852b5a5f subrepo: mask out passwords embedded in the messages displaying a URL I

[PATCH] py3: add b'' to some run-tests.py strings for Windows

2018-09-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536802328 14400 # Wed Sep 12 21:32:08 2018 -0400 # Node ID dfb052baace5510876f56e67f49b082273ebb858 # Parent 2105ed5ef206052a5ff093fba8cbd44bef470f20 py3: add b'' to some run-tests.py strings for Windows Things go seriously off

[PATCH] tests: stabilize change for handling not quoting non-empty-directory

2018-09-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536808259 14400 # Wed Sep 12 23:10:59 2018 -0400 # Node ID c8514f858788ffebee5f5e01a24d20e00e9d68a8 # Parent 5e78c100a21586dfdc622a86537c0a0231652e1d tests: stabilize change for handling not quoting non-empty-directory The change originated

[PATCH 1 of 4] py3: add b'' to some setup.py strings for Windows

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536856652 14400 # Thu Sep 13 12:37:32 2018 -0400 # Node ID ecbaa8d6b0c2d20b99e80e1552f81520edac09bc # Parent c5e6c1ba1c79ff771bacafa02706ff062258c330 py3: add b'' to some setup.py strings for Windows These were things found tr

[PATCH 2 of 4] cext: stop preprocessing a partial function call

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536857030 14400 # Thu Sep 13 12:43:50 2018 -0400 # Node ID 058593637119420b3658ca40088de036450bd8aa # Parent ecbaa8d6b0c2d20b99e80e1552f81520edac09bc cext: stop preprocessing a partial function call MSVC++ 14 yelled: mercurial/cext

[PATCH 4 of 4] py3: fix a syntax error in concurrent.futures._base

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536874569 14400 # Thu Sep 13 17:36:09 2018 -0400 # Node ID 21b7873d62322737c5850d07162fe8fdaf98fbf5 # Parent 9fa7b40298e9759ae76b9272a26dda00aa3b9a6e py3: fix a syntax error in concurrent.futures._base 3.7.0 on Windows complained about this

[PATCH 3 of 4] cext: fix warnings when building for py3 on Windows

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536874340 14400 # Thu Sep 13 17:32:20 2018 -0400 # Node ID 9fa7b40298e9759ae76b9272a26dda00aa3b9a6e # Parent 058593637119420b3658ca40088de036450bd8aa cext: fix warnings when building for py3 on Windows MSVC++ 14 now has standard int types

[PATCH 1 of 2] py3: add b'' to a few strings in pycompat

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536813542 14400 # Thu Sep 13 00:39:02 2018 -0400 # Node ID d87ed52203984e979551f7dfd29f906854b5c3c0 # Parent 93acc58fb2c12c9538cb973cec1b61a308bd84dd py3: add b'' to a few strings in pycompat These surfaced when disabling

[PATCH 2 of 2] py3: prevent the win32 ctype _fields_ from being transformed to bytes

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536813745 14400 # Thu Sep 13 00:42:25 2018 -0400 # Node ID 98e5168116983dfcac1a3b99169b9c0504778ac4 # Parent d87ed52203984e979551f7dfd29f906854b5c3c0 py3: prevent the win32 ctype _fields_ from being transformed to bytes Otherwise, any hg

Re: [PATCH 4 of 4] py3: fix a syntax error in concurrent.futures._base

2018-09-13 Thread Matt Harbison
> On Sep 13, 2018, at 7:11 PM, Gregory Szorc wrote: > >> On Thu, Sep 13, 2018 at 3:52 PM Yuya Nishihara wrote: >> On Thu, 13 Sep 2018 17:44:16 -0400, Matt Harbison wrote: >> > # HG changeset patch >> > # User Matt Harbison >> > # Date 15368745

[PATCH 1 of 2] windows: open registry keys using unicode names

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536886493 14400 # Thu Sep 13 20:54:53 2018 -0400 # Node ID 82be987da1489e3ff7411540b473690e6039fd67 # Parent 98e5168116983dfcac1a3b99169b9c0504778ac4 windows: open registry keys using unicode names Python3 complained it must be str. While

[PATCH 2 of 2] py3: fix str vs bytes in enough places to run `hg version` on Windows

2018-09-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536890820 14400 # Thu Sep 13 22:07:00 2018 -0400 # Node ID a1c3c33e911a449c1e67d6c70a1320f34233f253 # Parent 82be987da1489e3ff7411540b473690e6039fd67 py3: fix str vs bytes in enough places to run `hg version` on Windows I don't have V

Re: [PATCH 2 of 2] py3: fix str vs bytes in enough places to run `hg version` on Windows

2018-09-14 Thread Matt Harbison
On Fri, 14 Sep 2018 08:09:14 -0400, Yuya Nishihara wrote: On Fri, 14 Sep 2018 00:52:34 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1536890820 14400 # Thu Sep 13 22:07:00 2018 -0400 # Node ID a1c3c33e911a449c1e67d6c70a1320f34233f253 # Parent

[PATCH 1 of 3 V2] py3: byteify strings in pycompat

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536813542 14400 # Thu Sep 13 00:39:02 2018 -0400 # Node ID 26795e6d586896a0449ea8e7e78fc6ba33a04d68 # Parent 6ecfd12f09cd4fe185ebbc98d254534ebd995b68 py3: byteify strings in pycompat These surfaced when disabling the source transformer to

[PATCH 2 of 3 V2] windows: open registry keys using unicode names

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536886493 14400 # Thu Sep 13 20:54:53 2018 -0400 # Node ID 8490cde7d20031c0c6295f5df531db02bca1a6a9 # Parent 26795e6d586896a0449ea8e7e78fc6ba33a04d68 windows: open registry keys using unicode names Python3 complained it must be str. While

[PATCH 3 of 3 V2] py3: fix str vs bytes in enough places to run `hg version` on Windows

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536890820 14400 # Thu Sep 13 22:07:00 2018 -0400 # Node ID bafe274973423eaa7a49f2f2003366fddbdaca61 # Parent 8490cde7d20031c0c6295f5df531db02bca1a6a9 py3: fix str vs bytes in enough places to run `hg version` on Windows I don't have V

Re: [PATCH 1 of 3 V2] py3: byteify strings in pycompat

2018-09-14 Thread Matt Harbison
On Fri, 14 Sep 2018 22:39:25 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1536813542 14400 # Thu Sep 13 00:39:02 2018 -0400 # Node ID 26795e6d586896a0449ea8e7e78fc6ba33a04d68 # Parent 6ecfd12f09cd4fe185ebbc98d254534ebd995b68 py3: byteify strings in

[PATCH 2 of 3] py3: ensure run-tests environment is uniformly str

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536980658 14400 # Fri Sep 14 23:04:18 2018 -0400 # Node ID 289c7157ec4510c619e9e7fdd9ac4995e13ce73e # Parent bae09abf6ea2f721c78f11a21dd8db9cc8198378 py3: ensure run-tests environment is uniformly str subprocess.popen() was crashing, and

[PATCH 1 of 3] py3: ensure run-tests.osenvironb is actually bytes

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536980255 14400 # Fri Sep 14 22:57:35 2018 -0400 # Node ID bae09abf6ea2f721c78f11a21dd8db9cc8198378 # Parent bafe274973423eaa7a49f2f2003366fddbdaca61 py3: ensure run-tests.osenvironb is actually bytes Windows doesn't have os.environb,

[PATCH 3 of 3] py3: allow run-tests.py to run on Windows

2018-09-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1536984246 14400 # Sat Sep 15 00:04:06 2018 -0400 # Node ID 757f2fe237ea1f72d75ff29bd1bb428db38813be # Parent 289c7157ec4510c619e9e7fdd9ac4995e13ce73e py3: allow run-tests.py to run on Windows This is now functional: HGMODULEPOLICY=py

[PATCH] py3: partially fix pager spawning on Windows

2018-09-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537032701 14400 # Sat Sep 15 13:31:41 2018 -0400 # Node ID efffacd34255117920417dfb2d71627929499500 # Parent 87539f615b878fe39973fb059b0531fa4fd7e6ff py3: partially fix pager spawning on Windows Previously, spinning up the pager crashed

Re: [PATCH] py3: partially fix pager spawning on Windows

2018-09-16 Thread Matt Harbison
> On Sep 16, 2018, at 2:41 AM, Yuya Nishihara wrote: > >> On Sun, 16 Sep 2018 00:40:37 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1537032701 14400 >> # Sat Sep 15 13:31:41 2018 -0400 >> # Node I

Re: [PATCH] py3: partially fix pager spawning on Windows

2018-09-16 Thread Matt Harbison
On Sun, 16 Sep 2018 11:26:35 -0400, Yuya Nishihara wrote: On Sun, 16 Sep 2018 09:21:46 -0400, Matt Harbison wrote: > On Sep 16, 2018, at 2:41 AM, Yuya Nishihara wrote: > >> On Sun, 16 Sep 2018 00:40:37 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User

[PATCH 2 of 2 V2] run-tests: convert the remaining os.system() call to Unicode

2018-09-16 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537153985 14400 # Sun Sep 16 23:13:05 2018 -0400 # Node ID b2b5116fbe990c793e765879c3f7fb9575394ec8 # Parent 91531f9754a5f032fa635dc506091f23519bfdc3 run-tests: convert the remaining os.system() call to Unicode I wasn't able to hit

[PATCH 1 of 2 V2] py3: partially fix pager spawning on Windows

2018-09-16 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537032701 14400 # Sat Sep 15 13:31:41 2018 -0400 # Node ID 91531f9754a5f032fa635dc506091f23519bfdc3 # Parent 8bfbb25859f1455e908b8cff52d7ef30339a3db8 py3: partially fix pager spawning on Windows Previously, spinning up the pager crashed

Re: [PATCH 3 of 3] py3: allow run-tests.py to run on Windows

2018-09-17 Thread Matt Harbison
On Sat, 15 Sep 2018 00:31:37 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1536984246 14400 # Sat Sep 15 00:04:06 2018 -0400 # Node ID 757f2fe237ea1f72d75ff29bd1bb428db38813be # Parent 289c7157ec4510c619e9e7fdd9ac4995e13ce73e py3: allow run-tests.py to

Re: [PATCH 3 of 3] py3: allow run-tests.py to run on Windows

2018-09-18 Thread Matt Harbison
On Tue, 18 Sep 2018 09:40:58 -0400, Yuya Nishihara wrote: It looks like part of the problem with not finding these files is TESTDIR is not defined when running the *.t file. Inside Test.runTest(), 'TESTDIR' is not in env, osenvironb, or os.environ on py3 (but it is on py2). I'm assuming thi

[PATCH 1 of 5] py3: make osenvironb a proxy for, instead of a copy of os.environ where needed

2018-09-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537323243 14400 # Tue Sep 18 22:14:03 2018 -0400 # Node ID 6cf61fcd3fad06f14668a4cc56cc7c5351561219 # Parent fa681452b249f5d59dd77c925ce15b027758e8fe py3: make osenvironb a proxy for, instead of a copy of os.environ where needed Without

[PATCH 2 of 5] py3: add a missing b'' for Windows

2018-09-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537324803 14400 # Tue Sep 18 22:40:03 2018 -0400 # Node ID b99b91e41ae278b503c91895068cd10e0d0a429a # Parent 6cf61fcd3fad06f14668a4cc56cc7c5351561219 py3: add a missing b'' for Windows I tried ./contrib/byteify-strings.py, but

[PATCH 4 of 5] py3: byteify contrib/check-config.py

2018-09-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537329398 14400 # Tue Sep 18 23:56:38 2018 -0400 # Node ID 23d4f40c37602052e17661d58f2bbe3fb26c66ce # Parent 121c7ecc6a829a49bb6602cf5049dd802af69626 py3: byteify contrib/check-config.py The corresponding *.t still fails because of bytes

[PATCH 5 of 5] tests: glob over some quoting differences in test-narrow-widen-no-ellipsis.t

2018-09-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537330982 14400 # Wed Sep 19 00:23:02 2018 -0400 # Node ID a3e723f141b20ade057189d718e05bbf364090b9 # Parent 23d4f40c37602052e17661d58f2bbe3fb26c66ce tests: glob over some quoting differences in test-narrow-widen-no-ellipsis.t diff --git a

[PATCH V2] py3: make osenvironb a proxy for, instead of a copy of os.environ where needed

2018-09-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537323243 14400 # Tue Sep 18 22:14:03 2018 -0400 # Node ID 6a29fe518906d0f21b7bdd76323d2f71e7667241 # Parent a5dafefc4a53294aa0bd88a27cc29baf2a1ea62c py3: make osenvironb a proxy for, instead of a copy of os.environ where needed Without

Re: Potential BC break on largefiles/lfs

2018-09-19 Thread Matt Harbison
On Wed, 19 Sep 2018 21:41:20 -0400, Gregory Szorc wrote: Currently, the largefiles and lfs extensions monkeypatch various functions so that when they encounter repository data indicative of largefiles or lfs, they automagically add a repository requirement for largefiles/lfs. This behavior

Re: Potential BC break on largefiles/lfs

2018-09-19 Thread Matt Harbison
On Wed, 19 Sep 2018 22:48:29 -0400, Martin von Zweigbergk wrote: On Wed, Sep 19, 2018, 18:43 Gregory Szorc wrote: Currently, the largefiles and lfs extensions monkeypatch various functions so that when they encounter repository data indicative of largefiles or lfs, they automagically a

[PATCH 2 of 3] run-tests: avoid os.getcwdb() on Windows

2018-09-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537407718 14400 # Wed Sep 19 21:41:58 2018 -0400 # Node ID de033c83ce6ef41b81cef5c27d33b4d518005085 # Parent 4d2a7291137d1fc1ac8ac32862a1d3593f3eb10e run-tests: avoid os.getcwdb() on Windows Any call to this issues a DeprecationWarning

[PATCH 1 of 3] run-tests: quote PYTHON when spawning a subprocess

2018-09-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537404357 14400 # Wed Sep 19 20:45:57 2018 -0400 # Node ID 4d2a7291137d1fc1ac8ac32862a1d3593f3eb10e # Parent 6a29fe518906d0f21b7bdd76323d2f71e7667241 run-tests: quote PYTHON when spawning a subprocess Same reason as 5abc47d4ca6b. This

[PATCH 3 of 3] py3: resolve Unicode issues around `hg serve` on Windows

2018-09-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537415656 14400 # Wed Sep 19 23:54:16 2018 -0400 # Node ID b5969b11d817a810d608d944e00e6afe64286c73 # Parent de033c83ce6ef41b81cef5c27d33b4d518005085 py3: resolve Unicode issues around `hg serve` on Windows Presumably we're going to wa

Re: Potential BC break on largefiles/lfs

2018-09-20 Thread Matt Harbison
> On Sep 20, 2018, at 11:53 AM, Gregory Szorc wrote: > >> On Wed, Sep 19, 2018 at 8:28 PM Matt Harbison wrote: >> On Wed, 19 Sep 2018 21:41:20 -0400, Gregory Szorc >> wrote: >> >> > Currently, the largefiles and lfs extensions monkeypatch various

[PATCH 1 of 2] run-tests: partially backout PYTHON quoting

2018-09-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537501530 14400 # Thu Sep 20 23:45:30 2018 -0400 # Node ID 1b0ca924a1c3de80bf3b2b3efcf0f82b2815b4d7 # Parent 7303ab86431a09f85f19606f932a645f6999ec24 run-tests: partially backout PYTHON quoting In 7f8b7a060584, I quoted this to support

[PATCH 2 of 2] py3: fix a type error in hghave.has_hardlink

2018-09-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537504623 14400 # Fri Sep 21 00:37:03 2018 -0400 # Node ID 0be4328bfbaf10cbd9f8aa6e96222107426567a5 # Parent 1b0ca924a1c3de80bf3b2b3efcf0f82b2815b4d7 py3: fix a type error in hghave.has_hardlink test-hghave.t was failing with

[PATCH V2] py3: fix a type error in hghave.has_hardlink

2018-09-21 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537504623 14400 # Fri Sep 21 00:37:03 2018 -0400 # Node ID 47b396135bb2ee0d5c5b9ed91cd7a87920b344b5 # Parent 543f26ece6cf09d9ab36ff601ec53422f6b54b91 py3: fix a type error in hghave.has_hardlink test-hghave.t was failing with: feature

[PATCH 1 of 8] py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537573703 14400 # Fri Sep 21 19:48:23 2018 -0400 # Node ID 758cf8cdf994942174238c28c8f06ece63dae2b5 # Parent 7e99b02768ef396b5c4b7a9126c329f49af3e2bf py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings See also ac32685

[PATCH 2 of 8] py3: proxy posixfile objects to re-add a useful 'name' attribute on Windows

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537574587 14400 # Fri Sep 21 20:03:07 2018 -0400 # Node ID 0d1b3d5a92e159506c823be481cf9f57e45ec03d # Parent 758cf8cdf994942174238c28c8f06ece63dae2b5 py3: proxy posixfile objects to re-add a useful 'name' attribute on Windows

[PATCH 4 of 8] py3: switch contrib/perf from xrange to pycompat.xrange

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537575194 14400 # Fri Sep 21 20:13:14 2018 -0400 # Node ID 04f33f6d0d4ab3006dd83b26c70a61ceee66a720 # Parent c0c842de276702455060c3d5fd3a6aa80185cdc6 py3: switch contrib/perf from xrange to pycompat.xrange diff --git a/contrib/perf.py b

[PATCH 3 of 8] py3: handle sysstr conversion around get/set attr in contrib/perf

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537575036 14400 # Fri Sep 21 20:10:36 2018 -0400 # Node ID c0c842de276702455060c3d5fd3a6aa80185cdc6 # Parent 0d1b3d5a92e159506c823be481cf9f57e45ec03d py3: handle sysstr conversion around get/set attr in contrib/perf diff --git a/contrib

[PATCH 5 of 8] py3: work around the lack of sys.maxint in contrib/perf

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537575373 14400 # Fri Sep 21 20:16:13 2018 -0400 # Node ID eee31df781ee594ac9fa82e34014790792c927c1 # Parent 04f33f6d0d4ab3006dd83b26c70a61ceee66a720 py3: work around the lack of sys.maxint in contrib/perf diff --git a/contrib/perf.py b

[PATCH 6 of 8] py3: un-byteify strings around os.system() and os.devnull in contrib/perf

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537576080 14400 # Fri Sep 21 20:28:00 2018 -0400 # Node ID 716b949d413e7f714f9f5f3595ee462f0a3bb928 # Parent eee31df781ee594ac9fa82e34014790792c927c1 py3: un-byteify strings around os.system() and os.devnull in contrib/perf diff --git a

[PATCH 7 of 8] py3: apply byteskwargs to contrib/perf

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537578867 14400 # Fri Sep 21 21:14:27 2018 -0400 # Node ID f6dbc0131f506de7f3484946b2e1d90c2a087d74 # Parent 716b949d413e7f714f9f5f3595ee462f0a3bb928 py3: apply byteskwargs to contrib/perf diff --git a/contrib/perf.py b/contrib/perf.py

[PATCH 8 of 8] py3: create built in exceptions with str type messages in win32.py

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537580667 14400 # Fri Sep 21 21:44:27 2018 -0400 # Node ID ca417c9464d378661e9e962be1447647006297f3 # Parent f6dbc0131f506de7f3484946b2e1d90c2a087d74 py3: create built in exceptions with str type messages in win32.py I hit an IOError in

[PATCH] tests: stabilize test-shelve.t#phasebased for #no-symlink and #no-execbit

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537632708 14400 # Sat Sep 22 12:11:48 2018 -0400 # Node ID 16e1621343329748b3d71735498f75e5f1378eb3 # Parent 64d2e28870a8ec3bc5e24c181964b4d2cd188dc7 tests: stabilize test-shelve.t#phasebased for #no-symlink and #no-execbit The rev number

[PATCH 1 of 2] encoding: teach unitolocal() and unifromlocal() to handle None

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537667864 14400 # Sat Sep 22 21:57:44 2018 -0400 # Node ID 10b1e61357ac546e70e590cc79889c0889e7bc22 # Parent ca417c9464d378661e9e962be1447647006297f3 encoding: teach unitolocal() and unifromlocal() to handle None These are aliased to str{to

[PATCH 2 of 2] py3: convert arguments, cwd and env to native strings when spawning subprocess

2018-09-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537678024 14400 # Sun Sep 23 00:47:04 2018 -0400 # Node ID 422a159f22ec9dda95181c0933a2848ab8a64ba6 # Parent 10b1e61357ac546e70e590cc79889c0889e7bc22 py3: convert arguments, cwd and env to native strings when spawning subprocess This keeps

Re: [PATCH 1 of 2] encoding: teach unitolocal() and unifromlocal() to handle None

2018-09-23 Thread Matt Harbison
> On Sep 23, 2018, at 2:49 AM, Yuya Nishihara wrote: > >> On Sun, 23 Sep 2018 01:18:52 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1537667864 14400 >> # Sat Sep 22 21:57:44 2018 -0400 >> # Node I

Re: [PATCH 3 of 8] py3: handle sysstr conversion around get/set attr in contrib/perf

2018-09-23 Thread Matt Harbison
> On Sep 23, 2018, at 2:42 AM, Yuya Nishihara wrote: > >> On Sat, 22 Sep 2018 11:28:39 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1537575036 14400 >> # Fri Sep 21 20:10:36 2018 -0400 >> # Node I

Re: [PATCH 1 of 8] py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings

2018-09-23 Thread Matt Harbison
On Sun, 23 Sep 2018 02:37:37 -0400, Yuya Nishihara wrote: On Sat, 22 Sep 2018 11:28:37 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1537573703 14400 # Fri Sep 21 19:48:23 2018 -0400 # Node ID 758cf8cdf994942174238c28c8f06ece63dae2b5 # Parent

[PATCH 2 of 9 V2] py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings

2018-09-24 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537756604 14400 # Sun Sep 23 22:36:44 2018 -0400 # Node ID bf1934083fa5c3a97492ea112ddb23e8ccf78294 # Parent 1fcff747a558e32f9cb9d8411c256532455c10f8 py3: don't use os.getcwdb() on Windows to avoid DeprecationWarnings See also ac32685

<    1   2   3   4   5   6   7   8   9   10   >