Re: [PATCH] update: add a hint when aborting for uncommitted changes

2017-04-04 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, Apr 4, 2017 at 9:40 AM, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1491225382 -7200 > # Mon Apr 03 15:16:22 2017 +0200 > # Node ID 32116e1ad0d93b48d344f317899b974628310850 > # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 > # EXP-Topic upda

Re: [PATCH RFC] run-tests: support per-line conditional output in tests

2017-04-04 Thread Kostia Balytskyi
On 04/04/2017 05:01, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1491275149 14400 > # Mon Apr 03 23:05:49 2017 -0400 > # Node ID cfefdb4546a3a38918303ed43447ebe93051de51 > # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 > run-tests: support per-line conditi

Re: Hidden Commits in 4.3

2017-04-04 Thread Durham Goode
On 4/4/17 8:58 PM, Gregory Szorc wrote: On Tue, Apr 4, 2017 at 6:11 PM, Durham Goode mailto:dur...@fb.com>> wrote: There's been a lot of discussion about how to hide and unhide commits lately [0][1], and I feel the complexity of our current approach is hurting our ability to reason

Re: Hidden Commits in 4.3

2017-04-04 Thread Gregory Szorc
On Tue, Apr 4, 2017 at 6:11 PM, Durham Goode wrote: > There's been a lot of discussion about how to hide and unhide commits > lately [0][1], and I feel the complexity of our current approach is hurting > our ability to reason about it, making it impossible to make progress. > > I would like to fo

Re: [PATCH RFC] run-tests: support per-line conditional output in tests

2017-04-04 Thread Matt Harbison
On Tue, 04 Apr 2017 00:01:55 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1491275149 14400 # Mon Apr 03 23:05:49 2017 -0400 # Node ID cfefdb4546a3a38918303ed43447ebe93051de51 # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 run-tests: support per-line c

[PATCH 3 of 3 V2] bundle2: handle long error params on the unbundling side

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491349317 25200 # Tue Apr 04 16:41:57 2017 -0700 # Node ID 52572916e2ae57e92d22d718e469a7c0928e8f5e # Parent 21c811d141254489398a83affa46e066bf2f6b94 bundle2: handle long error params on the unbundling side As the tests establish, the un

[PATCH 1 of 3 V2] bundle2: add separate handling for error part creation

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491348154 25200 # Tue Apr 04 16:22:34 2017 -0700 # Node ID ad6196e3370572b9d0b436ab9d901f26884633f4 # Parent 04ec317b81280c189fcea33a05c8cbbac3c186b1 bundle2: add separate handling for error part creation This will be used in upcoming di

[PATCH 2 of 3 V2] bundle2: use bundleerrorparts for error parts with unbounded parameters

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491349293 25200 # Tue Apr 04 16:41:33 2017 -0700 # Node ID 21c811d141254489398a83affa46e066bf2f6b94 # Parent ad6196e3370572b9d0b436ab9d901f26884633f4 bundle2: use bundleerrorparts for error parts with unbounded parameters Clients do not

Re: [PATCH 2 of 8] tests: quote paths in shell script hooks

2017-04-04 Thread Matt Harbison
On Tue, 04 Apr 2017 13:39:54 -0400, FUJIWARA Katsunori wrote: At Sun, 02 Apr 2017 20:45:58 -0400, Matt Harbison wrote: On Sun, 02 Apr 2017 20:41:29 -0400, Jun Wu wrote: > Excerpts from Matt Harbison's message of 2017-04-02 19:12:48 -0400: >> # HG changeset patch >> # User Matt Harbison >

Re: Hidden Commits in 4.3

2017-04-04 Thread Durham Goode
On 4/4/17 6:11 PM, Durham Goode wrote: There's been a lot of discussion about how to hide and unhide commits lately [0][1], and I feel the complexity of our current approach is hurting our ability to reason about it, making it impossible to make progress. I would like to formally propose a new p

Hidden Commits in 4.3

2017-04-04 Thread Durham Goode
There's been a lot of discussion about how to hide and unhide commits lately [0][1], and I feel the complexity of our current approach is hurting our ability to reason about it, making it impossible to make progress. I would like to formally propose a new pattern for dealing with hidden commi

[PATCH 1 of 3] bundle2: add separate handling for error part creation

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491348154 25200 # Tue Apr 04 16:22:34 2017 -0700 # Node ID 5c84da513a5ff56a973a89631f266c6fcf9b18cd # Parent 04ec317b81280c189fcea33a05c8cbbac3c186b1 bundle2: add separate handling for error part creation This will be used in upcoming di

[PATCH 2 of 3] bundle2: use bundleerrorparts for error parts with unbounded parameters

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491349293 25200 # Tue Apr 04 16:41:33 2017 -0700 # Node ID f31d776ec35686693b3521c07a61ade94e567b9a # Parent 5c84da513a5ff56a973a89631f266c6fcf9b18cd bundle2: use bundleerrorparts for error parts with unbounded parameters Clients do not

