Mercurial > hg > mercurial-crew-with-dirclash
annotate MANIFEST.in @ 2328:f789602ba840
hgweb.manifest: revno of manifest and changelog aren't always the same
In the v4l-dvb repo, the manifest revno and the changelog revno are not
in sync. This happened because the same patch was applied to the same
revision in two different branches, resulting in the same manifest text,
with the same parents and so the first revision was reused.
Since hgweb.manifest was assuming the revnos of the manifest and of the
changelog were always the same, clicking on manifest -> bz2 in the
v4l-dvb site would download the wrong revision.
Use the linkrev to go from manifest revision to changelog revision.
This still won't be perfect since the page will still talk about
"manifest for changeset XYZ", where XYZ was the first changeset to have
this manifest, which is not necessarily the same changeset that the user
clicked to get to this page - but at least the contents will be the
same.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 20 May 2006 15:34:19 -0300 |
parents | 1ec3bd7efcfe |
children | 2efcd2b4c9fe 489c3bacce96 |
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 |
2210
1ec3bd7efcfe
add tests/coverage.py to MANIFEST.in.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
2207
diff
changeset
|
5 include tests/README tests/coverage.py tests/run-tests.py tests/md5sum.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 * |
7 | 13 include README |
589 | 14 include CONTRIBUTORS |
15 include COPYING | |
1021 | 16 include Makefile |
589 | 17 include MANIFEST.in |