Tue, 18 Oct 2005 23:50:55 -0700 hgweb: make viewing of non-text work in hgweb
Matt Mackall <mpm@selenic.com> [Tue, 18 Oct 2005 23:50:55 -0700] rev 1411
hgweb: make viewing of non-text work in hgweb We use mimetypes.guess_type to guess file types and util.binary to determine whether a file is displayable as text. This lets us display displayable text files in our normal source view. Files that appear to be binary will be displayed as something like "(binary:image/gif)". Clicking on raw view will send the raw file with an appropriate MIME type. Thus things like GIFs will now be viewable inside hgweb without making a mess. Further, things like postscript files that are text should show source in the normal view and a browser can launch a postscript viewer for the raw view.
Tue, 18 Oct 2005 23:08:35 -0700 hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com> [Tue, 18 Oct 2005 23:08:35 -0700] rev 1410
hgweb: shorten all the URLs in the standard templates A URL like this: http://www.selenic.com/hg/?cmd=changeset;node=5010207c35273ac1331cae44c253dd41fa07cb7f is now presented as: http://www.selenic.com/hg/?cs=5010207c352 (though the old style still works, of course)
Tue, 18 Oct 2005 23:05:30 -0700 hgweb: add shortcuts for all the web commands / fix empty arg bug
Matt Mackall <mpm@selenic.com> [Tue, 18 Oct 2005 23:05:30 -0700] rev 1409
hgweb: add shortcuts for all the web commands / fix empty arg bug
Tue, 18 Oct 2005 21:32:51 -0700 symlink unit test
Matthew Elder <sseses@gmail.com> [Tue, 18 Oct 2005 21:32:51 -0700] rev 1408
symlink unit test
(0) -1000 -300 -100 -30 -10 -4 +4 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip