Mercurial > hg
annotate MANIFEST.in @ 2735:07026da25ed8
hbisect.py: don't rely on __del__ to write the current state.
This is yet another page of the "Thou shalt not do too much inside
__del__ methods" book, in the "demandload and __del__ don't go well
together" chapter.
The bisect extension is broken in 0.9.1:
$ hg bisect init
$ hg bisect bad
Fatal Python error: Interpreter not initialized (version mismatch?)
Aborted
(yes, I tripled checked my instalation to make sure the problem is not
there)
It's been broken since revision fe1689273f84 moved the import of the
binascii module into a demandload.
(In details: the first time that "hg bisect bad" (or good) is called,
there are still no revisions saved in .hg/bisect/*, so bisect.__init__
doesn't call hg.bin on anything. So, when we reach __del__, the
binascii module still hasn't been imported and we get that "nice"
message above.)
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 28 Jul 2006 21:20:41 -0300 |
parents | e9ecc45795e8 |
children | 7a3edd3f7c3e |
rev | line source |
---|---|
7 | 1 include hg |
2 recursive-include mercurial *.py | |
954 | 3 include hgweb.cgi hgwebdir.cgi |
589 | 4 include hgeditor rewrite-log |
2669
b013c9daae69
Include all tests/*.py files in the MANIFEST so tests won't fail on tarballs.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
2665
diff
changeset
|
5 include tests/README tests/*.py tests/test-*[a-z0-9] tests/*.out |
805
ec7107c5d8ad
Drop .err files generated by failed tests from the MANIFEST.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
740
diff
changeset
|
6 prune tests/*.err |
7 | 7 include *.txt |
807
5e779f96edb0
Include tests (or possibly maps) ending in numbers in MANIFEST, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
806
diff
changeset
|
8 include templates/map templates/map-*[a-z0-9] |
188 | 9 include templates/*.tmpl |
1992
ea8345a7a29d
Include templates/static/* in MANIFEST.in so that distutils setup will include them.
Lee Cantey <lcantey@gmail.com>
parents:
1021
diff
changeset
|
10 include templates/static/* |
2055
bd94dda70bbe
Added doc/gendoc.py to MANIFEST.in, so docs can be regenerated on demand.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
2053
diff
changeset
|
11 include doc/README doc/Makefile doc/gendoc.py doc/*.txt doc/*.html doc/*.[0-9] |
673
8e518e11f6cf
Change MANIFEST.in to recursive-include the contrib/ folder.
Andrew Thompson <andrewkt@aktzero.com>
parents:
589
diff
changeset
|
12 recursive-include contrib * |
2689
489c3bacce96
MANIFEST.in fixes
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2210
diff
changeset
|
13 recursive-include hgext * |
7 | 14 include README |
589 | 15 include CONTRIBUTORS |
16 include COPYING | |
1021 | 17 include Makefile |
589 | 18 include MANIFEST.in |
2665
2efcd2b4c9fe
prune unwanted files from MANIFEST (backups, object files, etc)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2210
diff
changeset
|
19 prune *.elc *.orig *.rej *~ *.o *.so *.pyc *.swp *.prof |