[PATCH 1 of 9 V2] py3: rename pycompat.getcwd() to encoding.getcwd() (API)

2018-09-24 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537573703 14400 # Fri Sep 21 19:48:23 2018 -0400 # Node ID 1fcff747a558e32f9cb9d8411c256532455c10f8 # Parent d3d333ab167a5f0c23bd42a822732683d9afa221 py3: rename pycompat.getcwd() to encoding.getcwd() (API) We need to avoid os.getcwdb() on

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

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

[PATCH 4 of 9 V2] py3: handle sysstr conversion around get/set attr in contrib/perf

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

[PATCH 5 of 9 V2] py3: switch contrib/perf from xrange to pycompat.xrange

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

[PATCH 6 of 9 V2] py3: work around the lack of sys.maxint in contrib/perf

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

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

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

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

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

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

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

[PATCH] py3: update missing module list in test-check-py3-compat.t for Windows

2018-09-24 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537842750 14400 # Mon Sep 24 22:32:30 2018 -0400 # Node ID 48a1c0848e6abfaf707243567097710b262dbd09 # Parent 4527f507eb09ea26c9a419886c9e680ce1040642 py3: update missing module list in test-check-py3-compat.t for Windows diff --git a/tests

[PATCH 1 of 4] convert: fix a file descriptor leak

2018-09-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537929978 14400 # Tue Sep 25 22:46:18 2018 -0400 # Node ID 9403d51284f4cab9b143612157c747fe13382c5b # Parent 7a9e2d85f475b1675da537ece26419887f9d8b4e convert: fix a file descriptor leak test-check-code flagged this after I changed this line

[PATCH 3 of 4] py3: byteify an inline python test extension

2018-09-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537927877 14400 # Tue Sep 25 22:11:17 2018 -0400 # Node ID 50c1d7b011486167aa39dec26aa6642938010ef2 # Parent b5d88137328115c98cdec6ae3902b6128823368d py3: byteify an inline python test extension # skip-blame for b'' prefixing di

[PATCH 2 of 4] py3: conditionalize access to socketserver.ForkingMixIn

2018-09-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537925982 14400 # Tue Sep 25 21:39:42 2018 -0400 # Node ID b5d88137328115c98cdec6ae3902b6128823368d # Parent 9403d51284f4cab9b143612157c747fe13382c5b py3: conditionalize access to socketserver.ForkingMixIn This is no longer exported on

[PATCH 4 of 4] py3: remove a couple of superfluous calls to pycompat.rapply()

2018-09-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537932336 14400 # Tue Sep 25 23:25:36 2018 -0400 # Node ID d43b27e125e4554a0c741805bd4a96c23341dc8e # Parent 50c1d7b011486167aa39dec26aa6642938010ef2 py3: remove a couple of superfluous calls to pycompat.rapply() These places can only be

[PATCH 1 of 4] py3: replace a StandardError reference

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538009368 14400 # Wed Sep 26 20:49:28 2018 -0400 # Node ID 88db05d80c8b8380861864e922ebea7567f372c2 # Parent 6037974f8abac9b5299eb6d18760c39b191d6ad5 py3: replace a StandardError reference This doesn't exist on py3, and the standard w

[PATCH 2 of 4] py3: ensure standard exceptions use `str` type strings in windows.py

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538011518 14400 # Wed Sep 26 21:25:18 2018 -0400 # Node ID e37a4df2bf1523b9f03ddbfe5db0209058e6c8f0 # Parent 88db05d80c8b8380861864e922ebea7567f372c2 py3: ensure standard exceptions use `str` type strings in windows.py See also edaa40dc5fe5

[PATCH 3 of 4] py3: mask out None type when printing in `debuglocks`

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538014885 14400 # Wed Sep 26 22:21:25 2018 -0400 # Node ID 549bc25529a2d8d1c67736110c90491cc1eafc76 # Parent e37a4df2bf1523b9f03ddbfe5db0209058e6c8f0 py3: mask out None type when printing in `debuglocks` Apparently, %b doesn't allow

[PATCH 4 of 4] py3: convert os.readlink() path to native strings

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537924572 14400 # Tue Sep 25 21:16:12 2018 -0400 # Node ID d7aa84fbb3da463c68190aa746cbc6af40c6b8bc # Parent 549bc25529a2d8d1c67736110c90491cc1eafc76 py3: convert os.readlink() path to native strings Windows insisted that it needs to be str

[PATCH V2] py3: convert os.readlink() path to native strings

2018-09-27 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537924572 14400 # Tue Sep 25 21:16:12 2018 -0400 # Node ID 216114ff8d2bc57d9aa8913cf75f14267a8332f6 # Parent df02cb5b9b3496aa95cbe754a92d714f4c68262b py3: convert os.readlink() path to native strings Windows insisted that it needs to be str

[PATCH] py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t