[PATCH 3 of 3] bundle2: handle long error params on the unbundling side

2017-04-04 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1491349317 25200 # Tue Apr 04 16:41:57 2017 -0700 # Node ID 0f7eea5bae914c2ec36f004e214a336054287727 # Parent f31d776ec35686693b3521c07a61ade94e567b9a bundle2: handle long error params on the unbundling side As the tests establish, the un

[Bug 5521] New: kwexpand / kwshrink: want a --force option

2017-04-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5521 Bug ID: 5521 Summary: kwexpand / kwshrink: want a --force option Product: Mercurial Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity

[PATCH 1 of 4] patch: make diff in Git mode respect --text option (issue5510)

2017-04-04 Thread Alexander Fomin
# HG changeset patch # User Alexander Fomin # Date 1490992236 25200 # Fri Mar 31 13:30:36 2017 -0700 # Node ID 9be2b4ec19e846d2a95fe801ebe76f83fffd1ea9 # Parent 65969cd351b73228642d1e491e8c78b20d85405a patch: make diff in Git mode respect --text option (issue5510) This changeset makes patch

[PATCH 3 of 4] tests: add tests for --binary option in Git mode

2017-04-04 Thread Alexander Fomin
# HG changeset patch # User Alexander Fomin # Date 1491335167 25200 # Tue Apr 04 12:46:07 2017 -0700 # Node ID 373acf7da1a621607a1cc062b96ad67a42a7e016 # Parent 27515c7e38db9d93e18b7df13149da7c0d88eeb2 tests: add tests for --binary option in Git mode This patch adds some tests to verify cor

[PATCH 4 of 4] hg: make --binary option for Git diffs default to off

2017-04-04 Thread Alexander Fomin
# HG changeset patch # User Alexander Fomin # Date 1491342655 25200 # Tue Apr 04 14:50:55 2017 -0700 # Node ID 76f6cd23643c9816a688a1e12900a6856c5fabf6 # Parent 373acf7da1a621607a1cc062b96ad67a42a7e016 hg: make --binary option for Git diffs default to off This patch makes --binary option de

[PATCH 2 of 4] hg: add --binary option for Git mode diffs

2017-04-04 Thread Alexander Fomin
# HG changeset patch # User Alexander Fomin # Date 1491334100 25200 # Tue Apr 04 12:28:20 2017 -0700 # Node ID 27515c7e38db9d93e18b7df13149da7c0d88eeb2 # Parent 9be2b4ec19e846d2a95fe801ebe76f83fffd1ea9 hg: add --binary option for Git mode diffs This patch adds --binary option to `hg diff` a

Re: Internal-changeset concept

2017-04-04 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, Apr 4, 2017 at 12:06 PM, Jun Wu wrote: > Since most people want a separate hidden storage that handles wider cases, I > don't think this incomplete (internal-only) solution worths investment. I can't say I've followed everything in this long discussion (including the multiple threads), bu

[Bug 5520] New: subrepo: subrepo changes are not listed in commit template

2017-04-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5520 Bug ID: 5520 Summary: subrepo: subrepo changes are not listed in commit template Product: Mercurial Version: default branch Hardware: All OS: All

Re: Internal-changeset concept

2017-04-04 Thread Jun Wu
Since most people want a separate hidden storage that handles wider cases, I don't think this incomplete (internal-only) solution worths investment. Excerpts from Pierre-Yves David's message of 2017-04-04 20:26:29 +0200: > TL;DR; having an internal changeset concept help building simpler UI. > Im

Re: [PATCH 2 of 2 remotefilelog-ext] remotefilelog: explicitly cast from data_offset_t to (s)size_t

2017-04-04 Thread Jun Wu
Pushed. Thanks! Excerpts from Martin von Zweigbergk's message of 2017-04-04 10:32:34 -0700: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1491327121 25200 > # Tue Apr 04 10:32:01 2017 -0700 > # Node ID 44a00c1d4a66c23e11946e311145ee32bb7a0547 > # Parent c6a91402499e92d38297

Re: Internal-changeset concept

2017-04-04 Thread Pierre-Yves David
TL;DR; having an internal changeset concept help building simpler UI. Implementation-wise, phases offer a fitting home for the concept while allow simpler implementation now and later. Moreover, this can be done sooner and independently from other discussions. On 04/03/2017 06:02 PM, Jun Wu wr

[PATCH 2 of 2 remotefilelog-ext] remotefilelog: explicitly cast from data_offset_t to (s)size_t

