This is an archive of the discontinued Mercurial Phabricator instance.

py3: add __pycache__ to .hgignore
ClosedPublic

Authored by pulkit on Oct 12 2018, 10:22 PM.

Details

Summary

Something changed with Python 3 just like million on things. Maybe they should
named Python 3 as anaconda or cobra instead of just increasing the version
number.

This makes test-custom-filters.t pass on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Oct 12 2018, 10:22 PM
yuja added a subscriber: yuja.Oct 13 2018, 12:48 AM
  • a/tests/test-custom-filters.t

+++ b/tests/test-custom-filters.t
@@ -52,6 +52,7 @@

$ echo "Very very carefully." >> stuff.txt
$ hg stat
M stuff.txt

+ ? __pycache__/prefix.cpython-3*.pyc (glob) (py3k !)

It's probably better to add __pycache__ to .hgignore as we do for
prefix.py[c].

durin42 requested changes to this revision.Oct 13 2018, 9:21 AM
durin42 added a subscriber: durin42.
In D5039#75559, @yuja wrote:
  • a/tests/test-custom-filters.t

+++ b/tests/test-custom-filters.t
@@ -52,6 +52,7 @@

$ echo "Very very carefully." >> stuff.txt
$ hg stat
M stuff.txt

+ ? __pycache__/prefix.cpython-3*.pyc (glob) (py3k !)

It's probably better to add __pycache__ to .hgignore as we do for
prefix.py[c].

+1

This revision now requires changes to proceed.Oct 13 2018, 9:21 AM
pulkit retitled this revision from py3: add more py3 specific output to test to py3: add __pycache__ to .hgignore.Nov 13 2018, 8:15 AM
pulkit updated this revision to Diff 12514.
This revision was automatically updated to reflect the committed changes.