2018-09-27 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538100432 14400 # Thu Sep 27 22:07:12 2018 -0400 # Node ID 777d233b5174c0ca9789080b52225247eb36bdec # Parent 591764c38fedebc1bd32d5454603888ca57c1656 py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t diff --git a/tests

Re: [PATCH V2] py3: convert os.readlink() path to native strings

2018-09-28 Thread Matt Harbison
> On Sep 28, 2018, at 7:32 AM, Yuya Nishihara wrote: > >> On Thu, 27 Sep 2018 22:51:27 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1537924572 14400 >> # Tue Sep 25 21:16:12 2018 -0400 >> # Node I

[PATCH 1 of 2 V3] py3: convert os.readlink() path to native strings on Windows

2018-09-28 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537924572 14400 # Tue Sep 25 21:16:12 2018 -0400 # Node ID 1b472f36e081a9a98e45f84a0cf34f5b6008dd47 # Parent 1834dabb38e08a082cde354e0f0e66310bc98cb3 py3: convert os.readlink() path to native strings on Windows Windows insisted that it

[PATCH 2 of 2 V3] util: use a context manager in readlock()

2018-09-28 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538187525 14400 # Fri Sep 28 22:18:45 2018 -0400 # Node ID cddac40b1a06c37cede9757914d930de92250612 # Parent 1b472f36e081a9a98e45f84a0cf34f5b6008dd47 util: use a context manager in readlock() diff --git a/mercurial/util.py b/mercurial

[PATCH 1 of 3] py3: byteify extension in test-debugcommands.t

2018-09-28 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538188758 14400 # Fri Sep 28 22:39:18 2018 -0400 # Node ID bf0bf1635b94a23f129abc44eacbde830e541544 # Parent cddac40b1a06c37cede9757914d930de92250612 py3: byteify extension in test-debugcommands.t diff --git a/tests/test-debugcommands.t b

[PATCH 2 of 3] py3: conditionalize json float precision difference in test-debugcommands.t

2018-09-28 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538191026 14400 # Fri Sep 28 23:17:06 2018 -0400 # Node ID e3fa739c298dc8f34d10b882e324380c5d0638fa # Parent bf0bf1635b94a23f129abc44eacbde830e541544 py3: conditionalize json float precision difference in test-debugcommands.t diff --git a

[PATCH 3 of 3] py3: suppress the output from .write() calls in the remaining tests

2018-09-28 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538200955 14400 # Sat Sep 29 02:02:35 2018 -0400 # Node ID 5d581713ab9594105a1a8ad989277b85e4230b2f # Parent e3fa739c298dc8f34d10b882e324380c5d0638fa py3: suppress the output from .write() calls in the remaining tests diff --git a/tests

[PATCH 1 of 6] run-tests: flush output stream before prompting to accept changes

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538267632 14400 # Sat Sep 29 20:33:52 2018 -0400 # Node ID 32349019b1ed3beae780cfe4c628d71714c6f675 # Parent 7eb937f598d1c7b79502a62e674bd667d398e2ef run-tests: flush output stream before prompting to accept changes With py3 on Windows, the

[PATCH 3 of 6] py3: implement __lt__() to make gitlfspointer sortable

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538278134 14400 # Sat Sep 29 23:28:54 2018 -0400 # Node ID 96752a0137b4b08677f3205362ece3c2e7fde057 # Parent 1dd7c3dcfb46a39bc61419415c0818e0ed1bbd1c py3: implement __lt__() to make gitlfspointer sortable diff --git a/hgext/lfs/pointer.py b

[PATCH 2 of 6] py3: byteify windows.shelltocmdexe()

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538269069 14400 # Sat Sep 29 20:57:49 2018 -0400 # Node ID 1dd7c3dcfb46a39bc61419415c0818e0ed1bbd1c # Parent 32349019b1ed3beae780cfe4c628d71714c6f675 py3: byteify windows.shelltocmdexe() This makes test-doctest.py happy on Windows. diff

[PATCH 4 of 6] py3: use util.forcebytestr() to convert push lock error to bytes

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538279520 14400 # Sat Sep 29 23:52:00 2018 -0400 # Node ID e2b23a432bcf799a5126a558d6b10a4c96929a2a # Parent 96752a0137b4b08677f3205362ece3c2e7fde057 py3: use util.forcebytestr() to convert push lock error to bytes diff --git a/mercurial

[PATCH 6 of 6] py3: avoid b'' output in test-hgweb-non-interactive.t

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538284546 14400 # Sun Sep 30 01:15:46 2018 -0400 # Node ID ff3aa78f7d11f0652a949a8b4064fc70481bcf5b # Parent a690c4f6b7a38a09346dcf51691fd2ccddefaa12 py3: avoid b'' output in test-hgweb-non-interactive.t I couldn't figure out

