annotate tests/test-merge6.out @ 1411:e2ba788545bf
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.
author |
Matt Mackall <mpm@selenic.com> |
date |
Tue, 18 Oct 2005 23:50:55 -0700 |
parents |
9344f5dd4488 |
children |
ced2d3620f95 |
rev |
line source |
616
|
1 pulling from ../B1
|
|
2 searching for changes
|
|
3 adding changesets
|
|
4 adding manifests
|
775
|
5 adding file changes
|
1043
|
6 added 1 changesets with 1 changes to 1 files (+1 heads)
|
616
|
7 (run 'hg update' to get a working copy)
|
|
8 bar should remain deleted.
|
993
|
9 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo
|
616
|
10 pulling from ../A2
|
|
11 searching for changes
|
|
12 adding changesets
|
|
13 adding manifests
|
775
|
14 adding file changes
|
1043
|
15 added 1 changesets with 0 changes to 0 files (+1 heads)
|
616
|
16 (run 'hg update' to get a working copy)
|
|
17 bar should remain deleted.
|
990
|
18 f9b0e817f6a48de3564c6b2957687c5e7297c5a0 644 foo
|