Thu, 16 Mar 2017 09:00:27 +0530 dirstate: use list comprehension to get a list of keys
Pulkit Goyal <7895pulkit@gmail.com> [Thu, 16 Mar 2017 09:00:27 +0530] rev 31431
dirstate: use list comprehension to get a list of keys We have used dict.keys() which returns a dict_keys() object instead of list on Python 3. So this patch replaces that with list comprehension which works both on Python 2 and 3.
Thu, 16 Mar 2017 08:03:51 +0530 match: slice over bytes to get the byteschr instead of ascii value
Pulkit Goyal <7895pulkit@gmail.com> [Thu, 16 Mar 2017 08:03:51 +0530] rev 31430
match: slice over bytes to get the byteschr instead of ascii value
Thu, 16 Mar 2017 07:52:47 +0530 match: make regular expression bytes to prevent TypeError
Pulkit Goyal <7895pulkit@gmail.com> [Thu, 16 Mar 2017 07:52:47 +0530] rev 31429
match: make regular expression bytes to prevent TypeError
Thu, 16 Mar 2017 06:32:33 +0530 scmutil: make function name bytes in class filecache
Pulkit Goyal <7895pulkit@gmail.com> [Thu, 16 Mar 2017 06:32:33 +0530] rev 31428
scmutil: make function name bytes in class filecache func.__name__ returns unicodes and this leads to keyerror when we try to do filecache[''] by passing bytes.
Wed, 15 Mar 2017 00:27:17 -0700 localrepo: deprecate 'wfile'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 15 Mar 2017 00:27:17 -0700] rev 31427
localrepo: deprecate 'wfile' The method had very few users and the modern form is shorter. So let us deprecates another method of the localrepo class.
Wed, 15 Mar 2017 00:31:59 -0700 eol: use 'wvfs' instead of 'wfile'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 15 Mar 2017 00:31:59 -0700] rev 31426
eol: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
Wed, 15 Mar 2017 00:29:09 -0700 localrepo: use 'wvfs' instead of 'wfile'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 15 Mar 2017 00:29:09 -0700] rev 31425
localrepo: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
Wed, 15 Mar 2017 00:28:58 -0700 tagmerge: use 'wvfs' instead of 'wfile'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 15 Mar 2017 00:28:58 -0700] rev 31424
tagmerge: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
Wed, 15 Mar 2017 00:28:21 -0700 gpg: use 'wvfs' instead of 'wfile'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 15 Mar 2017 00:28:21 -0700] rev 31423
gpg: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
Wed, 28 Dec 2016 23:42:50 +0100 test: add a basic 'test-check-pylint.t'
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Wed, 28 Dec 2016 23:42:50 +0100] rev 31422
test: add a basic 'test-check-pylint.t' We add a minimal check using pylint for one case we knows we care about: "mutable default" argument. We'll likely extend this over time to cover other useful checks but this is a good starting point.
Tue, 14 Mar 2017 23:50:07 -0700 localrepo: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:50:07 -0700] rev 31421
localrepo: don't use mutable default argument value Caught by pylint.
Tue, 14 Mar 2017 23:49:25 -0700 httpclient: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:49:25 -0700] rev 31420
httpclient: don't use mutable default argument value Caught by pylint.
Tue, 14 Mar 2017 23:49:10 -0700 largefiles: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:49:10 -0700] rev 31419
largefiles: don't use mutable default argument value Caught by pylint.
Tue, 14 Mar 2017 23:48:25 -0700 hgk: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:48:25 -0700] rev 31418
hgk: don't use mutable default argument value Caught by pylint.
Tue, 14 Mar 2017 23:48:08 -0700 convert: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:48:08 -0700] rev 31417
convert: don't use mutable default argument value Caught by pylint.
Tue, 14 Mar 2017 23:46:48 -0700 mq: don't use mutable default argument value
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Tue, 14 Mar 2017 23:46:48 -0700] rev 31416
mq: don't use mutable default argument value Caught by pylint.
(0) -30000 -10000 -3000 -1000 -300 -100 -16 +16 +100 +300 +1000 +3000 +10000 tip