[PATCH 5 of 6] py3: convert print to a function call in a few tests

2018-09-29 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538284241 14400 # Sun Sep 30 01:10:41 2018 -0400 # Node ID a690c4f6b7a38a09346dcf51691fd2ccddefaa12 # Parent e2b23a432bcf799a5126a558d6b10a4c96929a2a py3: convert print to a function call in a few tests I *think* this is the last of them

Re: [PATCH 3 of 6] py3: implement __lt__() to make gitlfspointer sortable

2018-09-30 Thread Matt Harbison
> On Sep 30, 2018, at 8:08 AM, Yuya Nishihara wrote: > >> On Sun, 30 Sep 2018 01:46:22 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1538278134 14400 >> # Sat Sep 29 23:28:54 2018 -0400 >> # Node I

Re: [PATCH 5 of 6] py3: convert print to a function call in a few tests

2018-09-30 Thread Matt Harbison
> On Sep 30, 2018, at 8:08 AM, Yuya Nishihara wrote: > >> On Sun, 30 Sep 2018 01:46:24 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1538284241 14400 >> # Sun Sep 30 01:10:41 2018 -0400 >> # Node I

[PATCH 1 of 6] py3: quote $PYTHON in test-merge-symlinks.t

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538437145 14400 # Mon Oct 01 19:39:05 2018 -0400 # Node ID f03d553395ca841edc5bd3bc5953758c2ed8e16a # Parent a6f8ab537908b0b4d8abd0c5c9c971964dec7128 py3: quote $PYTHON in test-merge-symlinks.t diff --git a/tests/test-merge-symlinks.t b

[PATCH 2 of 6] py3: byteify contrib/dumprevlog

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538444925 14400 # Mon Oct 01 21:48:45 2018 -0400 # Node ID b5b1d9a89ccecb117232f4175ad80dfe1b66101a # Parent f03d553395ca841edc5bd3bc5953758c2ed8e16a py3: byteify contrib/dumprevlog diff --git a/contrib/dumprevlog b/contrib/dumprevlog --- a

[PATCH 3 of 6] py: byteify test-lock.py

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538445240 14400 # Mon Oct 01 21:54:00 2018 -0400 # Node ID 500ed9b2b53e0b0d0fa47e4cbde5f3d5667b4d6d # Parent b5b1d9a89ccecb117232f4175ad80dfe1b66101a py: byteify test-lock.py There's still a stacktrace about not being able to seri

[PATCH 4 of 6] lfs: explicitly name a key when sorting blob pointers

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538449498 14400 # Mon Oct 01 23:04:58 2018 -0400 # Node ID 7170a4598d811a1cb7bc8137f48e47140dd857f5 # Parent 500ed9b2b53e0b0d0fa47e4cbde5f3d5667b4d6d lfs: explicitly name a key when sorting blob pointers This is needed to keep py3 happy

[PATCH 5 of 6] py3: byteify test-lfs.t

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538449639 14400 # Mon Oct 01 23:07:19 2018 -0400 # Node ID 07b0068e8153e7411553121f74eff157ee63e833 # Parent 7170a4598d811a1cb7bc8137f48e47140dd857f5 py3: byteify test-lfs.t diff --git a/tests/test-lfs.t b/tests/test-lfs.t --- a/tests/test

[PATCH 6 of 6] py3: suppress the output from .write() calls in more tests

2018-10-01 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538450784 14400 # Mon Oct 01 23:26:24 2018 -0400 # Node ID 2ffe81c1750140372380c3477570c1a6b3d6dd4d # Parent 07b0068e8153e7411553121f74eff157ee63e833 py3: suppress the output from .write() calls in more tests I missed these in 803b7569c9ea

[PATCH] setup: ignore message about disabling 3rd party extensions because of version

2018-10-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538534401 14400 # Tue Oct 02 22:40:01 2018 -0400 # Node ID 37e915597429089cdb9c0a2e609d10ba55278b4f # Parent 731961d972ba9ff5e3d473846e711b609121b496 setup: ignore message about disabling 3rd party extensions because of version I started

