Commit Graph

58 Commits

Author SHA1 Message Date
mpm@selenic.com
593e1b0cbe [PATCH] Get "hg serve" to print the URL being served
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Get "hg serve" to print the URL being served

From: Bryan O'Sullivan <bos@serpentine.com>

If invoked with verbosity, print the URL at which we are serving.

Useful if you bind to any port with "-p 0", and need to know what port
the server is listening on.

manifest hash: d317225606fbd2ec5819e1f266575b0485dfba79
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyL9hywK+sNU5EO8RAjFQAJoDBRl5VoGIklxA1PdFGCt8Jb3iMQCeILeD
XAwnnSCy/IQ/MDfYf6z7oWI=
=FNVC
-----END PGP SIGNATURE-----
2005-07-03 20:47:29 -08:00
mpm@selenic.com
bf1b300c82 Add globals to templater/fixup RSS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add globals to templater/fixup RSS

This removes a bunch of duplicate header() and footer() bits and makes
url and reponame available to all templates.

Fix up RSS bits to use url
Fix strftime call

manifest hash: 63e616e4c7f517a630d80429336817d64e900b68
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyLlRywK+sNU5EO8RAj9IAJkBDzMQaOwRmF0q8tRmVRnzHCjShACfSTCj
dbfAWg1crv/mUuRZlWL6Tc4=
=Z331
-----END PGP SIGNATURE-----
2005-07-03 20:21:37 -08:00
mpm@selenic.com
8f2da8b8ee Simplify RSS date generation
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simplify RSS date generation

manifest hash: 3b1628aaee450c292949f6d079b4a05ccb5ce6ab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyLatywK+sNU5EO8RAiLMAKCqYFyzSDCU6Wm34LSWZroAHMqa4QCfSWv6
jh/vvuQS0qmXybm6Ivd7XVY=
=x1Rf
-----END PGP SIGNATURE-----
2005-07-03 20:10:21 -08:00
mpm@selenic.com
f1ebc0d231 [PATCH] Add RSS support to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Add RSS support to hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

with the two small patches below, now hgweb can act as feed source.
Two kinds ofobjects can be tracked: the changelong and the files. This
can be useful if anyone would track the changes of a file ( and
because git has it, mercurial have to has ).

To check the changelog the url is
http://127.0.0.1:8000/pippo.pluto?cmd=changelog;style=rss

To check a file ( the mercurial/hgweb.py for examples ) the url is
http://127.0.0.1:8000/?cmd=filelog;file=mercurial/hgweb.py;filenode=0;style=rss

The first patch adds a new filter for the template: the filter is
named rfc822date, and translates the date from the touple format to a
rfc822 style date. The second patch adds the templates needed to
create the rss pages.

Tested with akgregator ( kde ).

[tweaked by mpm:

 add Content-type: text/xml
 add support for URL to header()
 add header with link and content type
 add RSS links on the normal pages]

