D4815: logtoprocess: add a test to show pager and ltp bad interaction

2018-10-01 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5f040397fcb6: logtoprocess: add a test to show pager and ltp bad interaction (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1703: logtoprocess: connect all fds to /dev/null to avoid bad interaction with pager

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. Replaced by https://phab.mercurial-scm.org/D4816 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1703 To: lothiraldan, #hg-reviewers Cc: yuja, mercurial-devel

D1428: logtoprocess: connect all fds to /dev/null to avoid bad interaction with pager

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. Replaced by https://phab.mercurial-scm.org/D4816 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1428 To: lothiraldan, #hg-reviewers, yuja Cc: yuja, mercurial-devel

D1427: logtoprocess: add a test to show pager and ltp bad interaction

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. Replaced by https://phab.mercurial-scm.org/D4815 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1427 To: lothiraldan, #hg-reviewers, yuja Cc: yuja, durin42, quark, mercurial-devel

D1702: logtoprocess: add a test to show pager and ltp bad interaction

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. I've finally reworked this patch and sends it as an independent series here: https://phab.mercurial-scm.org/D4815 The test seems stable locally and on gcc112, with and without chg and with and without parallelization REPOSITORY rHG Mercurial REVISION

D4816: logtoprocess: connect all fds to /dev/null to avoid bad interaction with pager

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We detected that pager is waiting for log-to-process script to finish, which is annoying when adding a script on commandfinish that does an HTTP push.

D4815: logtoprocess: add a test to show pager and ltp bad interaction

2018-10-01 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The next changeset will fix the bad interaction between the pager and log-to- process. Add a test first to make the next changeset easier to understand.

[PATCH 5 of 5 V2] pullreport: rev duplicated and extinct into account

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538060106 -7200 # Thu Sep 27 16:55:06 2018 +0200 # Node ID 36064527c3d1f617fe7ec86cdd406aa37222a10c # Parent 4693e5593cc54c6bacc481950e561dcdcaf80a55 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 4 of 5 V2] pullreport: issue a message about "extinct" pulled changesets

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538059945 -7200 # Thu Sep 27 16:52:25 2018 +0200 # Node ID 4693e5593cc54c6bacc481950e561dcdcaf80a55 # Parent ee865e674f55e4434a0796810872235999c8d438 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 3 of 5 V2] pullreport: skip or rework some early return

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538060400 -7200 # Thu Sep 27 17:00:00 2018 +0200 # Node ID ee865e674f55e4434a0796810872235999c8d438 # Parent c2ac56afe1e26620a0c38a0f006902102dae9f19 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 2 of 5 V2] pullreport: skip filtered revs instead of obsolete ones

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538058910 -7200 # Thu Sep 27 16:35:10 2018 +0200 # Node ID c2ac56afe1e26620a0c38a0f006902102dae9f19 # Parent 78ef4cda114aabd21835d7bc08b0a7c04040d80f # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 1 of 5 V2] pullreport: add a test to show misreporting of visible changeset

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538064373 -7200 # Thu Sep 27 18:06:13 2018 +0200 # Node ID 78ef4cda114aabd21835d7bc08b0a7c04040d80f # Parent 4e3e9163c676af92f765683958dbdc68b9dc16bd # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

D2679: [PoC] obsolete: config option to enable local only obsolescence mode

2018-09-28 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. In https://phab.mercurial-scm.org/D2679#70935, @durin42 wrote: > In https://phab.mercurial-scm.org/D2679#70934, @lothiraldan wrote: > > > In https://phab.mercurial-scm.org/D2679#69388, @durin42 wrote: > > > > > I'm slowly becoming convinced that the

Re: [PATCH 2 of 5] pullreport: skip filtered revs instead of obsolete ones

2018-09-28 Thread Boris FELD
On 28/09/2018 13:56, Yuya Nishihara wrote: On Fri, 28 Sep 2018 12:22:19 +0200, Boris Feld wrote: # HG changeset patch # User Boris Feld # Date 1538058910 -7200 # Thu Sep 27 16:35:10 2018 +0200 # Node ID 4bd42e72e7ba8c0ee9dc4e153127882e6961602a # Parent

[PATCH 5 of 5] pullreport: rev duplicated and extinct into account

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538060106 -7200 # Thu Sep 27 16:55:06 2018 +0200 # Node ID 779c6fdd8cf7057f93785f4f653ae2c4860af576 # Parent cd5d5d6586b124fc7d4476223ccce0bc8eb04c50 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 3 of 5] pullreport: skip or rework some early return

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538060400 -7200 # Thu Sep 27 17:00:00 2018 +0200 # Node ID e91cce6bdd293a7c498bac3925b47a9f94dd22e9 # Parent 4bd42e72e7ba8c0ee9dc4e153127882e6961602a # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 4 of 5] pullreport: issue a message about "extinct" pulled changesets

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538059945 -7200 # Thu Sep 27 16:52:25 2018 +0200 # Node ID cd5d5d6586b124fc7d4476223ccce0bc8eb04c50 # Parent e91cce6bdd293a7c498bac3925b47a9f94dd22e9 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 1 of 5] pullreport: add a test to show misreporting of visible changeset

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538064373 -7200 # Thu Sep 27 18:06:13 2018 +0200 # Node ID b36914d9928effac212d851c9617de93d6260746 # Parent 850324b80f9c305a14ea37740dabd3abbc6e4f1f # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 2 of 5] pullreport: skip filtered revs instead of obsolete ones

2018-09-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538058910 -7200 # Thu Sep 27 16:35:10 2018 +0200 # Node ID 4bd42e72e7ba8c0ee9dc4e153127882e6961602a # Parent b36914d9928effac212d851c9617de93d6260746 # EXP-Topic obsolete-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 13 of 13] obsolete: explicitly track folds inside the markers

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537998614 -7200 # Wed Sep 26 23:50:14 2018 +0200 # Node ID 1abacb9c2d03520a12af25ae0d9ae5978f6aa3db # Parent bd762ec24f1858bc577b05de0388688a7756f6ba # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 11 of 13] obsolete: allow multiple predecessors in createmarkers

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537620033 -7200 # Sat Sep 22 14:40:33 2018 +0200 # Node ID 84585c803b4156717b397e3753fc59e9dc3785d8 # Parent b3bd71652d1258de723a667a6f1210a27b86b019 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 12 of 13] cleanupnodes: pass multiple predecessors to `createmarkers` directly

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538042792 -7200 # Thu Sep 27 12:06:32 2018 +0200 # Node ID bd762ec24f1858bc577b05de0388688a7756f6ba # Parent 84585c803b4156717b397e3753fc59e9dc3785d8 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 10 of 13] obsolete: preindent code in createmarkers

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537988589 -7200 # Wed Sep 26 21:03:09 2018 +0200 # Node ID b3bd71652d1258de723a667a6f1210a27b86b019 # Parent febc3b2c06888c019bb3aaeab33cb9e0ec8d58f4 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 09 of 13] obsolete: explicitly pass relation items to effectflag computation

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537997863 -7200 # Wed Sep 26 23:37:43 2018 +0200 # Node ID febc3b2c06888c019bb3aaeab33cb9e0ec8d58f4 # Parent 95659bcaa0dc2eea9fd50da4f249b9869e36392f # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 07 of 13] rebase: use tuple as `replacement` keys

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537998671 -7200 # Wed Sep 26 23:51:11 2018 +0200 # Node ID 79a0f8fcb5c1af9a8ad5dd292a8ef67d75b6779d # Parent 77b0a61c3cc5be70c3686f9b7217e59fbf98f5c7 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 08 of 13] rebase: explicitly track collapses as fold

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537994744 -7200 # Wed Sep 26 22:45:44 2018 +0200 # Node ID 95659bcaa0dc2eea9fd50da4f249b9869e36392f # Parent 79a0f8fcb5c1af9a8ad5dd292a8ef67d75b6779d # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 05 of 13] cleanupnodes: drop special casing around prune markers

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537990101 -7200 # Wed Sep 26 21:28:21 2018 +0200 # Node ID 4c65b3d61c4505f4d719d657a087b3a254ddb5c5 # Parent f70aad5388994c9dd8f1b6f814ed648252c378a0 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 06 of 13] rebase: expand a long "one-liner"

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1538000121 -7200 # Thu Sep 27 00:15:21 2018 +0200 # Node ID 77b0a61c3cc5be70c3686f9b7217e59fbf98f5c7 # Parent 4c65b3d61c4505f4d719d657a087b3a254ddb5c5 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 02 of 13] cleanupnodes: accept multiple predecessors in 'replacements' (API)

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537981319 -7200 # Wed Sep 26 19:01:59 2018 +0200 # Node ID 55f1732982232e65d0ccabbfe4e3e38036c028f9 # Parent 4b1a3cbca27b5b8465435d29a476c8c1391d2904 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 04 of 13] rebase: don't try to prune obsolete changeset already in the destination

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537992328 -7200 # Wed Sep 26 22:05:28 2018 +0200 # Node ID f70aad5388994c9dd8f1b6f814ed648252c378a0 # Parent b425c3186b916eef5e315962fb73491f046e10bf # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 01 of 13] cleanupnodes: expand long "one-liner"

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537983753 -7200 # Wed Sep 26 19:42:33 2018 +0200 # Node ID 4b1a3cbca27b5b8465435d29a476c8c1391d2904 # Parent bce1c1af7518e87a6b8ee0761d8976c4b75da1b1 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 03 of 13] histedit: don't cleanup nodes already disposed of

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537991489 -7200 # Wed Sep 26 21:51:29 2018 +0200 # Node ID b425c3186b916eef5e315962fb73491f046e10bf # Parent 55f1732982232e65d0ccabbfe4e3e38036c028f9 # EXP-Topic trackfold # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 1 of 4] revlog: add a callback "tracking" duplicate node addition

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537383767 -7200 # Wed Sep 19 21:02:47 2018 +0200 # Node ID 1bed338fee8612ca502b2ef462c8cd7a59efe0aa # Parent ddca38941b2b80124220646554bbc2a0af1aff21 # EXP-Topic revlog-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 2 of 4] changelog: keep track of duplicated node in the transaction adding them

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537435108 -7200 # Thu Sep 20 11:18:28 2018 +0200 # Node ID 6000c641cd3740dc4d3068a05ada707213983b29 # Parent 1bed338fee8612ca502b2ef462c8cd7a59efe0aa # EXP-Topic revlog-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 4 of 4] shelve: find shelvedctx from bundle even if they are already in the repo

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537458425 -7200 # Thu Sep 20 17:47:05 2018 +0200 # Node ID 850324b80f9c305a14ea37740dabd3abbc6e4f1f # Parent 4deea424746d21e029caf45b10ad3cef311e92d0 # EXP-Topic revlog-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 3 of 4] shelve: return the shelved node as part of bundle application

2018-09-27 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537352368 -7200 # Wed Sep 19 12:19:28 2018 +0200 # Node ID 4deea424746d21e029caf45b10ad3cef311e92d0 # Parent 6000c641cd3740dc4d3068a05ada707213983b29 # EXP-Topic revlog-duplicates # Available At https://bitbucket.org/octobus/mercurial-devel

caching pull - stable partitioning of bundle requests

2018-09-26 Thread Boris FELD
Hi everyone, Pulling from a server involves expensive server-side computation that we wish to cache. However, since the client can pull any arbitrary set of revision, grouping and dispatching the data to be cached is ahard problem. When we implemented the new discovery for obsolescence

[PATCH 1 of 2] shelve: no longer strip internal commit when using internal phase

2018-09-21 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1528245106 -7200 # Wed Jun 06 02:31:46 2018 +0200 # Node ID e47e45bd5fd68bec6e3bb9aa159d1ca9883117f3 # Parent 65b39c556c6dcf06e19d59db33c0ce65fb9b3618 # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 2 of 2] safestrip: ignore orphaned internal changesets

2018-09-21 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1537369741 -7200 # Wed Sep 19 17:09:01 2018 +0200 # Node ID 96e9e9ad53fb5c44ee2d4ff92d193e69f80a14b7 # Parent e47e45bd5fd68bec6e3bb9aa159d1ca9883117f3 # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

D2679: [PoC] obsolete: config option to enable local only obsolescence mode

2018-09-19 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. In https://phab.mercurial-scm.org/D2679#69388, @durin42 wrote: > In https://phab.mercurial-scm.org/D2679#68489, @lothiraldan wrote: > > > To take a step back, I'm wondering what's the end goal? I remember there was a discussion about having rebase enabled

Re: [PATCH 01 of 19] revlog: drop duplicated code

2018-09-13 Thread Boris FELD
There was some missing numbers near the end, here there are: On 13/09/2018 16:20, Boris FELD wrote: On 10/09/2018 18:52, Gregory Szorc wrote: On Sat, Sep 8, 2018 at 3:57 AM Boris Feld <mailto:boris.f...@octobus.net>> wrote: # HG changeset patch # User Boris Feld mailt

Re: [PATCH 06 of 19] snapshot: search for unrelated but reusable full-snapshot

2018-09-13 Thread Boris FELD
On 10/09/2018 18:07, Gregory Szorc wrote: On Sat, Sep 8, 2018 at 3:57 AM Boris Feld <mailto:boris.f...@octobus.net>> wrote: # HG changeset patch # User Boris Feld mailto:boris.f...@octobus.net>> # Date 1536333450 14400 #      Fri Sep 07 11:17:30 2018 -040

[PATCH 2 of 2 FOLLOW-UP] revlog: reuse cached delta for identical base revision (issue5975)

2018-09-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536561101 -7200 # Mon Sep 10 08:31:41 2018 +0200 # Node ID 8b194b4eacc6b0ec191863c1385ec47124939fce # Parent bf9d5d5513d0babd5e1d59df1c1fa26c244faae5 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 1 of 2 FOLLOW-UP] snapshot: fix line order when skipping over empty deltas

2018-09-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536567081 -7200 # Mon Sep 10 10:11:21 2018 +0200 # Node ID bf9d5d5513d0babd5e1d59df1c1fa26c244faae5 # Parent 9db85644629855cd1064bfdedf1844db0f981ed9 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

Re: [PATCH 01 of 19] revlog: drop duplicated code

2018-09-13 Thread Boris FELD
On 10/09/2018 18:52, Gregory Szorc wrote: On Sat, Sep 8, 2018 at 3:57 AM Boris Feld <mailto:boris.f...@octobus.net>> wrote: # HG changeset patch # User Boris Feld mailto:boris.f...@octobus.net>> # Date 1536087921 -7200 #      Tue Sep 04 21:05:21 2018 +020

D4513: extension: add a summary of total loading time per extension

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2f6fb9f0a191: extension: add a summary of total loading time per extension (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4515: contrib: fix catapipe output argument documentation

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG08c58e0843a4: contrib: fix catapipe output argument documentation (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4516: contrib: use a monotonic timer in catapipe

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9bad74532247: contrib: use a monotonic timer in catapipe (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4512: extensions: trace the total time of running all reposetup callbacks

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd3390a2789d8: extensions: trace the total time of running all reposetup callbacks (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4514: tracing: trace command function execution

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1d2ee4a1f762: tracing: trace command function execution (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4511: extensions: trace the total time of running all extsetup callbacks

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcbd145094e4a: extensions: trace the total time of running all extsetup callbacks (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4509: extensions: add timing for extensions reposetup

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5310baa188f2: extensions: add timing for extensions reposetup (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4510: extensions: trace the total time of running all uisetup callbacks

2018-09-10 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4fdd11520d80: extensions: trace the total time of running all uisetup callbacks (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4502: util: allow lrucachedict to track cost of entries

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan added inline comments. INLINE COMMENTS > indygreg wrote in util.py:1277 > Good catch! I'll send a revised patch. > > FWIW, cost accounting on this data structure opens up a lot of potential > around caching on revlogs. I have some alpha-quality commits to replace the > full

[PATCH 19 of 19] sparse-revlog: set max delta chain length to on thousand

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333525 14400 # Fri Sep 07 11:18:45 2018 -0400 # Node ID 113d5204173704d2ec31719eacdb40e2f88bee39 # Parent f8b71b0b9d035171dae9162f87747ce02da4b086 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 18 of 19] snapshot: also consider the snapshot chain of one unrelated revision

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333525 14400 # Fri Sep 07 11:18:45 2018 -0400 # Node ID f8b71b0b9d035171dae9162f87747ce02da4b086 # Parent 535a778ae14a756b207901db5b3c0e5a078ae6cd # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 17 of 19] snapshot: extract parent chain computation

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333457 14400 # Fri Sep 07 11:17:37 2018 -0400 # Node ID 535a778ae14a756b207901db5b3c0e5a078ae6cd # Parent 2ad2e932a5e2bb5bbf2bac7b7d3870ba969c07d6 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 16 of 19] snapshot: refine candidate snapshot base upward

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333456 14400 # Fri Sep 07 11:17:36 2018 -0400 # Node ID 2ad2e932a5e2bb5bbf2bac7b7d3870ba969c07d6 # Parent 45a29cbc741ec23c1c3c98227c5ca2fcf6f0a3ff # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 15 of 19] snapshot: try to refine new snapshot base down the chain

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333455 14400 # Fri Sep 07 11:17:35 2018 -0400 # Node ID 45a29cbc741ec23c1c3c98227c5ca2fcf6f0a3ff # Parent cc72a5b2135b94e1176eaf7a71b5b577bb7b7a33 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 14 of 19] snapshot: make sure we'll never refine delta base from a reused source

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333454 14400 # Fri Sep 07 11:17:34 2018 -0400 # Node ID cc72a5b2135b94e1176eaf7a71b5b577bb7b7a33 # Parent 4c849d34990166b1246426533efa517733d8a7fe # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 13 of 19] snapshot: turn _refinedgroups into a coroutine

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333454 14400 # Fri Sep 07 11:17:34 2018 -0400 # Node ID 4c849d34990166b1246426533efa517733d8a7fe # Parent f79dc24022976ab6ba0a8f7183651e0e4d9877d5 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 12 of 19] snapshot: also use None as a stop value for `_refinegroup`

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333453 14400 # Fri Sep 07 11:17:33 2018 -0400 # Node ID f79dc24022976ab6ba0a8f7183651e0e4d9877d5 # Parent db3775d10e1167be3487eed8b915ca2bf8c4bccb # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 11 of 19] snapshot: add refining logic at the findeltainfo level

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333453 14400 # Fri Sep 07 11:17:33 2018 -0400 # Node ID db3775d10e1167be3487eed8b915ca2bf8c4bccb # Parent 256a998ee3bf645cc6eee3a144e6825d61406a7c # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 10 of 19] snapshot: use None as a stop value when looking for a good delta

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333452 14400 # Fri Sep 07 11:17:32 2018 -0400 # Node ID 256a998ee3bf645cc6eee3a144e6825d61406a7c # Parent 9ea2ef9abc22291b021b80c8f88320026ae79618 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 09 of 19] snapshot: introduce an intermediate `_refinedgroups` generator

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333452 14400 # Fri Sep 07 11:17:32 2018 -0400 # Node ID 9ea2ef9abc22291b021b80c8f88320026ae79618 # Parent 979ae7a8db741f15531f76dded568e0792e57b10 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 08 of 19] snapshot: consider unrelated snapshots at a similar level first

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333451 14400 # Fri Sep 07 11:17:31 2018 -0400 # Node ID 979ae7a8db741f15531f76dded568e0792e57b10 # Parent b0d159cf86730ba381b8b6a0e9031a40d52cb101 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 07 of 19] snapshot: consider all snapshots in the parents' chains

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333450 14400 # Fri Sep 07 11:17:30 2018 -0400 # Node ID b0d159cf86730ba381b8b6a0e9031a40d52cb101 # Parent b7726577179f0cffc8a4753606dcc5feb858c22b # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 06 of 19] snapshot: search for unrelated but reusable full-snapshot

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333450 14400 # Fri Sep 07 11:17:30 2018 -0400 # Node ID b7726577179f0cffc8a4753606dcc5feb858c22b # Parent c6dd1a01b22cd2649dc7c0dfe9981305b6e762d2 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 05 of 19] snapshot: try intermediate snapshot against parents' base

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333449 14400 # Fri Sep 07 11:17:29 2018 -0400 # Node ID c6dd1a01b22cd2649dc7c0dfe9981305b6e762d2 # Parent 607e4fcb774047629cea21bc4052ce8c35eab5d5 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 04 of 19] sparse-revlog: add a test checking revlog deltas for a churning file

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536333449 14400 # Fri Sep 07 11:17:29 2018 -0400 # Node ID 607e4fcb774047629cea21bc4052ce8c35eab5d5 # Parent a4f94a5caf6f652ff4959daedddf1d88c6059f1b # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 03 of 19] tests: add a `tests/artifacts/` directory

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1534589144 -7200 # Sat Aug 18 12:45:44 2018 +0200 # Node ID a4f94a5caf6f652ff4959daedddf1d88c6059f1b # Parent 2d50819efa01dbb1ba0e14e30486490cb90c002a # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 01 of 19] revlog: drop duplicated code

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536087921 -7200 # Tue Sep 04 21:05:21 2018 +0200 # Node ID bdcfd96d87254a508e85a6eb502ffe4c57845bc8 # Parent 6268fed317d04dd8f0430468818ea5d0529b6503 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 02 of 19] revlog: clarify the comment attached to delta reuse

2018-09-08 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536089308 -7200 # Tue Sep 04 21:28:28 2018 +0200 # Node ID 2d50819efa01dbb1ba0e14e30486490cb90c002a # Parent bdcfd96d87254a508e85a6eb502ffe4c57845bc8 # EXP-Topic sparse-snapshot # Available At https://bitbucket.org/octobus/mercurial-devel

D4516: contrib: use a monotonic timer in catapipe

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY As spotted by Gregory, we should use a monotonic timer to get better timings. REPOSITORY rHG Mercurial REVISION DETAIL

D4515: contrib: fix catapipe output argument documentation

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4515 AFFECTED FILES contrib/catapipe.py CHANGE DETAILS diff --git a/contrib/catapipe.py

D4514: tracing: trace command function execution

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4514 AFFECTED FILES mercurial/dispatch.py CHANGE DETAILS diff --git a/mercurial/dispatch.py

D4513: extension: add a summary of total loading time per extension

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4513 AFFECTED FILES mercurial/extensions.py tests/test-bad-extension.t

D4512: extensions: trace the total time of running all reposetup callbacks

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4512 AFFECTED FILES mercurial/hg.py tests/test-extension-timing.t CHANGE DETAILS diff --git

D4511: extensions: trace the total time of running all extsetup callbacks

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4511 AFFECTED FILES mercurial/extensions.py tests/test-bad-extension.t

D4510: extensions: trace the total time of running all uisetup callbacks

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4510 AFFECTED FILES mercurial/extensions.py tests/test-bad-extension.t

D4509: extensions: add timing for extensions reposetup

2018-09-08 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4509 AFFECTED FILES mercurial/hg.py tests/test-extension-timing.t

D4502: util: allow lrucachedict to track cost of entries

2018-09-07 Thread lothiraldan (Boris Feld)
lothiraldan added inline comments. INLINE COMMENTS > util.py:1277 > if node is not None: > +self.totalcost -= node.cost > node.value = v I'm not sure this line is tested, I didnd't see a test where we replace an entry with an associated cost REPOSITORY rHG

Re: [PATCH 6 of 7] context: introduce a `_findchangeid` method to `filectx`

2018-09-07 Thread Boris FELD
On 07/09/2018 11:17, Martin von Zweigbergk via Mercurial-devel wrote: On Fri, Sep 7, 2018 at 8:13 AM Boris Feld <mailto:boris.f...@octobus.net>> wrote: # HG changeset patch # User Boris Feld mailto:boris.f...@octobus.net>> # Date 1536255775 14400 #      Thu

Re: [PATCH 09 of 10] shelve: use the internal phase when possible

2018-09-07 Thread Boris FELD
On 30/08/2018 17:02, Augie Fackler wrote: On Aug 29, 2018, at 12:30 PM, Boris Feld wrote: # HG changeset patch # User Boris Feld # Date 1527588738 -7200 # Tue May 29 12:12:18 2018 +0200 # Node ID ccb9572516145a1b6f11a8d199c4a7da4774898b # Parent

[PATCH] phase: report number of non-public changeset alongside the new range

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1535586801 -7200 # Thu Aug 30 01:53:21 2018 +0200 # Node ID 5f931c1d1422e9a8c08cca3a59804b25a1183449 # Parent ab452995eafffa69c34e863e4d8c03e163d8f3ad # EXP-Topic phase-report # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 7 of 7] context: floor adjustlinkrev graph walk during copy tracing

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536255188 14400 # Thu Sep 06 13:33:08 2018 -0400 # Node ID 0f720a4aa166d08daaa39e8462f2291f77e825c1 # Parent 441c39342d63c75ee101587b2fbf3af60800762f # EXP-Topic copy-perf # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 6 of 7] context: introduce a `_findchangeid` method to `filectx`

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536255775 14400 # Thu Sep 06 13:42:55 2018 -0400 # Node ID 441c39342d63c75ee101587b2fbf3af60800762f # Parent f74f706f6d061cf9369cd45caa3a71d3fc03b293 # EXP-Topic copy-perf # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 5 of 7] context: split `introrev` logic in a sub function

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536255508 14400 # Thu Sep 06 13:38:28 2018 -0400 # Node ID f74f706f6d061cf9369cd45caa3a71d3fc03b293 # Parent a7dba588d74f3d71c988b9a89b9591fb530a1d14 # EXP-Topic copy-perf # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 4 of 7] context: introduce an `isintroducedafter` method and use it in copies

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536252767 14400 # Thu Sep 06 12:52:47 2018 -0400 # Node ID a7dba588d74f3d71c988b9a89b9591fb530a1d14 # Parent a4c3eb6c1a36cbbf64fa8930b173154b2e77ef2b # EXP-Topic copy-perf # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 3 of 7] context: fix introrev to avoid computation as initially intended

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536254177 14400 # Thu Sep 06 13:16:17 2018 -0400 # Node ID a4c3eb6c1a36cbbf64fa8930b173154b2e77ef2b # Parent 9a18509c522deeb62a7b244dcf4c7b79a8dc1132 # EXP-Topic copy-perf # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 1 of 7] ancestors: actually iterate over ancestors in topological order (issue5979)

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536267628 14400 # Thu Sep 06 17:00:28 2018 -0400 # Node ID eb80c721aea9715e23dc35cdd119428aa120ea93 # Parent ab452995eafffa69c34e863e4d8c03e163d8f3ad # EXP-Topic issue5979 # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 2 of 7] ancestors: ensure a consistent order even in the "inclusive" case

2018-09-07 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1536277058 14400 # Thu Sep 06 19:37:38 2018 -0400 # Node ID 9a18509c522deeb62a7b244dcf4c7b79a8dc1132 # Parent eb80c721aea9715e23dc35cdd119428aa120ea93 # EXP-Topic issue5979 # Available At https://bitbucket.org/octobus/mercurial-devel

D2679: [PoC] obsolete: config option to enable local only obsolescence mode

2018-09-04 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. Hi Pulkit, Thanks for your patience. I had a couple of important things to get out of the way before I could turn my attention to this. I reached out to Ryan and he sent me the code he wrote at the 4.6 Sprint. I made it available here to support the

D4479: [RFC] obsolete: add mechanism to filter obsstore

2018-09-04 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch is not ready to land and only sent for discussion. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4479 AFFECTED

[PATCH] test: add a test file that displays ssh behavior in front of various errors

2018-08-31 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1533106375 -7200 # Wed Aug 01 08:52:55 2018 +0200 # Node ID 6af5b6f05e931fbab5baec1bef2a78d1e86acb90 # Parent 6f38284b23f426b55d9375919f63ab4bd0fa81c0 # EXP-Topic ssh-error # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 08 of 10] shelve: add an "internal" extra

2018-08-29 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1528242397 -7200 # Wed Jun 06 01:46:37 2018 +0200 # Node ID 5726fcca7837180c0f25ed345236625797725aa5 # Parent 95c87531a5cc2f5ee8efad0243bdcbe9a38d883a # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 07 of 10] shelve: write metadata file on the fly if they are missing

2018-08-29 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1528240201 -7200 # Wed Jun 06 01:10:01 2018 +0200 # Node ID 95c87531a5cc2f5ee8efad0243bdcbe9a38d883a # Parent e56dd355b971632ef95fbbf07445547ea6d30f88 # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 09 of 10] shelve: use the internal phase when possible

2018-08-29 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1527588738 -7200 # Tue May 29 12:12:18 2018 +0200 # Node ID ccb9572516145a1b6f11a8d199c4a7da4774898b # Parent 5726fcca7837180c0f25ed345236625797725aa5 # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 04 of 10] shelve: store shelved node in a new data file

2018-08-29 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1527587252 -7200 # Tue May 29 11:47:32 2018 +0200 # Node ID 86fcd2d7daee18e9c4a515532b9e2fbfa9f16214 # Parent 3ecb8506e6cc8e411526d32888b9b4dfbdb40e04 # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

[PATCH 10 of 10] shelve: no longer strip internal commit when using internal phase

2018-08-29 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1528245106 -7200 # Wed Jun 06 02:31:46 2018 +0200 # Node ID 18e2c4986d32aed2f10948277ba5dc1133f19f00 # Parent ccb9572516145a1b6f11a8d199c4a7da4774898b # EXP-Topic internal-phase.shelve # Available At https://bitbucket.org/octobus/mercurial-devel

<    3   4   5   6   7   8   9   10   11   12   >