Re: [PATCH 05 of 12 topics] flake8: fix W503 style

2016-08-30 Thread Anton Shestakov
On Tue, 30 Aug 2016 20:58:11 -0700 Sean Farley wrote: > # HG changeset patch > # User Sean Farley > # Date 1472595240 25200 > # Tue Aug 30 15:14:00 2016 -0700 > # Node ID 752a62b50ba31b768c52c6b423cd1a36d0c6eae2 > # Parent

Re: [PATCH 09 of 12 topics] flake8: fix E501 style

2016-08-30 Thread Anton Shestakov
On Tue, 30 Aug 2016 20:58:15 -0700 Sean Farley wrote: > diff --git a/hgext3rd/topic/evolvebits.py b/hgext3rd/topic/evolvebits.py > --- a/hgext3rd/topic/evolvebits.py > +++ b/hgext3rd/topic/evolvebits.py > @@ -40,14 +40,13 @@ def _orderrevs(repo, revs): > > def

Re: [PATCH 8 of 8 v2] help: mark boolean flags with a ^ and explain that they can be negated (RFC)

2016-08-30 Thread timeless
In principle you shouldn't use multi occur to guard this. if multioccur: -header += (_(" ([+] can be repeated)")) +m = _( +" ([+] can be repeated, flags marked ^ can be negated with --no-)") +header += (m) It's too hard for me you write the correct logic

Re: [PATCH 12 of 12 topics] flake8: fix E124 style

2016-08-30 Thread Sean Farley
Sean Farley writes: > # HG changeset patch > # User Sean Farley > # Date 1472595848 25200 > # Tue Aug 30 15:24:08 2016 -0700 > # Node ID c0064f048058b35713d7262b578a7fa5e216f195 > # Parent b579ff9e41931a26ded12b409925d0fa40d9b05d > # EXP-Topic flake8 >

[PATCH 09 of 12 topics] flake8: fix E501 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595675 25200 # Tue Aug 30 15:21:15 2016 -0700 # Node ID 4f3c71461d1b799bb26a4409d22eb6a458cb9d44 # Parent fbceb43849d91459925dabb8c5f1683744ec320b # EXP-Topic flake8 flake8: fix E501 style My favorite of them all. diff

[PATCH 11 of 12 topics] flake8: fix E713 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595783 25200 # Tue Aug 30 15:23:03 2016 -0700 # Node ID b579ff9e41931a26ded12b409925d0fa40d9b05d # Parent b4d2daf39a825e02d0afcd62471b1e6c2d6b2b84 # EXP-Topic flake8 flake8: fix E713 style diff --git

[PATCH 10 of 12 topics] flake8: fix E301 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595744 25200 # Tue Aug 30 15:22:24 2016 -0700 # Node ID b4d2daf39a825e02d0afcd62471b1e6c2d6b2b84 # Parent 4f3c71461d1b799bb26a4409d22eb6a458cb9d44 # EXP-Topic flake8 flake8: fix E301 style diff --git

[PATCH 04 of 12 topics] flake8: fix W391 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472591569 25200 # Tue Aug 30 14:12:49 2016 -0700 # Node ID 8f1e18702ba107ffcb35be04dc8a1e650e5c1e7f # Parent a6f4b32f655ba895875640534b051c5ebe632695 # EXP-Topic flake8 flake8: fix W391 style diff --git

[PATCH 02 of 12 topics] tests: add flake8 check

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472591136 25200 # Tue Aug 30 14:05:36 2016 -0700 # Node ID 78dd9f1db1b1cf5a869e1240bb4ed523e930c907 # Parent 103df0c9da1af239431530cd44eec1826d411f0a # EXP-Topic flake8 tests: add flake8 check This test will hopefully help

[PATCH 08 of 12 topics] flake8: fix E111 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595523 25200 # Tue Aug 30 15:18:43 2016 -0700 # Node ID fbceb43849d91459925dabb8c5f1683744ec320b # Parent 8eb5de0920f5dce2fbf4d511b73ea6bcc7d6fe8e # EXP-Topic flake8 flake8: fix E111 style OFF BY ONE ERRORS ARE THE WORST