2017-04-04 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1491327121 25200 # Tue Apr 04 10:32:01 2017 -0700 # Node ID 44a00c1d4a66c23e11946e311145ee32bb7a0547 # Parent c6a91402499e92d3829761521436ead8a42dc2ee remotefilelog: explicitly cast from data_offset_t to (s)size_t data_offset_t is alw

[PATCH 1 of 2 remotefilelog-ext] remotefilelog: don't assign a size_t to an int

2017-04-04 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1491326717 25200 # Tue Apr 04 10:25:17 2017 -0700 # Node ID c6a91402499e92d3829761521436ead8a42dc2ee # Parent e0c13e2aa439be27c87f2e1edce7cfdf44837184 remotefilelog: don't assign a size_t to an int On some platforms, size_t is 64 bits

Re: [PATCH 2 of 8] tests: quote paths in shell script hooks

2017-04-04 Thread FUJIWARA Katsunori
At Sun, 02 Apr 2017 20:45:58 -0400, Matt Harbison wrote: > > On Sun, 02 Apr 2017 20:41:29 -0400, Jun Wu wrote: > > > Excerpts from Matt Harbison's message of 2017-04-02 19:12:48 -0400: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1491074606 14400 > >> # Sat Apr 01 15:23:

Re: GSoC Terse Status

2017-04-04 Thread Kevin Bullock
> On Mar 31, 2017, at 15:51, Andrew J Leonard wrote: > > Hi All, > > My name is Andrew and I am a potential GSoCer. I realize that it is > rapidly becoming last minute here but I am interested in writing a proposal > for the “Add Terse Option to Status” entry on the ideas page. I chatted

[Bug 5519] New: mercurial-selenic.com shoud use evolve version 6.0.0

2017-04-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5519 Bug ID: 5519 Summary: mercurial-selenic.com shoud use evolve version 6.0.0 Product: Mercurial Version: unspecified Hardware: PC OS: Linux Status: UNCONFIRMED

[PATCH] update: add a hint when aborting for uncommitted changes

2017-04-04 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1491225382 -7200 # Mon Apr 03 15:16:22 2017 +0200 # Node ID 32116e1ad0d93b48d344f317899b974628310850 # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 # EXP-Topic update.mergehint # Available At https://www.mercurial-scm.org/repo/users/mar

[PATCH 2 of 4] templater: remove __iter__() from _hybrid, resolve it explicitly

2017-04-04 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491311942 -32400 # Tue Apr 04 22:19:02 2017 +0900 # Node ID 1c90b99b7e835b4f8d65329170a4830370ab2f04 # Parent 41891582b5c66541a40147e30e55153b6a0f2d79 templater: remove __iter__() from _hybrid, resolve it explicitly The goal is to fix "{hyb

[PATCH 3 of 4] templater: hide private variable of _hybrid

2017-04-04 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491312006 -32400 # Tue Apr 04 22:20:06 2017 +0900 # Node ID a78c9de39862cd089aaddd9536902c7c52dfe1e6 # Parent 1c90b99b7e835b4f8d65329170a4830370ab2f04 templater: hide private variable of _hybrid diff --git a/mercurial/templatekw.py b/mercur

[PATCH 4 of 4] templater: make _hybrid provide more list/dict-like methods

2017-04-04 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491312719 -32400 # Tue Apr 04 22:31:59 2017 +0900 # Node ID 236441d523b03a227a0562497cbd060f795d3e13 # Parent a78c9de39862cd089aaddd9536902c7c52dfe1e6 templater: make _hybrid provide more list/dict-like methods So the JSON filter works. di

[PATCH 1 of 4] templater: rewrite doc of _hybrid class as docstring

2017-04-04 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1461492934 -32400 # Sun Apr 24 19:15:34 2016 +0900 # Node ID 41891582b5c66541a40147e30e55153b6a0f2d79 # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 templater: rewrite doc of _hybrid class as docstring diff --git a/mercurial/templatekw.py

[PATCH] py3: have registrar process docstrings in bytes

2017-04-04 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491320098 -32400 # Wed Apr 05 00:34:58 2017 +0900 # Node ID de8d9a4ba73002af9d2992a15e0a196c2fcaf217 # Parent 07edd8c2f59a8f19283d038ea3af5fa5532bd6dc py3: have registrar process docstrings in bytes Mixing bytes and unicode creates a mess.

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

2017-04-04 Thread Yuya Nishihara
On Mon, 3 Apr 2017 13:20:45 -0700, Jun Wu wrote: > Excerpts from Martin von Zweigbergk's message of 2017-04-03 18:41:48 +: > > Sounds good. Will you send a patch? > > I actually tried that before the current fix. But it's not that trivial > because of interaction with "progess", and "hardlink"

Re: [PATCH] hgweb: prefix line id by ctx shortnode in filelog when patches are shown