manifest hash: 170c03d50490d7160097f59abdde1a5073d2ba82
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyFmLywK+sNU5EO8RApkrAKCYF/vZ3DwdMXPBds2LxGEX8+tK5QCfTeOc
ZhPN8Xjt2cD3wMbNXMcoNSo=
=COlM
-----END PGP SIGNATURE-----
2005-07-03 13:32:59 -08:00
mpm@selenic.com
4acd72ad9f [PATCH 4/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 4/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

Now the patch remove every use of the tag p1/p2/p1rev/p2rev from the
code ( even+the ones not used ), replacing everywhere with the tag
parent ( even where the previous +tag are not use ), so the
information to the templates is still given.

manifest hash: ede1f299e9201fdad2ecf48e63314350acbb047e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyEqxywK+sNU5EO8RAjc5AJ9o8AU6/YRuERblO/0kgWwDN4rqQQCgkVj/
UBtzW5x0yD65mK6rb4f+bQk=
=07yG
-----END PGP SIGNATURE-----
2005-07-03 12:29:37 -08:00
mpm@selenic.com
4394004b4a Remove all remaining print statements
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove all remaining print statements

Convert most prints to ui.warn or ui.write
Pass a write function into transactions

manifest hash: d1b0af7a344fc087a5acfe3ae87b782c20d043e0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1Q3ywK+sNU5EO8RAqSTAJwM5t/m+JOlf2ZXOjuItCSdFiubcwCdFm3G
HoicikSYpTgfCj2pIRfyLjo=
=Loqo
-----END PGP SIGNATURE-----
2005-07-02 18:57:59 -08:00
mpm@selenic.com
40aeb3c129 More whitespace cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

More whitespace cleanups

manifest hash: 6721a7b11295e0127386b080fd7a7b516ebced74
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxwm/ywK+sNU5EO8RAnl+AKCg/7ZCW7zIoG0nefksZzgLzgNmFACgnAFz
ZkW0LyZcU/hkFgXoGwo7ktk=
=AW+0
-----END PGP SIGNATURE-----
2005-07-02 13:40:15 -08:00
mpm@selenic.com
3398c7e9ff [PATCH 5/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 5/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

remove the unused function hgweb.parent()

manifest hash: cd5a8812bc0ecbefb2e9e007f6e2bad12cd9e485
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxv0BywK+sNU5EO8RAtw8AJ4ttjQzg2ZT+17r054Uaidvn34ruwCgtTDt
Gcr7hR1VvMyFC70IWBdXIpE=
=oKEL
-----END PGP SIGNATURE-----
2005-07-02 12:45:53 -08:00
mpm@selenic.com
7376d96b33 [PATCH 3/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 3/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

the filediff template use the old style p1/p2 and p1rev/p2rev
inteface; the patch removes this old stuff, and update the code to the
new style

manifest hash: 29536b6ee71f03a48bceb7336040070ecd0d2b9e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxvplywK+sNU5EO8RApW4AKCrTLHofr8jELtvNRpoNJHc0sjEfgCfaY2q
/H96T6BMMXA4VLFVxzOBHCo=
=u4El
-----END PGP SIGNATURE-----
2005-07-02 12:34:45 -08:00
mpm@selenic.com
5c93c1becd [PATCH 2/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 2/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

hgweb: rename #parent1# and #parent2# to #parent# in the template managment

manifest hash: c7da29f029a1c875127989bb6635007a90f8f59c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxvmkywK+sNU5EO8RAnREAKCXuVAU054xkYsfQLug3y/u4tpGxQCfdnKA
QkX42FSUBN1EwFyzrzC6vs0=
=o8VK
-----END PGP SIGNATURE-----
2005-07-02 12:31:32 -08:00
mpm@selenic.com
c67b89b408 [PATCH 1/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 1/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

the template pages contain two entry named #parent1# and #parent2#;
this is no +good because with the template system implemented in hgweb
both the functions can be replaced with only one entry named
"#parent#". The code in hgweb will replace this tag with the
appropriate number of parents (+one, two... or more if and when will
be used ).

The first two patch perform this change in two step:
1) change the code to manage only one entry ( #parent1# )
2) remove any reference to #parent2#, and change both the code and the
   templates to rename #parent1# in #parent2#

the last three patchs are clean-up.

The patch are five

- - patch #1:
- - clean the code in order to ignore #parent2# and use only #parent1#

hgweb: chanage the parent1/parent2 code managment

manifest hash: 6ba707904edf176c7269f2d9b80502902e6934c6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxvivywK+sNU5EO8RAkotAJ4vbR0KE+Jem20rQbaJxy8NRFeyJgCdHy2M
hxmeD9erv17BrSKLGd5QAQI=
=Or/F
-----END PGP SIGNATURE-----
2005-07-02 12:27:27 -08:00
mpm@selenic.com
6b7d3a80e3 [PATCH] Add tags to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Add tags to hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

manifest hash: 3a59c363799c974b042dbb55f943d830feb1b34f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxcfHywK+sNU5EO8RAgEKAJ40SRMOyBOkbS8QU2MIBUzBnhu5AwCbBDjR
M+gaWyqzqOBzO1r+9zpb37k=
=l1pL
-----END PGP SIGNATURE-----
2005-07-01 14:46:31 -08:00
mpm@selenic.com
04bb5e57f0 Minor hgweb fixup for new diff code
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Minor hgweb fixup for new diff code

manifest hash: a80a817fa1511c6ea76f07b2e03691539c19de55
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxO7lywK+sNU5EO8RArAkAJ49Piw1lKwhno5XtTdE0J2B3KIeJQCgpeZW
JbFuy/zzo2e45xu6Uez8CMw=
=sQOB
-----END PGP SIGNATURE-----
2005-06-30 23:21:09 -08:00
mpm@selenic.com
70952fe5b2 Add multiple keyword search to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add multiple keyword search to hgweb

People kept pestering me about this one. Now it's done.

If you type a tag/id/rev in the search box, it takes you to that entry
in the changelog.

If you type some other random keywords, it does a case-insensitive
search through the history and returns the most recent N items.

It's not super-fast, but it's serviceable.

manifest hash: e8fa980dee92cf78c04051d3028da9b07a45f3de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxO6JywK+sNU5EO8RArAwAKCq+9qO/OL0mQxa1J7C77Z6AcZoWgCfbiDC
AZ5KllldwBtdRRREn7HH6go=
=sIy0
-----END PGP SIGNATURE-----
2005-06-30 23:19:37 -08:00
mpm@selenic.com
bb74daf6a1 Refactor diffrevs/diffdir into changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Refactor diffrevs/diffdir into changes

Add dirstate.changes to replace most of diffdir
Add localrepository.changes to replace diffrevs/diffdir

This code can now efficiently check for changes in single files, and
often without consulting the manifest. This should eventually make 'hg
diff Makefile' in a large project much faster.

This also fixes a bug where 'hg diff -r tip' failed to account for
files that had been added but not committed yet.

manifest hash: 20fde5d4b4cee49a76bcfe50f2dacf58b1f2258b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxMxpywK+sNU5EO8RAhzOAJ9VLQJoC+hiRYQtTSPbDhXBEJfQZwCgpDx9
GAwQ9jZHNsgXckBfXNCkJV8=
=hMuc
-----END PGP SIGNATURE-----
2005-06-30 20:54:01 -08:00
mpm@selenic.com
dd1709b3e6 [PATCH] Handle 'name firstname <email@server>' correctly in annotate
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Handle 'name firstname <email@server>' correctly in annotate

- From ed.gomez@free.fr

manifest hash: 8af8d6b2afd8caf8e48e5150b91410dea730d41a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxCpzywK+sNU5EO8RAj8tAJ9lIXS7tlgonp6B810QahCZM0NsigCdH8xQ
cRhEGvrKDrTgc4AY9guylDU=
=+sWJ
-----END PGP SIGNATURE-----
2005-06-30 09:22:59 -08:00
mpm@selenic.com
a9e28d9090 [PATCH] Generate correctly XML entities for obfuscated user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Generate correctly XML entities for obfuscated user

From: Edouard Gomez <ed.gomez@free.fr>

manifest hash: 8e4e2d087ff60020c948d34e724fca99c84a9115
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxCpDywK+sNU5EO8RAs6yAKCy97yrMO6VYlkRIF3diLoGClZSOgCfekPE
ttPsLRoDTH12Tv6omFg6uUA=
=8ZBC
-----END PGP SIGNATURE-----
2005-06-30 09:22:11 -08:00
mpm@selenic.com
0fb5db6915 Whitespace cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Whitespace cleanups

manifest hash: ac954bc3a4f034c12638a259ecd65841f5b63c5c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwuubywK+sNU5EO8RAluIAJ98XQpNdZUpSmYKgDmrMRlbL76ZzQCfes0t
rknNUN/PhtyA4bzL646dOz4=
=UyCE
-----END PGP SIGNATURE-----
2005-06-29 10:42:35 -08:00
mpm@selenic.com
8098f7c792 hgweb: pull cgitb into CGI script example, where it can easily be disabled
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: pull cgitb into CGI script example, where it can easily be disabled

This also eliminates cgitb dumps in the logging output of hg serve

manifest hash: a0aa07a706c2c388c0b49505e2960197f716920c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsv9DywK+sNU5EO8RAieFAJwOjdfkz7pILNVUTvpMkRa6/OIhIQCgo2TP
I2E4hxQ0N7mTtl45pXEFLsk=
=tG0v
-----END PGP SIGNATURE-----
2005-06-17 08:50:11 -08:00
mpm@selenic.com
6b876058c8 Merge with TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merge with TAH

manifest hash: f73215065ecbcfd9a0d0964de5ed73a392837a56
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsQqNywK+sNU5EO8RAiuOAJ4lL23LcxAkbPHy33snasBgrkhNxQCgkBLO
ohB0/EA2dAvQtu5sMSW03D8=
=lF8D
-----END PGP SIGNATURE-----
2005-06-15 21:13:49 -08:00
mpm@selenic.com
7b7db9ddb1 Show nice short hashes in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Show nice short hashes in hgweb

manifest hash: c73a8e32a823af7ea7440d1db2b0c022a4366bb5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsQpkywK+sNU5EO8RAmSIAJ40aYEFBi07drKuPLuofXNaUkEFtgCghC9g
mG8mmhucbBe4hcZWL0AdG8I=
=Khp7
-----END PGP SIGNATURE-----
2005-06-15 21:13:08 -08:00
Thomas Arendsen Hein
bca47d8774 hgweb: fix deleted file in filediff key error
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: fix deleted file in filediff key error

manifest hash: f751d213d2d2d49b3631dbe72699554e58ae590a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCsQOVW7P1GVgWeRoRAvRAAJ9cLxO+QLg6gEnn/0XPZJP1G/8/KQCfdygL
b+awDXRJmE0onoNzvzzIcBg=
=jDV4
-----END PGP SIGNATURE-----
2005-06-16 05:44:05 +01:00
mpm@selenic.com
f8d48b6b40 hgweb: fix deleted file in changeset key error
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: fix deleted file in changeset key error

We simply point to nullid. This is very arguably the correct thing to
do.

manifest hash: c16f1c05a087e5d3274cb84dfd09d048430f0495
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsPCdywK+sNU5EO8RAuJzAJ9j2Yn7KHceFxYgKvOd5V4fNNLKmQCfTZ9s
jorkRZcX2hdZqRkxM8q8VMk=
=+bEb
-----END PGP SIGNATURE-----
2005-06-15 19:23:09 -08:00
mpm@selenic.com
95875aeeae hgweb: remove pointless manifest reads
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: remove pointless manifest reads

pointed out by Goffredo Baroncelli

manifest hash: 7aa5b93dc73755f02887702d0a01118d91b3b289
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsNK6ywK+sNU5EO8RAhJeAJ9ck6KYdupiuuyXXU5Mr8upx+D/NgCcDJmI
y7ZVFQoiaYFoJy+GWQ2zFes=
=RHPt
-----END PGP SIGNATURE-----
2005-06-15 17:15:38 -08:00
mpm@selenic.com
91c58aba0f hgweb: add file permissions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: add file permissions

From: Goffredo Baroncelli <kreijack@libero.it>

Show permissions in hgweb

Tweaked by mpm

manifest hash: f11361c6da21f3ba60c5e6a173396754c36efb1d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsHFqywK+sNU5EO8RAoqFAJ44P8kZoZDiY5Fw8LWpL/3ArXNE2QCeO3z4
0zV5rXWa/r/xgf+AVTLeQ/4=
=FzLj
-----END PGP SIGNATURE-----
2005-06-15 10:20:26 -08:00
mpm@selenic.com
80eaf20433 hgweb: change number navigation tidy up
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: change number navigation tidy up

manifest hash: 9fe0ad4fba9a7a0d4c604299024ce7732198c831
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCr+vkywK+sNU5EO8RAiOyAJ92O9ALuJTbVPPGC/x6vL6yK7GggwCgs4ta
5StdA4D/dOEUvN6O3xicKhk=
=fP4C
-----END PGP SIGNATURE-----
2005-06-15 00:50:44 -08:00
mpm@selenic.com
051bbe3f44 rework all code using tags
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rework all code using tags

Add three utility functions:

tags(): get (and possibly load) the tags mapping
tagslist(): sort tag,node by revision (aka topologically)
nodetags(): return a list of tags associated with a node (also cached)

Update all the code using tags to use these.

Simplify identify code
 make unknown always visible if printed
 don't ignore tip pseudo-tag

manifest hash: e6deb4d545ad465be7735f9ec43227bcb5e238c7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCr+HjywK+sNU5EO8RAh4/AJ90cI0WxmvQAj6Lq2ZiG8LmqZan/QCfR8B5
ltu8tOIEHDa8LhfS9wtBu0k=
=pv3t
-----END PGP SIGNATURE-----
2005-06-15 00:08:03 -08:00
mpm@selenic.com
7ecd747c5c hgweb: Fix reloading of index
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: Fix reloading of index

We were reloading every request because we weren't saving the old
mtime.

manifest hash: 507330727957ff53c48b38f427f0b70469a49271
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCreVpywK+sNU5EO8RAp/YAJ9cXh2II4DGAQtRc58yj4hi49C8jgCfT7bV
22w73T2FiYBjzMk8N8STUVI=
=eghX
-----END PGP SIGNATURE-----
2005-06-13 11:58:33 -08:00
mpm@selenic.com
2155d2e394 hgweb: ignore pipe errors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: ignore pipe errors

manifest hash: 3a3baaa175a422bf499f414b5186ed551827db56
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpVkhywK+sNU5EO8RAo5aAJ9KPR/Gwp8YBswhyKqzVYVlgBl49ACghr65
sGKxB7ctoX9XB1WDht8WUzk=
=J2bp
-----END PGP SIGNATURE-----
2005-06-07 00:21:53 -08:00
mpm@selenic.com
ee779f3908 hgweb: shrink the default changelog list to 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: shrink the default changelog list to 10

manifest hash: 4d5f9f35b3dcb6bf05c0f25ab89cedba269ad924
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpVUbywK+sNU5EO8RAlmTAJ9HzQz9C1lmL22IGU0tXYDTLqcVAQCfTD1U
pDF449wXA8ocjAF+UUJ7sL8=
=YyBZ
-----END PGP SIGNATURE-----
2005-06-07 00:04:43 -08:00
mpm@selenic.com
3dc346edec hgweb: fix non-existent source or destination for diff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: fix non-existent source or destination for diff

manifest hash: c076bc00ba04911392085f3d0697106f4d24b808
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCpJtjywK+sNU5EO8RAsaTAKCso0BDI3GQxN9ZZRNeMXjeZXCXLgCfYM+R
JpTBR7gUZtV+pEexSfFlRDQ=
=moF8
-----END PGP SIGNATURE-----
2005-06-06 10:52:19 -08:00
mpm@selenic.com
3ef1f33074 hgweb: watch changelog for changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: watch changelog for changes

Check the mtime of the changelog for updates on each invocation of
run(). For the standalone server, this means you don't need to re-run
it to pick up changes.

manifest hash: 398bdbf03b867df27da9e803a094dd265f62e12c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFConlTywK+sNU5EO8RAljMAKCigJKR2aXabt1kuYeiAl+PZEN1owCeKShZ
oZKfo+I7e967FqI9l7NIPFE=
=pTp6
-----END PGP SIGNATURE-----
2005-06-04 20:02:27 -08:00
mpm@selenic.com
cac235fda2 hgweb.py: kill #! line, clean up copyright notice
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb.py: kill #! line, clean up copyright notice

manifest hash: a2910abe3f58687ccf55179ab37f66dee2b6e775
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCoM71ywK+sNU5EO8RAil4AJ9edZ1FJ0WbikVBYBMNO+MldBRqnACfRtuH
Nw/BuBueQfEhaI3i+9+Q9/g=
=vV8+
-----END PGP SIGNATURE-----
2005-06-03 13:43:17 -08:00
mpm@selenic.com
788383bd38 make pull work for multiple heads
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

make pull work for multiple heads

add repository.heads()
teach remoterepository and hgweb about heads command
teach getchangegroup about multiple heads
break apart addchangegroup and merge (cleaning up merge saved for later)

after this change, it is now possible to pull and get multiple heads, but
not possible to merge the heads

manifest hash: 86fe3ede296254698fdd4c97df02944993ef2cbb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCn8SZywK+sNU5EO8RAkSvAJ9NOA4UZ3cFyyzymlYBZnV+PpGRcACeLL+R
PFaSgJHGKvxsXpvPYiZA0O0=
=L2Xr
-----END PGP SIGNATURE-----
2005-06-02 18:46:49 -08:00
mpm@selenic.com
51af397ad7 hgweb: import ui
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: import ui

Fix from Edouard Gomez

manifest hash: 6157f19523d28465a6f0c49adec96c17aa9df118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCnj3YywK+sNU5EO8RAgHBAJ0b+oHTOyDVDtC5vsQvAzpn0saRAACfYmAU
5q/mDghl/UWYGiSAY1i/l0w=
=i9MB
-----END PGP SIGNATURE-----
2005-06-01 14:59:36 -08:00
mpm@selenic.com
c6171242df hgweb: add template filters, template style maps, and raw pages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: add template filters, template style maps, and raw pages

Template filters:

in templates, you can now specify a chain of filters like

#desc|firstline|escape#
#desc|escape|addbreaks#
#date|age#

to specify how you'd like raw text (or whatever) to be transformed.

Template style maps:

add ;style=foo to a URL and we'll use templates/map-foo if it exists.

Raw output:

Together, these two features make it east to implement raw
downloadable files and patches. Simply link to the same page with
style=raw and present the output as unfiltered text/plain with that
template.

manifest hash: 5954a648b3d6b4e6dc2dcd1975f96b4b0178da2a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCnUMyywK+sNU5EO8RAkKjAJ9h9JElSCbWBPUnL+koCSDxgo38AwCgrccM
0qwyKdh/fUNglICxSh3HBNA=
=Svlo
-----END PGP SIGNATURE-----
2005-05-31 21:10:10 -08:00
mpm@selenic.com
49b6b62ead hgweb: fix tip so that it doesn't need refreshing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: fix tip so that it doesn't need refreshing

manifest hash: 5bf1837a29c5612872ab206053f9d15e899e3664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCm1mhywK+sNU5EO8RAjdQAKCLrRFv2/rfHYNI2tFvF5HKINaTjQCfRhxo
ca39aZ0SaNeCBqc1nMPOTcw=
=4pHG
-----END PGP SIGNATURE-----
2005-05-30 10:21:21 -08:00
mpm@selenic.com
74463f46b4 hgweb: add view-only support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: add view-only support

Turning on hgweb.viewonly prevents pulls. This is a good idea for
machines with limited CPU/bandwidth.

manifest hash: 68d1d04dad83743f3326e8b4f2e51387787f06c0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCm0tnywK+sNU5EO8RAm1fAJ9rNjWOr+e3UosFyauBSEgyie8meACeKwjc
QqbfuXPLg/+TKr2HIrC3DA4=
=i8Yj
-----END PGP SIGNATURE-----
2005-05-30 09:20:39 -08:00
mpm@selenic.com
e4703accd9 hgweb: make age() smarter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: make age() smarter

manifest hash: 3aa19b2960d81843e573a8ce79a242defeb80f6a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCm0JYywK+sNU5EO8RAvLUAKCJbWqvnzfirS64LbaWbBaWlkfbfACcCyGq
Y9UMZRGDBGCEIVu9f/F/F6U=
=+ULo
-----END PGP SIGNATURE-----
2005-05-30 08:42:00 -08:00
mpm@selenic.com
dbf12abbe4 hgweb: Sort tags by revision number 2005-05-27 13:30:35 -08:00
mpm@selenic.com
9a234b70ad hgweb: Fix navigate to 0 bug 2005-05-27 12:45:41 -08:00
mpm@selenic.com
d5d19174b2 hgweb: make navigation of changesets a bit nicer 2005-05-26 22:47:43 -08:00
mpm@selenic.com
1dd7e5c920 hgweb: alternating colors for multifile diffs 2005-05-26 20:37:05 -08:00
mpm@selenic.com
546aa0fdbb hgweb: add tags links and manifest links
This adds a simple new tags page to browse by tag, adds the tag link
everywhere, and adds manifest links to the tags and changelog pages.
2005-05-26 12:24:01 -08:00
mpm@selenic.com
474171f31c hgweb: don't blow up on search for unknown keys 2005-05-26 10:11:05 -08:00
mpm@selenic.com
7ac7091e05 Add tag/rev/node search to hgweb 2005-05-26 10:08:47 -08:00
mpm@selenic.com
7bd4038f51 Add 'hg serve' command for stand-alone server
This adds a simple stand-alone web server mode to hg that exports the
current repo for merging and browsing. The default port is 8000.
2005-05-25 16:27:10 -08:00
mpm@selenic.com
949217673f Install the templates where they can be found by hgweb.py
This ought to use package_data but that doesn't exist in Python 2.3.
So we do a hack of install_data and use glob.

This also adds templatepath() to hgweb.py which finds the templates
relative to hgweb.py's location.
2005-05-25 16:21:06 -08:00
mpm@selenic.com
2424ff846c Fix some broken parent links in hgweb 2005-05-25 09:04:38 -08:00
jake@edge2.net
8778053fe5 changed pos to rev for changelog cmd, changed & to ; 2005-05-24 07:42:05 -07:00