[PATCH 05 of 12 topics] flake8: fix W503 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595240 25200 # Tue Aug 30 15:14:00 2016 -0700 # Node ID 752a62b50ba31b768c52c6b423cd1a36d0c6eae2 # Parent 8f1e18702ba107ffcb35be04dc8a1e650e5c1e7f # EXP-Topic flake8 flake8: fix W503 style diff --git

[PATCH 07 of 12 topics] flake8: fix E123 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595476 25200 # Tue Aug 30 15:17:56 2016 -0700 # Node ID 8eb5de0920f5dce2fbf4d511b73ea6bcc7d6fe8e # Parent e32ae663d1dcbcd21bcce74e58ddfdf8dcc7368c # EXP-Topic flake8 flake8: fix E123 style diff --git

[PATCH 06 of 12 topics] flake8: fix E222 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472595305 25200 # Tue Aug 30 15:15:05 2016 -0700 # Node ID e32ae663d1dcbcd21bcce74e58ddfdf8dcc7368c # Parent 752a62b50ba31b768c52c6b423cd1a36d0c6eae2 # EXP-Topic flake8 flake8: fix E222 style diff --git

[PATCH 03 of 12 topics] flake8: fix E127 style

2016-08-30 Thread Sean Farley
# HG changeset patch # User Sean Farley # Date 1472591416 25200 # Tue Aug 30 14:10:16 2016 -0700 # Node ID a6f4b32f655ba895875640534b051c5ebe632695 # Parent 78dd9f1db1b1cf5a869e1240bb4ed523e930c907 # EXP-Topic flake8 flake8: fix E127 style diff --git

[PATCH 1 of 4] manifest: add treemanifestctx class

2016-08-30 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1472518307 25200 # Mon Aug 29 17:51:47 2016 -0700 # Node ID a6f968072eb72212bf8e16fb74114654aca98330 # Parent 318e2b600b80e4ed3c6f37df46ec7544f60d4c0b manifest: add treemanifestctx class Before we start using repo.manifestlog

[PATCH 4 of 4] manifest: change manifestctx to not inherit from manifestdict

2016-08-30 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1472519937 25200 # Mon Aug 29 18:18:57 2016 -0700 # Node ID 8076d529408e977951286dbd58e81066f97a9b8d # Parent 4b26b5cd815a717ee0ee930f4deef0959ef7c492 manifest: change manifestctx to not inherit from manifestdict If manifestctx

Re: [PATCH V2] dirstate: rebuild should update dirstate properly

2016-08-30 Thread Matt Mackall
On Tue, 2016-08-30 at 15:17 -0700, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1472595388 25200 > #  Tue Aug 30 15:16:28 2016 -0700 > # Node ID aff2b9911d78a3d427e3ba18a565e76215971948 > # Parent  12f8bef59bfa2739d0c5d8425ab494fd2fe38a81 >

[PATCH V2] dirstate: rebuild should update dirstate properly

2016-08-30 Thread Mateusz Kwapich
# HG changeset patch # User Mateusz Kwapich # Date 1472595388 25200 # Tue Aug 30 15:16:28 2016 -0700 # Node ID aff2b9911d78a3d427e3ba18a565e76215971948 # Parent 12f8bef59bfa2739d0c5d8425ab494fd2fe38a81 dirstate: rebuild should update dirstate properly Updating dirstate by

Re: [PATCH 2 of 3] debugextensions: show raw testedwith value (BC)

2016-08-30 Thread Augie Fackler
On Wed, Aug 31, 2016 at 12:10:13AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1472221877 -32400 > # Fri Aug 26 23:31:17 2016 +0900 > # Node ID 8bae198823d55c18e640f22df8c8ef89f50fd998 > # Parent

Re: [PATCH] formatter: add context manager interface for convenience

2016-08-30 Thread Augie Fackler
On Wed, Aug 31, 2016 at 12:05:58AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1472396405 -32400 > # Mon Aug 29 00:00:05 2016 +0900 > # Node ID 41fea255bd1cda8d0f482b2582aec8a29f86c303 > # Parent