[PATCH 2 of 8] context: drop deprecated methods (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517632050 18000 # Fri Feb 02 23:27:30 2018 -0500 # Node ID 76b26c09b25612513ae567b62473c634ce8c27cb # Parent d293af8e5a4a48a38ff9103e129c1af5719081c1 context: drop deprecated methods (API) .. api:: The following deprecated methods have

[PATCH 1 of 8] bookmarks: drop deprecated methods (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517631655 18000 # Fri Feb 02 23:20:55 2018 -0500 # Node ID d293af8e5a4a48a38ff9103e129c1af5719081c1 # Parent c8e2d6ed1f9ea4eee7b28250b5aff22433d538b6 bookmarks: drop deprecated methods (API) .. api:: The following deprecated methods

[PATCH 3 of 8] obsolete: drop deprecated methods (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517633131 18000 # Fri Feb 02 23:45:31 2018 -0500 # Node ID 14e7553aa4b1e94e3ff6ac06bb26e7950daf0009 # Parent 76b26c09b25612513ae567b62473c634ce8c27cb obsolete: drop deprecated methods (API) .. api:: The following deprecated methods have

[PATCH 8 of 8] localrepo: drop the deprecated walk() method (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517634117 18000 # Sat Feb 03 00:01:57 2018 -0500 # Node ID b616b6a43ffd812a80348162ca499060278baf5e # Parent 7f21211d4bf3e9cd7a21b2c2bd1fabb69b9b7e94 localrepo: drop the deprecated walk() method (API) .. api:: The deprecated

[PATCH 5 of 8] obsutil: drop deprecated methods (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517633539 18000 # Fri Feb 02 23:52:19 2018 -0500 # Node ID b71a66ddae5be734a660be91aa6ceadcff59c541 # Parent a6c740bc66e17962642dc9ad87ce0ca4769f1947 obsutil: drop deprecated methods (API) .. api:: The following deprecated methods have

[PATCH 4 of 8] revset: drop deprecated evolution predicates

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517633305 18000 # Fri Feb 02 23:48:25 2018 -0500 # Node ID a6c740bc66e17962642dc9ad87ce0ca4769f1947 # Parent 14e7553aa4b1e94e3ff6ac06bb26e7950daf0009 revset: drop deprecated evolution predicates diff --git a/mercurial/revset.py b/mercurial

[PATCH 6 of 8] templatekw: drop the deprecated '{troubles}' keyword

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517633637 18000 # Fri Feb 02 23:53:57 2018 -0500 # Node ID 859ae990404c55b790e297a17bd65ccb89cee9cb # Parent b71a66ddae5be734a660be91aa6ceadcff59c541 templatekw: drop the deprecated '{troubles}' keyword diff --git a/mercurial/tem

[PATCH 7 of 8] dirstate: drop deprecated methods (API)

2018-02-02 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517633872 18000 # Fri Feb 02 23:57:52 2018 -0500 # Node ID 7f21211d4bf3e9cd7a21b2c2bd1fabb69b9b7e94 # Parent 859ae990404c55b790e297a17bd65ccb89cee9cb dirstate: drop deprecated methods (API) .. api:: beginparentchange() and

Re: [PATCH 2 of 2 RESEND] lfs: emit a status message to indicate how many blobs were uploaded

2018-02-02 Thread Matt Harbison
On Fri, 02 Feb 2018 06:07:20 -0500, Yuya Nishihara wrote: On Thu, 01 Feb 2018 20:29:29 -0500, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1517281788 18000 # Mon Jan 29 22:09:48 2018 -0500 # Node ID dac55f22cd775a8d3a213e9b6716f03e49e1e765 # Parent

[PATCH V2] bookmarks: drop deprecated methods (API)

2018-02-03 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517631655 18000 # Fri Feb 02 23:20:55 2018 -0500 # Node ID bd31f3bf6824a6dd7d296f73f0b91e35d19f963a # Parent ed3a7300b7b5a427bdcffefd0c80aab65824bf4b bookmarks: drop deprecated methods (API) The ProgrammingError prevents accidental usage of

[PATCH 1 of 3] lfs: factor out a method for extracting the pointer of a single file

2018-02-03 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517082796 18000 # Sat Jan 27 14:53:16 2018 -0500 # Node ID 359c61b92d8b47b866a8b527829643f45bba8970 # Parent a9802c9ecfb5aa20d89480763ae15b03f78f3a88 lfs: factor out a method for extracting the pointer of a single file This will be useful

[PATCH 3 of 3] lfs: prefetch lfs blobs during revert

2018-02-03 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517722408 18000 # Sun Feb 04 00:33:28 2018 -0500 # Node ID 702a3c1d6335cd8f7cf7916029e10e22691e3091 # Parent e779b0c34d6989e45cabbf8da8cdfeb060134dbd lfs: prefetch lfs blobs during revert The revert command oddly prints out what it will do

[PATCH 2 of 3] lfs: prefetch lfs blobs when applying merge updates

2018-02-03 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517711172 18000 # Sat Feb 03 21:26:12 2018 -0500 # Node ID e779b0c34d6989e45cabbf8da8cdfeb060134dbd # Parent 359c61b92d8b47b866a8b527829643f45bba8970 lfs: prefetch lfs blobs when applying merge updates In addition to merge, this method

Re: [PATCH 2 of 3] lfs: prefetch lfs blobs when applying merge updates

2018-02-05 Thread Matt Harbison
On Mon, 05 Feb 2018 08:44:50 -0500, Yuya Nishihara wrote: On Sun, 04 Feb 2018 01:18:24 -0500, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1517711172 18000 # Sat Feb 03 21:26:12 2018 -0500 # Node ID e779b0c34d6989e45cabbf8da8cdfeb060134dbd # Parent

Re: [PATCH 3 of 3] lfs: prefetch lfs blobs during revert

2018-02-05 Thread Matt Harbison
On Mon, 05 Feb 2018 08:51:47 -0500, Yuya Nishihara wrote: On Sun, 04 Feb 2018 01:18:25 -0500, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1517722408 18000 # Sun Feb 04 00:33:28 2018 -0500 # Node ID 702a3c1d6335cd8f7cf7916029e10e22691e3091 # Parent

[PATCH 1 of 7 V2] lfs: factor out a method for extracting the pointer of a single file

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517082796 18000 # Sat Jan 27 14:53:16 2018 -0500 # Node ID ae7b40a6cb0863e26e245966388d766adf065bac # Parent 2912bed9b0c7d02a1cac6f56584c0c0a2f9debe4 lfs: factor out a method for extracting the pointer of a single file This will be useful

[PATCH 4 of 7 V2] lfs: prefetch lfs blobs during revert

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517722408 18000 # Sun Feb 04 00:33:28 2018 -0500 # Node ID d5eedbdb4116e489915228341f9bde4922bd # Parent ab23d9644edaf62b2c3927b735d2170fc76ca711 lfs: prefetch lfs blobs during revert The revert command oddly prints out what it will do

[PATCH 3 of 7 V2] cmdutil: convert _revertprefetch() to a generic stored file hook (API)

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517771668 18000 # Sun Feb 04 14:14:28 2018 -0500 # Node ID ab23d9644edaf62b2c3927b735d2170fc76ca711 # Parent 94d427f881cfca5cae792c5eac4bf00e942106ec cmdutil: convert _revertprefetch() to a generic stored file hook (API) This will be used

[PATCH 6 of 7 V2] cat: call the storage prefetch hook

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517776009 18000 # Sun Feb 04 15:26:49 2018 -0500 # Node ID 73ff18b27dd03449d99668148afc02894162a2ae # Parent 4e8306a344c8660625a1a85e139fa4deded6b82c cat: call the storage prefetch hook It's not important to call in the case of a s

[PATCH 2 of 7 V2] lfs: prefetch lfs blobs when applying merge updates

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517711172 18000 # Sat Feb 03 21:26:12 2018 -0500 # Node ID 94d427f881cfca5cae792c5eac4bf00e942106ec # Parent ae7b40a6cb0863e26e245966388d766adf065bac lfs: prefetch lfs blobs when applying merge updates In addition to merge, this method

[PATCH 5 of 7 V2] archive: call the storage prefetch hook

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517772692 18000 # Sun Feb 04 14:31:32 2018 -0500 # Node ID 4e8306a344c8660625a1a85e139fa4deded6b82c # Parent d5eedbdb4116e489915228341f9bde4922bd archive: call the storage prefetch hook diff --git a/mercurial/archival.py b/mercurial

[PATCH 7 of 7 V2] lfs: deduplicate oids in the transfer

2018-02-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517779063 18000 # Sun Feb 04 16:17:43 2018 -0500 # Node ID 3693ddf8c5f6f50cdb3272929f40c48d0400beb3 # Parent 73ff18b27dd03449d99668148afc02894162a2ae lfs: deduplicate oids in the transfer Apparently, we can't rely on the serv

Re: [PATCH 3 of 7 V2] cmdutil: convert _revertprefetch() to a generic stored file hook (API)

2018-02-06 Thread Matt Harbison
> On Feb 6, 2018, at 7:20 AM, Yuya Nishihara wrote: > >> On Tue, 06 Feb 2018 00:29:06 -0500, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1517771668 18000 >> # Sun Feb 04 14:14:28 2018 -0500 >> # Node I

[PATCH STABLE] fileset: don't abort when running copied() on a revision with a removed file

2018-02-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517979217 18000 # Tue Feb 06 23:53:37 2018 -0500 # Branch stable # Node ID 7b2b82f891bf6355ed87c06ed9198bfcd033fe7d # Parent 1d60ad093792706e1dc7a52b20942593f2c19655 fileset: don't abort when running copied() on a revision with a re

[PATCH] tests: stabilize ssh tests on Windows

2018-02-07 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518064968 18000 # Wed Feb 07 23:42:48 2018 -0500 # Node ID 620577fa68a7c6cd6b473c72af9108303bc23167 # Parent 258a474c5f1ba7e9d61f15c5d8f548f5e01e4f95 tests: stabilize ssh tests on Windows This seems like a somewhat common type of failure

[PATCH 2 of 3] lfs: allow a pointer to be extracted from a context that removes the file

2018-02-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517097384 18000 # Sat Jan 27 18:56:24 2018 -0500 # Node ID 2b6579d78fe2dde40f8e0e99abeb35df93a4ade5 # Parent 5b3ca0f7f4b676863d5b3a481ce7ed88bf6acd55 lfs: allow a pointer to be extracted from a context that removes the file This is needed

[PATCH 1 of 3] lfs: add a fileset for detecting lfs files

2018-02-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517093899 18000 # Sat Jan 27 17:58:19 2018 -0500 # Node ID 5b3ca0f7f4b676863d5b3a481ce7ed88bf6acd55 # Parent c64b9adfb371b6e9dfd2257d3e2f62d5121341df lfs: add a fileset for detecting lfs files This currently has the same limitation as

[PATCH 3 of 3] lfs: teach '{lfs_files}' to handle removed files

2018-02-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517098935 18000 # Sat Jan 27 19:22:15 2018 -0500 # Node ID e545487fa7fa9ff2fa4f85e2482bea8ba4040ef6 # Parent 2b6579d78fe2dde40f8e0e99abeb35df93a4ade5 lfs: teach '{lfs_files}' to handle removed files diff --git a/hgext/lfs/__i

Re: [PATCH 3 of 3] lfs: teach '{lfs_files}' to handle removed files

2018-02-09 Thread Matt Harbison
On Fri, 09 Feb 2018 08:04:04 -0500, Yuya Nishihara wrote: On Fri, 09 Feb 2018 00:30:23 -0500, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1517098935 18000 # Sat Jan 27 19:22:15 2018 -0500 # Node ID e545487fa7fa9ff2fa4f85e2482bea8ba4040ef6 # Parent

[PATCH 1 of 3 V2] lfs: allow a pointer to be extracted from a context that removes the file

2018-02-10 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517097384 18000 # Sat Jan 27 18:56:24 2018 -0500 # Node ID b1c1762fe8b9bb0c89602810e2db8b1e5e63b8c9 # Parent de0666564bde7c67c4d40a44dcf50515fef2f367 lfs: allow a pointer to be extracted from a context that removes the file This is needed

[PATCH 2 of 3 V2] lfs: teach '{lfs_files}' to handle removed files

2018-02-10 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517098935 18000 # Sat Jan 27 19:22:15 2018 -0500 # Node ID 589f4ea15c31383964e2b7d812bb5431b7dd682e # Parent b1c1762fe8b9bb0c89602810e2db8b1e5e63b8c9 lfs: teach '{lfs_files}' to handle removed files diff --git a/hgext/lfs/__i

[PATCH 3 of 3 V2] lfs: teach the 'lfs()' fileset to handle removed files

2018-02-10 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1517097753 18000 # Sat Jan 27 19:02:33 2018 -0500 # Node ID 8009ea6019880cccef2dd48ea3afad32989f3073 # Parent 589f4ea15c31383964e2b7d812bb5431b7dd682e lfs: teach the 'lfs()' fileset to handle removed files The callstatus setting i

Re: [PATCH 3 of 3 V2] lfs: teach the 'lfs()' fileset to handle removed files

2018-02-10 Thread Matt Harbison
On Sat, 10 Feb 2018 21:41:29 -0500, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1517097753 18000 # Sat Jan 27 19:02:33 2018 -0500 # Node ID 8009ea6019880cccef2dd48ea3afad32989f3073 # Parent 589f4ea15c31383964e2b7d812bb5431b7dd682e lfs: teach the 

[PATCH 1 of 6] cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518326637 18000 # Sun Feb 11 00:23:57 2018 -0500 # Node ID 6185d42dfd88845eaaee2d4c6dd1a80c7bed5acc # Parent 91aac8e6604d1aa08b2683c1d4c7d1936f226e48 cmdutil: convert the prefetchfiles() hook to a callback mechanism (API) Yuya suggested a

[PATCH 2 of 6] lfs: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327015 18000 # Sun Feb 11 00:30:15 2018 -0500 # Node ID 878c64ac2f7631e6cbf03c7e2a500d52211e2293 # Parent 6185d42dfd88845eaaee2d4c6dd1a80c7bed5acc lfs: migrate to the fileprefetch callback mechanism diff --git a/hgext/lfs/__init__.py b

[PATCH 3 of 6] archive: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328183 18000 # Sun Feb 11 00:49:43 2018 -0500 # Node ID e4d461d1b9d71253a4563cc6ed7401b6bad32764 # Parent 878c64ac2f7631e6cbf03c7e2a500d52211e2293 archive: migrate to the fileprefetch callback mechanism diff --git a/mercurial/archival.py

[PATCH 6 of 6] merge: invoke cmdutil.fileprefetchhooks() prior to applying updates

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518373556 18000 # Sun Feb 11 13:25:56 2018 -0500 # Node ID d3d1e171fbfcb45de0e29516db2a72b616dd7fcd # Parent f479bfd4a1d8c4eb0ae67f6f5cda8afe9c5da7dc merge: invoke cmdutil.fileprefetchhooks() prior to applying updates This moves the file

[PATCH 5 of 6] revert: drop the remnant of the prefetchfiles hook

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327627 18000 # Sun Feb 11 00:40:27 2018 -0500 # Node ID f479bfd4a1d8c4eb0ae67f6f5cda8afe9c5da7dc # Parent 10a1e5ef22e820e5b64da9010cb54b597e68d400 revert: drop the remnant of the prefetchfiles hook diff --git a/mercurial/cmdutil.py b

[PATCH 4 of 6] cat: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328282 18000 # Sun Feb 11 00:51:22 2018 -0500 # Node ID 10a1e5ef22e820e5b64da9010cb54b597e68d400 # Parent e4d461d1b9d71253a4563cc6ed7401b6bad32764 cat: migrate to the fileprefetch callback mechanism diff --git a/mercurial/cmdutil.py b

Re: [PATCH] dirstate: drop explicitly-specified files that shouldn't match (BC)

2018-02-11 Thread Matt Harbison
On Sun, 11 Feb 2018 09:17:42 -0500, Yuya Nishihara wrote: On Sun, 11 Feb 2018 08:58:48 -0500, Augie Fackler wrote: On Sun, Feb 11, 2018 at 01:09:50PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1516963719 -32400 > # Fri Jan 26 19:48:39 2018 +0900

[PATCH] test-merge-tools: stabilize for Windows

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518400775 18000 # Sun Feb 11 20:59:35 2018 -0500 # Node ID 29c42f65c6b609a6bc429fc6d0963d1eb7cc951b # Parent f91b7f26c68ac87961aa6ef883ba96e5a2822ad3 test-merge-tools: stabilize for Windows This masks the Windows argument parsing insanity[1

[PATCH 1 of 6 V2] cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518326637 18000 # Sun Feb 11 00:23:57 2018 -0500 # Node ID 94345c2ef212a84746e581755b5ccc2cd2e44eac # Parent 488e313954eaccaefb1c24bb4332258453ab8e18 cmdutil: convert the prefetchfiles() hook to a callback mechanism (API) Yuya suggested a

[PATCH 3 of 6 V2] archive: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328183 18000 # Sun Feb 11 00:49:43 2018 -0500 # Node ID 0994666ab1003686784ee4f491a716f0199a1577 # Parent dede887162a897040b19450a21d61c87998e3c81 archive: migrate to the fileprefetch callback mechanism diff --git a/mercurial/archival.py

[PATCH 5 of 6 V2] revert: drop the remnant of the prefetchfiles hook

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327627 18000 # Sun Feb 11 00:40:27 2018 -0500 # Node ID d05ecbfd419747d580100f86a3ffdc3b85574166 # Parent 386c98fec8ab751dfa6dc7fd7a83ecc2c5d6815b revert: drop the remnant of the prefetchfiles hook diff --git a/mercurial/cmdutil.py b

[PATCH 4 of 6 V2] cat: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328282 18000 # Sun Feb 11 00:51:22 2018 -0500 # Node ID 386c98fec8ab751dfa6dc7fd7a83ecc2c5d6815b # Parent 0994666ab1003686784ee4f491a716f0199a1577 cat: migrate to the fileprefetch callback mechanism diff --git a/mercurial/cmdutil.py b

[PATCH 2 of 6 V2] lfs: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327015 18000 # Sun Feb 11 00:30:15 2018 -0500 # Node ID dede887162a897040b19450a21d61c87998e3c81 # Parent 94345c2ef212a84746e581755b5ccc2cd2e44eac lfs: migrate to the fileprefetch callback mechanism diff --git a/hgext/lfs/__init__.py b

[PATCH 6 of 6 V2] merge: invoke cmdutil.fileprefetchhooks() prior to applying updates

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518373556 18000 # Sun Feb 11 13:25:56 2018 -0500 # Node ID add5bc8012bbedd24d2b9d3a301bfe0eba892ca4 # Parent d05ecbfd419747d580100f86a3ffdc3b85574166 merge: invoke cmdutil.fileprefetchhooks() prior to applying updates This moves the file

Re: [PATCH] test-merge-tools: stabilize for Windows

2018-02-12 Thread Matt Harbison
> On Feb 12, 2018, at 5:27 AM, Yuya Nishihara wrote: > >> On Sun, 11 Feb 2018 21:39:14 -0500, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1518400775 18000 >> # Sun Feb 11 20:59:35 2018 -0500 >> # Node I

[PATCH] minifileset: allow 'path:' patterns to have an explicit trailing slash

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518488713 18000 # Mon Feb 12 21:25:13 2018 -0500 # Node ID e99e6917138593d2dddf7e0f5506dbd3f6c87743 # Parent 9b5df6e19a4f308e14703a8136cd0530c1e1d1a9 minifileset: allow 'path:' patterns to have an explicit trailing slash We allow

[PATCH 2 of 6 V3] lfs: migrate to the fileprefetch callback mechanism

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327015 18000 # Sun Feb 11 00:30:15 2018 -0500 # Node ID f5461e496adbb52ed35e71e8a00c9f0b6b5b9c0f # Parent 7d3abc6fcc2f39cd890c0062121dcb0ac44df45a lfs: migrate to the fileprefetch callback mechanism diff --git a/hgext/lfs/__init__.py b

[PATCH 4 of 6 V3] cat: migrate to the fileprefetch callback mechanism

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328282 18000 # Sun Feb 11 00:51:22 2018 -0500 # Node ID c63a31b38a09c007b3e4e7f09de8c3b591b55d0b # Parent 243fe0926905286bbce9078de38ea1565b03028a cat: migrate to the fileprefetch callback mechanism diff --git a/mercurial/cmdutil.py b

[PATCH 1 of 6 V3] cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518326637 18000 # Sun Feb 11 00:23:57 2018 -0500 # Node ID 7d3abc6fcc2f39cd890c0062121dcb0ac44df45a # Parent e99e6917138593d2dddf7e0f5506dbd3f6c87743 cmdutil: convert the prefetchfiles() hook to a callback mechanism (API) Yuya suggested a

[PATCH 5 of 6 V3] revert: drop the remnant of the prefetchfiles hook

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327627 18000 # Sun Feb 11 00:40:27 2018 -0500 # Node ID b5f3a374445c80e0608566537e989c543b9c7046 # Parent c63a31b38a09c007b3e4e7f09de8c3b591b55d0b revert: drop the remnant of the prefetchfiles hook diff --git a/mercurial/cmdutil.py b

[PATCH 6 of 6 V3] merge: invoke scmutil.fileprefetchhooks() prior to applying updates

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518373556 18000 # Sun Feb 11 13:25:56 2018 -0500 # Node ID 434f9de0dcc58f26cf3903e0b6464e8852e2386d # Parent b5f3a374445c80e0608566537e989c543b9c7046 merge: invoke scmutil.fileprefetchhooks() prior to applying updates This moves the file

[PATCH 3 of 6 V3] archive: migrate to the fileprefetch callback mechanism

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328183 18000 # Sun Feb 11 00:49:43 2018 -0500 # Node ID 243fe0926905286bbce9078de38ea1565b03028a # Parent f5461e496adbb52ed35e71e8a00c9f0b6b5b9c0f archive: migrate to the fileprefetch callback mechanism diff --git a/mercurial/archival.py

[PATCH] test-narrow: partially stabilize on Windows

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518501276 18000 # Tue Feb 13 00:54:36 2018 -0500 # Node ID 06a3f7c52e76f980ed3e58b119dd88ee1c679530 # Parent 434f9de0dcc58f26cf3903e0b6464e8852e2386d test-narrow: partially stabilize on Windows test-narrow-strip.t is still broken. I don&#

Re: [PATCH] minifileset: allow 'path:' patterns to have an explicit trailing slash

2018-02-13 Thread Matt Harbison
> On Feb 13, 2018, at 6:27 AM, Yuya Nishihara wrote: > >> On Mon, 12 Feb 2018 22:17:35 -0500, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1518488713 18000 >> # Mon Feb 12 21:25:13 2018 -0500 >> # Node I

Re: [PATCH] minifileset: allow 'path:' patterns to have an explicit trailing slash

2018-02-15 Thread Matt Harbison
On Tue, 13 Feb 2018 08:38:27 -0500, Yuya Nishihara wrote: On Tue, 13 Feb 2018 07:58:50 -0500, Matt Harbison wrote: > On Feb 13, 2018, at 6:27 AM, Yuya Nishihara wrote: > >> On Mon, 12 Feb 2018 22:17:35 -0500, Matt Harbison wrote: >> # HG changeset patch >> # User

Re: [PATCH 6 of 6] cmdutil: expand filename format string by templater (BC)

2018-02-17 Thread Matt Harbison
On Thu, 15 Feb 2018 08:18:44 -0500, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1515293587 -32400 # Sun Jan 07 11:53:07 2018 +0900 # Node ID 437212580debfa26ee266598f64139b4df5a9cfd # Parent e7f4a2b09c484d4313aa6624470d92aef3ad5a10 cmdutil: expand filename for

[PATCH 1 of 2 RFC] lfs: add support for serving blob files

2018-02-17 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518937155 18000 # Sun Feb 18 01:59:15 2018 -0500 # Node ID ba2e8627d87cfaca00931fe2dcee738c3c9a4f9d # Parent 868bb2821e292cdda6050f229ade1af42d52c9e6 lfs: add support for serving blob files There's a ton more to do, especially on th

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