2017-04-04 Thread Yuya Nishihara
On Mon, 3 Apr 2017 12:42:01 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > On Fri, Mar 31, 2017 at 1:55 AM, Denis Laxalde wrote: > > # HG changeset patch > > # User Denis Laxalde > > # Date 1490902810 -7200 > > # Thu Mar 30 21:40:10 2017 +0200 > > # Node ID 7ae1cc7ae6c50a037525f2

[PATCH 1 of 2] repo: fix deprecation version for 'repo.join'

2017-04-04 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1491317338 -7200 # Tue Apr 04 16:48:58 2017 +0200 # Node ID 1efd0a70a0c9a185d3f6de6030a37608a9a8dbd5 # Parent 04ec317b81280c189fcea33a05c8cbbac3c186b1 # EXP-Topic vfs.cleanup # Available At https://www.mercurial-scm.org/repo/users/marmoute

[PATCH 2 of 2] repo: fix deprecation version for 'repo._link'

2017-04-04 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1491317352 -7200 # Tue Apr 04 16:49:12 2017 +0200 # Node ID 9b811fe9dc445d35cb25cad5c3250d3011f233f8 # Parent 1efd0a70a0c9a185d3f6de6030a37608a9a8dbd5 # EXP-Topic vfs.cleanup # Available At https://www.mercurial-scm.org/repo/users/marmoute

Re: [PATCH] tests: make zstd-related output optional

2017-04-04 Thread Yuya Nishihara
On Mon, 03 Apr 2017 19:45:23 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1491263109 14400 > # Mon Apr 03 19:45:09 2017 -0400 > # Node ID 3629f36bc6b9c5f44e5d9b4e0a8aaa55f6063a51 > # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 > tests: make zstd-rela

Re: [PATCH] util: fix %-formatting on docstring by moving a closing parenthesis

2017-04-04 Thread Yuya Nishihara
On Mon, 03 Apr 2017 19:04:02 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1491260614 14400 > # Mon Apr 03 19:03:34 2017 -0400 > # Node ID 8fae383fd416907579de2066e084219a53339dc3 > # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 > util: fix %-formattin

Re: [PATCH 1 of 5] tests: fix missing (glob) annotations in test-bundle2-exchange.t

2017-04-04 Thread Yuya Nishihara
On Mon, 03 Apr 2017 18:58:13 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1491260155 14400 > # Mon Apr 03 18:55:55 2017 -0400 > # Node ID 85703af3192aeb0ddbe5d78f880c84eaf926e64c > # Parent 81abd0d12c8641df666d356f6033d84cd55977a8 > tests: fix missing (g

Re: [PATCH 4 of 4 NEW-CONCEPT] track-tags: write all tag changes to a file

2017-04-04 Thread Pierre-Yves David
On 04/03/2017 10:50 PM, Augie Fackler wrote: On Thu, Mar 30, 2017 at 05:03:42PM +0200, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1490688902 -7200 # Tue Mar 28 10:15:02 2017 +0200 # Node ID 46005886092380991a30c2a02486c2876ecac341 # Parent 2dcaa99d6160

[PATCH 2 of 2 V2] vfs: deprecate all old classes in scmutil

2017-04-04 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1491222098 -7200 # Mon Apr 03 14:21:38 2017 +0200 # Node ID 3b21e4220481269157fe804e2a91cbe973f240a0 # Parent 3992b843a7832bf23f2430dc2308907d1f5ba7f9 # EXP-Topic vfs.cleanup # Available At https://www.mercurial-scm.org/repo/users/marmoute

[PATCH 1 of 2 V2] util: add a way to issue deprecation warning without a UI object

2017-04-04 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1491296609 -7200 # Tue Apr 04 11:03:29 2017 +0200 # Node ID 3992b843a7832bf23f2430dc2308907d1f5ba7f9 # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 # EXP-Topic vfs.cleanup # Available At https://www.mercurial-scm.org/repo/users/marmoute

Re: bundle2: error parts can exceed length limits and crash the server

2017-04-04 Thread Pierre-Yves David
On 04/04/2017 06:13 AM, Siddharth Agarwal wrote: On 4/3/17 20:54, Gregory Szorc wrote: On Mon, Apr 3, 2017 at 8:51 PM, Siddharth Agarwal mailto:s...@less-broken.com>> wrote: On 4/3/17 20:48, Gregory Szorc wrote: This sounds reasonable to me. This will likely require a n

Re: [PATCH 1 of 3] test-runner: set an environment variable to informs test are running

2017-04-04 Thread Pierre-Yves David
On 04/03/2017 10:41 PM, Augie Fackler wrote: On Mon, Apr 03, 2017 at 03:03:57PM +0200, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1491222747 -7200 # Mon Apr 03 14:32:27 2017 +0200 # Node ID e219af4bf3d4f6b7b3b634db1f7af8eaa524c4c1 # Parent 2632df096fc0ac