[PATCH 3 of 8 v2] rebase: cope with the notion that flag defaults might be None

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1472585699 14400 # Tue Aug 30 15:34:59 2016 -0400 # Node ID 69d84366fa224f5dedfdd18a9f5e2413060a8121 # Parent e88fe4eb4e8cc3c956ed50b35744a585d51a0e18 rebase: cope with the notion that flag defaults might be None diff --git

[PATCH 2 of 8 v2] fancyopts: disallow true as a boolean flag default (API)

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1472584421 14400 # Tue Aug 30 15:13:41 2016 -0400 # Node ID e88fe4eb4e8cc3c956ed50b35744a585d51a0e18 # Parent 4f76e8b136581d750cf98395ea8034dbb9666b96 fancyopts: disallow true as a boolean flag default (API) This was

[PATCH 5 of 8 v2] fancyopts: notice default of false and rewrite it to None (API)

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1472583470 14400 # Tue Aug 30 14:57:50 2016 -0400 # Node ID 120b94374a1226a152e46f42df00bcc477f38240 # Parent c65c0181a9885d3c95e808272c2f609c3a9c8749 fancyopts: notice default of false and rewrite it to None (API) This

[PATCH 8 of 8 v2] help: mark boolean flags with a ^ and explain that they can be negated (RFC)

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 147258 14400 # Tue Aug 30 15:14:04 2016 -0400 # Node ID 5efc13a760938ff5fd8e4553dd8e06d06b98025b # Parent fd68fb86c29873eb32c4a2bd28f7ac0abe3dc172 help: mark boolean flags with a ^ and explain that they can be negated

[PATCH 1 of 8 v2] flags: allow specifying --no-boolean-flag on the command line (BC)

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1472586362 14400 # Tue Aug 30 15:46:02 2016 -0400 # Node ID 4f76e8b136581d750cf98395ea8034dbb9666b96 # Parent 12f8bef59bfa2739d0c5d8425ab494fd2fe38a81 flags: allow specifying --no-boolean-flag on the command line (BC) This

Re: [PATCH] update: do not remove cwd

2016-08-30 Thread Stanislau Hlebik
Makes sense. But Durham's idea about warning seems legit. When i ran into this problem when doing 'hg split', i spent a few minutes figuring out where the problem came from. If i had warning like 'your cwd was deleted; if it causes problems go to the root' i'd found the solution sooner. Sent

Re: [PATCH] update: do not remove cwd

2016-08-30 Thread Matt Mackall
On Mon, 2016-08-29 at 11:50 -0700, Stanislau Hlebik wrote: > # HG changeset patch > # User Stanislau Hlebik > # Date 1472496038 25200 > #  Mon Aug 29 11:40:38 2016 -0700 > # Node ID e1962781ce84040746ef79c0084b8fd70cfcd4b4 > # Parent  318e2b600b80e4ed3c6f37df46ec7544f60d4c0b >

[Bug 5355] New: interactive record failed with abort patch failed to apply

2016-08-30 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5355 Bug ID: 5355 Summary: interactive record failed with abort patch failed to apply Product: Mercurial Version: unspecified Hardware: PC OS: Linux

Re: [PATCH] update: do not remove cwd

2016-08-30 Thread Stanislau Hlebik
Yes, but it will help users of histedit, split etc. Maybe we can even combine warning and restoring cwd. Sent from Samsung Mobile on O2 Original message From: Augie Fackler Date: 30/08/2016 18:51 (GMT+00:00) To: Stanislau Hlebik Cc: Durham

Re: [PATCH] update: do not remove cwd

2016-08-30 Thread Stanislau Hlebik
Yeap, Augie already noted it. Warning is probably fine (it’s better than nothing). Another option is to try to save cwd before update and try to restore it after. On 8/30/16, 5:45 PM, "Durham Goode" wrote: On 8/29/16 11:50 AM, Stanislau Hlebik wrote: > # HG

Re: [PATCH] formatter: add context manager interface for convenience

2016-08-30 Thread David Soria Parra
On Wed, Aug 31, 2016 at 12:05:58AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1472396405 -32400 > # Mon Aug 29 00:00:05 2016 +0900 > # Node ID 41fea255bd1cda8d0f482b2582aec8a29f86c303 > # Parent

[PATCH] histedit: correct output of error when 'base' is from the edit list

2016-08-30 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1472577230 14400 # Tue Aug 30 13:13:50 2016 -0400 # Node ID 4e6fc4921eca722aa5c7967408d93ca3c59b1593 # Parent 12f8bef59bfa2739d0c5d8425ab494fd2fe38a81 histedit: correct output of error when 'base' is from the edit list This

Re: [PATCH 8 of 8 cleanup] histedit: remove now unused 'constraints' related code

2016-08-30 Thread Augie Fackler
On Fri, Aug 26, 2016 at 09:35:33PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1472238391 -7200 > # Fri Aug 26 21:06:31 2016 +0200 > # Node ID 7366faf468f2eb037ea1ce4ef9919786a564bf9d > # Parent

Re: [PATCH] test-gpg: start gpg-agent by gpg-connect-agent only if GnuPG v2.1+ detected

2016-08-30 Thread Augie Fackler
On Mon, Aug 29, 2016 at 11:57:37PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1472479179 -32400 > # Mon Aug 29 22:59:39 2016 +0900 > # Node ID eee93fb483588ed1f0ff26898e06cb3713d2afa4 > # Parent

Re: [PATCH] update: do not remove cwd

2016-08-30 Thread Augie Fackler
On Mon, Aug 29, 2016 at 11:50:28AM -0700, Stanislau Hlebik wrote: > # HG changeset patch > # User Stanislau Hlebik > # Date 1472496038 25200 > # Mon Aug 29 11:40:38 2016 -0700 > # Node ID e1962781ce84040746ef79c0084b8fd70cfcd4b4 > # Parent

[PATCH] formatter: add context manager interface for convenience

2016-08-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1472396405 -32400 # Mon Aug 29 00:00:05 2016 +0900 # Node ID 41fea255bd1cda8d0f482b2582aec8a29f86c303 # Parent 90af59b40d8a007fb8811daf0c3e64aca43aa6b0 formatter: add context manager interface for convenience And port "hg

[PATCH 3 of 3] version: change "place" field of extension to "bundled" flag

2016-08-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 147332 -32400 # Fri Aug 26 23:38:52 2016 +0900 # Node ID 88a3a36023ed943455d4663583531d7f63aa9521 # Parent 8bae198823d55c18e640f22df8c8ef89f50fd998 version: change "place" field of extension to "bundled" flag The name

Re: [PATCH 3 of 3] commands: add template support for config

2016-08-30 Thread Yuya Nishihara
On Mon, 29 Aug 2016 12:52:43 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1472447235 -7200 > # Mon Aug 29 07:07:15 2016 +0200 > # Node ID dd7b8ff51af615e1a44d32b103d23e8cd34d5dd9 > # Parent

Re: [PATCH 2 of 3] formatter: add specific check for plain formatting

2016-08-30 Thread Yuya Nishihara
On Mon, 29 Aug 2016 12:52:42 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1472483949 -7200 > # Mon Aug 29 17:19:09 2016 +0200 > # Node ID e348c87b33d73a590bee53b74def915b1ce8c6fe > # Parent

Re: [PATCH 1 of 3] formatter: add support for functions in json

2016-08-30 Thread Yuya Nishihara
On Mon, 29 Aug 2016 12:52:41 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1472483920 -7200 > # Mon Aug 29 17:18:40 2016 +0200 > # Node ID fb88d0c87c2746bd84983f1005ed83276c6e9c68 > # Parent

mercurial@29847: new changeset (1 on stable)

2016-08-30 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: http://selenic.com/repo/hg//rev/9a9629b9416c changeset: 29847:9a9629b9416c branch: stable tag: tip parent: 29766:5004ef47f437 user:Gregory Szorc date:Thu Aug 25 19:53:14 2016 -0700 summary: