tests/test-hgweb-commands.t
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Tue, 09 Apr 2013 23:40:11 +0900
changeset 18996 160d8416e286
parent 18563 6d098adc5a46
child 19075 6bc76c0e60b9
permissions -rw-r--r--
summary: make "incoming" information sensitive to branch in URL (issue3830) Before this patch, "incoming" information of "hg summary --remote" is not sensitive to the branch specified in the URL of the destination repository, even though "hg pull"/"hg incoming" are so. Invocation of "discovery.findcommonincoming()" without "heads" argument treats revisions on branches other than the one specified in the URL as incoming ones unexpectedly. This patch looks head revisions, which are already detected by "hg.addbranchrevs()" from URL, up against "other" repository, and invokes "discovery.findcommonincoming()" with list of them as "heads" to limit calculation of incoming revisions.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15375
diff changeset
     1
  $ "$TESTDIR/hghave" serve || exit 80
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15375
diff changeset
     2
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     3
An attempt at more fully testing the hgweb web interface.
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     4
The following things are tested elsewhere and are therefore omitted:
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     5
- archive, tested in test-archive
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     6
- unbundle, tested in test-push-http
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     7
- changegroupsubset, tested in test-pull
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     8
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
     9
Set up the repo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    10
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    11
  $ hg init test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    12
  $ cd test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    13
  $ mkdir da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    14
  $ echo foo > da/foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    15
  $ echo foo > foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    16
  $ hg ci -Ambase
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    17
  adding da/foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    18
  adding foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    19
  $ hg tag 1.0
13596
270f57d35525 hgweb: add display of bookmarks for changelog and changeset
Alexander Solovyov <alexander@solovyov.net>
parents: 12943
diff changeset
    20
  $ hg bookmark something
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
    21
  $ hg bookmark -r0 anotherthing
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    22
  $ echo another > foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    23
  $ hg branch stable
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    24
  marked working directory as branch stable
15615
41885892796e branch: warn on branching
Matt Mackall <mpm@selenic.com>
parents: 15375
diff changeset
    25
  (branches are permanent and global, did you want a bookmark?)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    26
  $ hg ci -Ambranch
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    27
  $ hg branch unstable
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    28
  marked working directory as branch unstable
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    29
  (branches are permanent and global, did you want a bookmark?)
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    30
  >>> open('msg', 'wb').write('branch commit with null character: \0\n')
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    31
  $ hg ci -l msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    32
  $ rm msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    33
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    34
  $ echo [graph] >> .hg/hgrc
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    35
  $ echo default.width = 3 >> .hg/hgrc
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    36
  $ echo stable.width = 3 >> .hg/hgrc
16130
33f702e52906 graph: in hgrc specify line color for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 16129
diff changeset
    37
  $ echo stable.color = FF0000 >> .hg/hgrc
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    38
  $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    39
  $ cat hg.pid >> $DAEMON_PIDS
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    40
  $ hg log -G --template '{rev}:{node|short} {desc}\n'
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    41
  @  3:cad8025a2e87 branch commit with null character: \x00 (esc)
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    42
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    43
  o  2:1d22e65f027e branch
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    44
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    45
  o  1:a4f92ed23982 Added tag 1.0 for changeset 2ef0ac749a14
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    46
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    47
  o  0:2ef0ac749a14 base
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    48
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    49
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    50
Logs and changes
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
    51
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
    52
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    53
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    54
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    55
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    56
  <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    57
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    58
   <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    59
   <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    60
   <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    61
   <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    62
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    63
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    64
   <entry>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    65
    <title>branch commit with null character: </title>
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    66
    <id>http://*:$HGPORT/#changeset-cad8025a2e87f88c06259790adfa15acb4080123</id> (glob)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    67
    <link href="http://*:$HGPORT/rev/cad8025a2e87"/> (glob)
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    68
    <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    69
     <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    70
     <email>&#116;&#101;&#115;&#116;</email>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    71
    </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    72
    <updated>1970-01-01T00:00:00+00:00</updated>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    73
    <published>1970-01-01T00:00:00+00:00</published>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    74
    <content type="xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    75
     <div xmlns="http://www.w3.org/1999/xhtml">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    76
      <pre xml:space="preserve">branch commit with null character: </pre>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    77
     </div>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    78
    </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    79
   </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    80
   <entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    81
    <title>branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    82
    <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    83
    <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    84
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    85
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    86
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    87
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    88
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    89
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    90
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    91
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    92
      <pre xml:space="preserve">branch</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    93
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    94
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    95
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    96
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    97
    <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    98
    <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    99
    <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   100
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   101
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   102
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   103
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   104
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   105
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   106
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   107
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   108
      <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   109
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   110
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   111
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   112
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   113
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   114
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   115
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   116
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   117
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   118
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   119
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   120
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   121
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   122
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   123
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   124
      <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   125
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   126
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   127
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   128
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   129
  </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   130
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   131
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   132
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   133
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   134
  <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   135
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   136
   <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   137
   <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   138
   <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   139
   <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   140
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   141
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   142
   <entry>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   143
    <title>branch commit with null character: </title>
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   144
    <id>http://*:$HGPORT/#changeset-cad8025a2e87f88c06259790adfa15acb4080123</id> (glob)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   145
    <link href="http://*:$HGPORT/rev/cad8025a2e87"/> (glob)
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   146
    <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   147
     <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   148
     <email>&#116;&#101;&#115;&#116;</email>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   149
    </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   150
    <updated>1970-01-01T00:00:00+00:00</updated>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   151
    <published>1970-01-01T00:00:00+00:00</published>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   152
    <content type="xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   153
     <div xmlns="http://www.w3.org/1999/xhtml">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   154
      <pre xml:space="preserve">branch commit with null character: </pre>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   155
     </div>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   156
    </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   157
   </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   158
   <entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   159
    <title>branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   160
    <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   161
    <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   162
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   163
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   164
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   165
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   166
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   167
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   168
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   169
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   170
      <pre xml:space="preserve">branch</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   171
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   172
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   173
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   174
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   175
    <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   176
    <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   177
    <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   178
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   179
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   180
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   181
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   182
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   183
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   184
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   185
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   186
      <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   187
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   188
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   189
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   190
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   191
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   192
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   193
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   194
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   195
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   196
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   197
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   198
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   199
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   200
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   201
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   202
      <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   203
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   204
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   205
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   206
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   207
  </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   208
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   209
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   210
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   211
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   212
  <feed xmlns="http://www.w3.org/2005/Atom">
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   213
   <id>http://*:$HGPORT/atom-log/tip/foo</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   214
   <link rel="self" href="http://*:$HGPORT/atom-log/tip/foo"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   215
   <title>test: foo history</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   216
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   217
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   218
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   219
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   220
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   221
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   222
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   223
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   224
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   225
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   226
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   227
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   228
    <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   229
     <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   230
      <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   231
     </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   232
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   233
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   234
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   235
  </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   236
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   237
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   238
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   239
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   240
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   241
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   242
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   243
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   244
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   245
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   246
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   247
  <title>test: log</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   248
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   249
     href="/atom-log" title="Atom feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   250
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   251
     href="/rss-log" title="RSS feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   252
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   253
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   254
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   255
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   256
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   257
  <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   258
  <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   259
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   260
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   261
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   262
  <li class="active">log</li>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   263
  <li><a href="/graph/cad8025a2e87">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   264
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   265
  <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   266
  <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   267
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   268
  <ul>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   269
  <li><a href="/rev/cad8025a2e87">changeset</a></li>
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   270
  <li><a href="/file/cad8025a2e87">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   271
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   272
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   273
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   274
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   275
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   276
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   277
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   278
  <p>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   279
  <div class="atom-logo">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   280
  <a href="/atom-log" title="subscribe to atom feed">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   281
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   282
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   283
  </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   284
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   285
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   286
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   287
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   288
  <h3>log</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   289
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   290
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   291
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   292
  <p><input name="rev" id="search1" type="text" size="30" /></p>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   293
  <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   294
  files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   295
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   296
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   297
  <div class="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   298
  <a href="/shortlog/3?revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   299
  <a href="/shortlog/3?revcount=120">more</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   300
  | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> 
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   301
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   302
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   303
  <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   304
   <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   305
    <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   306
    <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   307
    <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   308
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   309
   <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   310
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   311
    <td class="author">test</td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   312
    <td class="description"><a href="/rev/cad8025a2e87">branch commit with null character: </a><span class="branchhead">unstable</span> <span class="tag">tip</span> <span class="tag">something</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   313
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   314
   <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   315
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   316
    <td class="author">test</td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   317
    <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   318
   </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   319
   <tr class="parity0">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   320
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   321
    <td class="author">test</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   322
    <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   323
   </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   324
   <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   325
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   326
    <td class="author">test</td>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
   327
    <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   328
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   329
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   330
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   331
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   332
  <div class="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   333
  <a href="/shortlog/3?revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   334
  <a href="/shortlog/3?revcount=120">more</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   335
  | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> 
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   336
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   337
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   338
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   339
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   340
  
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   341
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   342
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   343
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   344
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   345
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   346
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   347
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'rev/0/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   348
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   349
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   350
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   351
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   352
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   353
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   354
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   355
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   356
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   357
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   358
  <title>test: 2ef0ac749a14</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   359
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   360
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   361
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   362
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   363
  <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   364
  <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   365
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   366
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   367
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   368
   <li><a href="/shortlog/2ef0ac749a14">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   369
   <li><a href="/graph/2ef0ac749a14">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   370
   <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   371
   <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   372
   <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   373
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   374
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   375
   <li class="active">changeset</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   376
   <li><a href="/raw-rev/2ef0ac749a14">raw</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   377
   <li><a href="/file/2ef0ac749a14">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   378
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   379
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   380
   
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   381
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   382
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   383
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   384
  </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   385
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   386
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   387
  <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   388
  
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   389
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
   390
  <h3>changeset 0:2ef0ac749a14  <span class="tag">1.0</span>  <span class="tag">anotherthing</span> </h3>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   391
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   392
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   393
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   394
  <p><input name="rev" id="search1" type="text" size="30" /></p>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   395
  <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   396
  files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   397
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   398
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   399
  <div class="description">base</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   400
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   401
  <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   402
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   403
   <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   404
   <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   405
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   406
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   407
   <th class="date">date</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   408
   <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   409
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   410
   <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   411
   <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   412
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   413
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   414
   <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   415
   <td class="author"> <a href="/rev/a4f92ed23982">a4f92ed23982</a></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   416
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   417
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   418
   <th class="files">files</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   419
   <td class="files"><a href="/file/2ef0ac749a14/da/foo">da/foo</a> <a href="/file/2ef0ac749a14/foo">foo</a> </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   420
  </tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   421
  <tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   422
    <th class="diffstat">diffstat</th>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   423
    <td class="diffstat">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   424
       2 files changed, 2 insertions(+), 0 deletions(-)
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   425
  
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
   426
      <a id="diffstatexpand" href="javascript:showDiffstat()"/>[<tt>+</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   427
      <div id="diffstatdetails" style="display:none;">
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
   428
        <a href="javascript:hideDiffstat()"/>[<tt>-</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   429
        <p>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   430
        <table>  <tr class="parity0">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   431
      <td class="diffstat-file"><a href="#l1.1">da/foo</a></td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   432
      <td class="diffstat-total" align="right">1</td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   433
      <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   434
        <span class="diffstat-add" style="width:100.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   435
        <span class="diffstat-remove" style="width:0.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   436
      </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   437
    </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   438
    <tr class="parity1">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   439
      <td class="diffstat-file"><a href="#l2.1">foo</a></td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   440
      <td class="diffstat-total" align="right">1</td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   441
      <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   442
        <span class="diffstat-add" style="width:100.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   443
        <span class="diffstat-remove" style="width:0.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   444
      </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   445
    </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   446
  </table>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   447
      </div>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   448
    </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   449
  </tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   450
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   451
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   452
  <div class="overflow">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   453
  <div class="sourcefirst">   line diff</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   454
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   455
  <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1">     1.1</a> <span class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   456
  </span><a href="#l1.2" id="l1.2">     1.2</a> <span class="plusline">+++ b/da/foo	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   457
  </span><a href="#l1.3" id="l1.3">     1.3</a> <span class="atline">@@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   458
  </span><a href="#l1.4" id="l1.4">     1.4</a> <span class="plusline">+foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   459
  </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1">     2.1</a> <span class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   460
  </span><a href="#l2.2" id="l2.2">     2.2</a> <span class="plusline">+++ b/foo	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   461
  </span><a href="#l2.3" id="l2.3">     2.3</a> <span class="atline">@@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   462
  </span><a href="#l2.4" id="l2.4">     2.4</a> <span class="plusline">+foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   463
  </span></pre></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   464
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   465
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   466
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   467
  </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   468
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   469
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   470
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   471
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   472
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   473
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   474
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'rev/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   475
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   476
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   477
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   478
  # HG changeset patch
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   479
  # User test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   480
  # Date 0 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   481
  # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   482
  # Parent  2ef0ac749a14e4f57a5a822464a0902c6f7f448f
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   483
  Added tag 1.0 for changeset 2ef0ac749a14
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   484
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   485
  diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   486
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   487
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   488
  @@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   489
  +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   490
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   491
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=base'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   492
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   493
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   494
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   495
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   496
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   497
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   498
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   499
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   500
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   501
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   502
  <title>test: searching for base</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   503
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   504
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   505
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   506
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   507
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   508
  <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   509
  <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   510
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   511
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   512
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   513
  <li><a href="/shortlog">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   514
  <li><a href="/graph">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   515
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   516
  <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   517
  <li><a href="/branches">branches</a></li>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
   518
  <li><a href="/help">help</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   519
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   520
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   521
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   522
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   523
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   524
  <h3>searching for 'base'</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   525
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   526
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   527
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   528
  <p><input name="rev" id="search1" type="text" size="30"></p>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   529
  <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   530
  files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   531
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   532
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   533
  <div class="navigate">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   534
  <a href="/search/?rev=base&revcount=5">less</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   535
  <a href="/search/?rev=base&revcount=20">more</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   536
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   537
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   538
  <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   539
   <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   540
    <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   541
    <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   542
    <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   543
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   544
   <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   545
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   546
    <td class="author">test</td>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
   547
    <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   548
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   549
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   550
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   551
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   552
  <div class="navigate">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   553
  <a href="/search/?rev=base&revcount=5">less</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   554
  <a href="/search/?rev=base&revcount=20">more</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   555
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   556
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   557
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   558
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   559
  
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   560
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   561
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   562
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   563
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   564
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   565
  
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   566
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   567
File-related
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   568
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   569
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   570
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   571
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   572
  foo
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   573
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'annotate/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   574
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   575
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   576
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   577
  test@0: foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   578
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   579
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   580
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   581
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   582
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   583
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   584
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   585
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   586
  drwxr-xr-x da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   587
  -rw-r--r-- 45 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   588
  -rw-r--r-- 4 foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   589
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   590
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   591
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/foo'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   592
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   593
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   594
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   595
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   596
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   597
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   598
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   599
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   600
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   601
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   602
  <title>test: a4f92ed23982 foo</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   603
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   604
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   605
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   606
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   607
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   608
  <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   609
  <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   610
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   611
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   612
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   613
  <li><a href="/shortlog/a4f92ed23982">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   614
  <li><a href="/graph/a4f92ed23982">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   615
  <li><a href="/tags">tags</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   616
  <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   617
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   618
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   619
  <li><a href="/rev/a4f92ed23982">changeset</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   620
  <li><a href="/file/a4f92ed23982/">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   621
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   622
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   623
  <li class="active">file</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   624
  <li><a href="/file/tip/foo">latest</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   625
  <li><a href="/diff/a4f92ed23982/foo">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
   626
  <li><a href="/comparison/a4f92ed23982/foo">comparison</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   627
  <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   628
  <li><a href="/log/a4f92ed23982/foo">file log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   629
  <li><a href="/raw-file/a4f92ed23982/foo">raw</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   630
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
   631
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
   632
  <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
   633
  </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   634
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   635
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   636
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   637
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   638
  <h3>view foo @ 1:a4f92ed23982</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   639
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   640
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   641
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   642
  <p><input name="rev" id="search1" type="text" size="30" /></p>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   643
  <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   644
  files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   645
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   646
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   647
  <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   648
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   649
  <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   650
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   651
   <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   652
   <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   653
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   654
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   655
   <th class="date">date</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   656
   <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   657
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   658
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   659
   <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   660
   <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   661
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   662
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   663
   <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   664
   <td class="author"><a href="/file/1d22e65f027e/foo">1d22e65f027e</a> </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   665
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   666
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   667
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   668
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   669
  <div class="overflow">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   670
  <div class="sourcefirst"> line source</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   671
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   672
  <div class="parity0 source"><a href="#l1" id="l1">     1</a> foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   673
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   674
  <div class="sourcelast"></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   675
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   676
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   677
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   678
  
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   679
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   680
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   681
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   682
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   683
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   684
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   685
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'filediff/0/foo/?style=raw'
16722
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   686
  200 Script output follows
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   687
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   688
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   689
  diff -r 000000000000 -r 2ef0ac749a14 foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   690
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   691
  +++ b/foo	Thu Jan 01 00:00:00 1970 +0000
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   692
  @@ -0,0 +1,1 @@
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   693
  +foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   694
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   695
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   696
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   697
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
   698
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   699
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'filediff/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   700
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   701
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   702
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   703
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   704
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   705
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   706
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   707
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   708
Overviews
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   709
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   710
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-tags'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   711
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   712
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   713
  tip	cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   714
  1.0	2ef0ac749a14e4f57a5a822464a0902c6f7f448f
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   715
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-branches'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   716
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   717
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   718
  unstable	cad8025a2e87f88c06259790adfa15acb4080123	open
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   719
  stable	1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe	inactive
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   720
  default	a4f92ed23982be056b9852de5dfe873eaac7f0de	inactive
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   721
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-bookmarks'
13921
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
   722
  200 Script output follows
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
   723
  
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
   724
  anotherthing	2ef0ac749a14e4f57a5a822464a0902c6f7f448f
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   725
  something	cad8025a2e87f88c06259790adfa15acb4080123
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   726
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'summary/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   727
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   728
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   729
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   730
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   731
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   732
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   733
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   734
  <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   735
  <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   736
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   737
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   738
  <title>test: Summary</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   739
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   740
     href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   741
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   742
     href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   743
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   744
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   745
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   746
  <div class="page_header">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   747
  <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a>
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   748
  <a href="/">Mercurial</a>  / summary
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   749
  <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   750
  <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   751
  <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   752
  <input type="text" name="rev"  />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   753
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   754
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   755
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   756
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   757
  <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   758
  summary |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   759
  <a href="/shortlog?style=gitweb">shortlog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   760
  <a href="/log?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   761
  <a href="/graph?style=gitweb">graph</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   762
  <a href="/tags?style=gitweb">tags</a> |
13864
fd8a6ca3a750 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13863
diff changeset
   763
  <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   764
  <a href="/branches?style=gitweb">branches</a> |
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   765
  <a href="/file/cad8025a2e87?style=gitweb">files</a> |
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   766
  <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   767
  <br/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   768
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   769
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   770
  <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   771
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   772
  <tr><td>description</td><td>unknown</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   773
  <tr><td>owner</td><td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   774
  <tr><td>last change</td><td>Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   775
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   776
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   777
  <div><a  class="title" href="/shortlog?style=gitweb">changes</a></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   778
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   779
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   780
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   781
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   782
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   783
  <td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   784
  <a class="list" href="/rev/cad8025a2e87?style=gitweb">
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   785
  <b>branch commit with null character: </b>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   786
  <span class="logtags"><span class="branchtag" title="unstable">unstable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   787
  </a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   788
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   789
  <td class="link" nowrap>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   790
  <a href="/rev/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   791
  <a href="/file/cad8025a2e87?style=gitweb">files</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   792
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   793
  </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   794
  <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   795
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   796
  <td><i>test</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   797
  <td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   798
  <a class="list" href="/rev/1d22e65f027e?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   799
  <b>branch</b>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   800
  <span class="logtags"><span class="branchtag" title="stable">stable</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   801
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   802
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   803
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   804
  <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   805
  <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   806
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   807
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   808
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   809
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   810
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   811
  <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   812
  <a class="list" href="/rev/a4f92ed23982?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   813
  <b>Added tag 1.0 for changeset 2ef0ac749a14</b>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   814
  <span class="logtags"><span class="branchtag" title="default">default</span> </span>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   815
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   816
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   817
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   818
  <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   819
  <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   820
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   821
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   822
  <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   823
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   824
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   825
  <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   826
  <a class="list" href="/rev/2ef0ac749a14?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   827
  <b>base</b>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
   828
  <span class="logtags"><span class="tagtag" title="1.0">1.0</span> <span class="bookmarktag" title="anotherthing">anotherthing</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   829
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   830
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   831
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   832
  <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   833
  <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   834
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   835
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   836
  <tr class="light"><td colspan="4"><a class="list" href="/shortlog?style=gitweb">...</a></td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   837
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   838
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   839
  <div><a class="title" href="/tags?style=gitweb">tags</a></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   840
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   841
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   842
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   843
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   844
  <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   845
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   846
  <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   847
  <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   848
  <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   849
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   850
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   851
  <tr class="light"><td colspan="3"><a class="list" href="/tags?style=gitweb">...</a></td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   852
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   853
  
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   854
  <div><a class="title" href="/bookmarks?style=gitweb">bookmarks</a></div>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   855
  <table cellspacing="0">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   856
  
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   857
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   858
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   859
  <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>anotherthing</b></a></td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   860
  <td class="link">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   861
  <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   862
  <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   863
  <a href="/file/2ef0ac749a14?style=gitweb">files</a>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   864
  </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   865
  </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   866
  <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   867
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   868
  <td><a class="list" href="/rev/cad8025a2e87?style=gitweb"><b>something</b></a></td>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   869
  <td class="link">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   870
  <a href="/rev/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   871
  <a href="/log/cad8025a2e87?style=gitweb">changelog</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   872
  <a href="/file/cad8025a2e87?style=gitweb">files</a>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   873
  </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   874
  </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   875
  <tr class="light"><td colspan="3"><a class="list" href="/bookmarks?style=gitweb">...</a></td></tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   876
  </table>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
   877
  
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
   878
  <div><a class="title" href="/branches?style=gitweb">branches</a></div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   879
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   880
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   881
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   882
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   883
  <td><a class="list" href="/shortlog/cad8025a2e87?style=gitweb"><b>cad8025a2e87</b></a></td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   884
  <td class="">unstable</td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   885
  <td class="link">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   886
  <a href="/changeset/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   887
  <a href="/log/cad8025a2e87?style=gitweb">changelog</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   888
  <a href="/file/cad8025a2e87?style=gitweb">files</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   889
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   890
  </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   891
  <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   892
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   893
  <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   894
  <td class="">stable</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   895
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   896
  <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   897
  <a href="/log/1d22e65f027e?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   898
  <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   899
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   900
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   901
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   902
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   903
  <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   904
  <td class="">default</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   905
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   906
  <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   907
  <a href="/log/a4f92ed23982?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   908
  <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   909
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   910
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   911
  <tr class="light">
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
   912
    <td colspan="4"><a class="list"  href="/branches?style=gitweb">...</a></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   913
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   914
  </table>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   915
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   916
  <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   917
  <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   918
  <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   919
  <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   920
  <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   921
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   922
  <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   923
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   924
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   925
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   926
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   927
  
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   928
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   929
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   930
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   931
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   932
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   933
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   934
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   935
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   936
  <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   937
  <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
   938
  <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   939
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   940
  <title>test: Graph</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   941
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   942
     href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   943
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   944
     href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   945
  <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]-->
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   946
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   947
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   948
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   949
  <div class="page_header">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   950
  <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a>
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   951
  <a href="/">Mercurial</a>  / graph
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   952
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   953
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   954
  <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   955
  <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   956
  <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   957
  <input type="text" name="rev"  />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   958
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   959
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   960
  <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   961
  <a href="/summary?style=gitweb">summary</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   962
  <a href="/shortlog?style=gitweb">shortlog</a> |
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   963
  <a href="/log/3?style=gitweb">changelog</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   964
  graph |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   965
  <a href="/tags?style=gitweb">tags</a> |
13864
fd8a6ca3a750 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13863
diff changeset
   966
  <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   967
  <a href="/branches?style=gitweb">branches</a> |
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   968
  <a href="/file/cad8025a2e87?style=gitweb">files</a> |
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   969
  <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   970
  <br/>
18367
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
   971
  <a href="/graph/3?revcount=30&style=gitweb">less</a>
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
   972
  <a href="/graph/3?revcount=120&style=gitweb">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
   973
  | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> <br/>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   974
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   975
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   976
  <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   977
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   978
  <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   979
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   980
  <div id="wrapper">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   981
  <ul id="nodebgs"></ul>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   982
  <canvas id="graph" width="480" height="168"></canvas>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   983
  <ul id="graphnodes"></ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   984
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   985
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   986
  <script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   987
  <!-- hide script content
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   988
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
   989
  var data = [["cad8025a2e87", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch commit with null character: \x00", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1, 3, ""]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, 3, ""]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   990
  var graph = new Graph();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   991
  graph.scale(39);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   992
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   993
  graph.vertex = function(x, y, color, parity, cur) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   994
  	
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   995
  	this.ctx.beginPath();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   996
  	color = this.setColor(color, 0.25, 0.75);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   997
  	this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   998
  	this.ctx.fill();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   999
  	
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1000
  	var bg = '<li class="bg parity' + parity + '"></li>';
17580
ffe3630cb243 hgweb: fix incorrect graph padding calculation (issue3626)
Tim Delaney <timothy.c.delaney@gmail.com>
parents: 17421
diff changeset
  1001
  	var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1002
  	var nstyle = 'padding-left: ' + left + 'px;';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1003
  	
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1004
  	var tagspan = '';
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1005
  	if (cur[7].length || cur[8].length || (cur[6][0] != 'default' || cur[6][1])) {
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1006
  		tagspan = '<span class="logtags">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1007
  		if (cur[6][1]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1008
  			tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1009
  			tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1010
  		} else if (!cur[6][1] && cur[6][0] != 'default') {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1011
  			tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1012
  			tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1013
  		}
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1014
  		if (cur[7].length) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1015
  			for (var t in cur[7]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1016
  				var tag = cur[7][t];
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1017
  				tagspan += '<span class="tagtag">' + tag + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1018
  			}
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1019
  		}
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1020
  		if (cur[8].length) {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1021
  			for (var t in cur[8]) {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1022
  				var bookmark = cur[8][t];
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1023
  				tagspan += '<span class="bookmarktag">' + bookmark + '</span> ';
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1024
  			}
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
  1025
  		}
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1026
  		tagspan += '</span>';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1027
  	}
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1028
  	
17421
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
  1029
  	var item = '<li style="' + nstyle + '"><span class="desc">';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
  1030
  	item += '<a class="list" href="/rev/' + cur[0] + '?style=gitweb" title="' + cur[0] + '"><b>' + cur[3] + '</b></a>';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
  1031
  	item += '</span> ' + tagspan + '';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
  1032
  	item += '<span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
  1033
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1034
  	return [bg, item];
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1035
  	
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1036
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1037
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1038
  graph.render(data);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1039
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1040
  // stop hiding script -->
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1041
  </script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1042
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1043
  <div class="page_nav">
18367
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
  1044
  <a href="/graph/3?revcount=30&style=gitweb">less</a>
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
  1045
  <a href="/graph/3?revcount=120&style=gitweb">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1046
  | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> 
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1047
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1048
  
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
  1049
  <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1050
  <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1051
  <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1052
  <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1053
  <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1054
  <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1055
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1056
  <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1057
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1058
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1059
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1060
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1061
  
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1062
raw graph
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1063
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
  1064
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/?style=raw'
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1065
  200 Script output follows
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1066
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1067
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1068
  # HG graph
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1069
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1070
  # Rows shown 4
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1071
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1072
  changeset:   cad8025a2e87
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1073
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1074
  date:        1970-01-01
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1075
  summary:     branch commit with null character: \x00 (esc)
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1076
  branch:      unstable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1077
  tag:         tip
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1078
  bookmark:    something
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1079
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1080
  node:        (0, 0) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1081
  edge:        (0, 0) -> (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1082
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1083
  changeset:   1d22e65f027e
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1084
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1085
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1086
  summary:     branch
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1087
  branch:      stable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1088
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1089
  node:        (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1090
  edge:        (0, 1) -> (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1091
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1092
  changeset:   a4f92ed23982
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1093
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1094
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1095
  summary:     Added tag 1.0 for changeset 2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1096
  branch:      default
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1097
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1098
  node:        (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1099
  edge:        (0, 2) -> (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1100
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1101
  changeset:   2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1102
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1103
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1104
  summary:     base
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1105
  tag:         1.0
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1106
  bookmark:    anotherthing
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1107
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1108
  node:        (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1109
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1110
  
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1111
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1112
capabilities
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1113
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1114
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1115
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1116
  
14622
bd88561afb4b wireproto: add batching support to wirerepository
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14608
diff changeset
  1117
  lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1118
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1119
heads
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1120
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1121
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads'
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1122
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1123
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1124
  cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1125
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1126
branches
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1127
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1128
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000'
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1129
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1130
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1131
  0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1132
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1133
changegroup
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1134
12943
7439ea4146f8 tests: use (esc) instead of other kinds of string escaping
Mads Kiilerich <mads@kiilerich.com>
parents: 12680
diff changeset
  1135
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1136
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1137
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1138
  x\x9c\xbd\x94MHTQ\x14\xc7'+\x9d\xc66\x81\x89P\xc1\xa3\x14\xcct\xba\xef\xbe\xfb\xde\xbb\xcfr0\xb3"\x02\x11[%\x98\xdcO\xa7\xd2\x19\x98y\xd2\x07h"\x96\xa0e\xda\xa6lUY-\xca\x08\xa2\x82\x16\x96\xd1\xa2\xf0#\xc8\x95\x1b\xdd$!m*"\xc8\x82\xea\xbe\x9c\x01\x85\xc9\x996\x1d\xf8\xc1\xe3~\x9d\xff9\xef\x7f\xaf\xcf\xe7\xbb\x19\xfc4\xec^\xcb\x9b\xfbz\xa6\xbe\xb3\x90_\xef/\x8d\x9e\xad\xbe\xe4\xcb0\xd2\xec\xad\x12X:\xc8\x12\x12\xd9:\x95\xba	\x1cG\xb7$\xc5\xc44\x1c(\x1d\x03\x03\xdb\x84\x0cK#\xe0\x8a\xb8\x1b\x00\x1a\x08p\xb2SF\xa3\x01\x8f\x00%q\xa1Ny{k!8\xe5t>[{\xe2j\xddl\xc3\xcf\xee\xd0\xddW\x9ff3U\x9djobj\xbb\x87E\x88\x05l\x001\x12\x18\x13\xc6 \xb7(\xe3\x02a\x80\x81\xcel.u\x9b\x1b\x8c\x91\x80Z\x0c\x15\x15 (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1139
  \x7f0\xdc\xe4\x92\xa6\xb87\x16\xf2\xcaT\x14\xef\xe1\\pM\r (no-eol) (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1140
  kz\x10h2\x1a\xd3X\x98D\x9aD\\\xb8\x1a\x14\x12\x10f#\x87\xe8H\xad\x1d\xd9\xb2\xf5}cV{}\xf6:\xb3\xbd\xad\xaf\xd5?\xb9\xe3\xf6\xd4\xcf\x15\x84.\x8bT{\x97\x16\xa4Z\xeaX\x10\xabL\xc8\x81DJ\xc8\x18\x00\xccq\x80A-j2j	\x83\x1b\x02\x03O|PQ\xae\xc8W\x9d\xd7h\x8cDX\xb8<\xee\x12\xda,\xfe\xfc\x005\xb3K\xc1\x14\xd9\x8b\xb3^C\xc7\xa6\xb3\xea\x83\xdd\xdf.d\x17]\xe9\xbf\xff}\xe3\xf0#\xff\xaam+\x88Z\x16\xa9\xf6&tT+\xf2\x96\xe8h\x8d$\x94\xa8\xf1}\x8aC\x8a\xc2\xc59\x8dE[Z\x8e\xb9\xda\xc9cnX\x8b\xb467{\xad\x8e\x11\xe6\x8aX\xb9\x96L52\xbf\xb0\xff\xe3\x81M\x9fk\x07\xf3\x7f\xf4\x1c\xbe\xbc\x80s\xea^\x7fY\xc1\xca\xcb"\x8d\xbb\x1a\x16]\xea\x83\x82Cb8:$\x80Bd\x02\x08\x90!\x88P^\x12\x88B\xdba:\xa6\x0e\xe0<\xf0O\x8bU\x82\x81\xe3wr\xb2\xba\xe6{&\xcaNL\xceutln\xfb\xdc\xb6{,\xd3\x82\xd28IO\xb8\xd7G\x0cF!\x16\x86\x8d\x11@\x02A\xcb\xc2\x94Q\x04L\x01\x00u8\x86&0\xb0EtO\xd0\xc5\x9c#\xb4'\xef`\xc9\xaf\xd2\xd1\xf5\x83\xab\x9f<\x1e\x8fT\x84:R\x89L%\xe8/\xee \x8a>E\x99\xd7\x1dlZ\x08B\x1dc\xf5\\0\x83\x01B\x95Im\x1d[\x92s*\x99`L\xd7\x894e qfn\xb2 (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1141
  \xa5mh\xbc\xf8\xdd\xa9\xca\x9a*\xd9;^y\xd4\xf7t\xbah\xf5\xf9\x1b\x99\xfe\xe94\xcd*[zu\x05\x92\xa6ML\x82!D\x16"\xc0\x01\x90Y\xd2\x96\x08a\xe9\xdd\xfa\xa4\xb6\xc4#\xa6\xbexpjh\xa0$\xb7\xb0V\xdb\xfba\xbef\xee\xe1\xe9\x17\xbd\xfd3\x99JKc\xc25\x89+\xeaE\xce\xffK\x17>\xc7\xb7\x16tE^\x8e\xde\x0bu\x17Dg\x9e\xbf\x99\xd8\xf0\xa01\xd3\xbc+\xbc\x13k\x14~\x12\x89\xbaa\x11K\x96\xe5\xfb\r (no-eol) (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1142
  \x95)\xbe\xf6 (no-eol) (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1143
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1144
stream_out
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1145
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1146
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out'
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1147
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1148
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1149
  1
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1150
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1151
failing unbundle, requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1152
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1153
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=unbundle'
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1154
  405 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1155
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1156
  0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1157
  push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1158
  [1]
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1159
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1160
Static files
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
  1161
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
  1162
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'static/style.css'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1163
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1164
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1165
  a { text-decoration:none; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1166
  .age { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1167
  .date { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1168
  .indexlinks { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1169
  .parity0 { background-color: #ddd; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1170
  .parity1 { background-color: #eee; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1171
  .lineno { width: 60px; color: #aaa; font-size: smaller;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1172
            text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1173
  .plusline { color: green; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1174
  .minusline { color: red; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1175
  .atline { color: purple; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1176
  .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1177
  .buttons a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1178
    background-color: #666;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1179
    padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1180
    color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1181
    font-family: sans;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1182
    font-weight: bold;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1183
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1184
  .navigate a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1185
    background-color: #ccc;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1186
    padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1187
    font-family: sans;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1188
    color: black;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1189
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1190
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1191
  .metatag {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1192
    background-color: #888;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1193
    color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1194
    text-align: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1195
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1196
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1197
  /* Common */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1198
  pre { margin: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1199
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1200
  .logo {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1201
    float: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1202
    clear: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1203
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1204
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1205
  /* Changelog/Filelog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1206
  .logEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1207
  .logEntry .age { width: 15%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1208
  .logEntry th { font-weight: normal; text-align: right; vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1209
  .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1210
  .logEntry th.firstline { text-align: left; width: inherit; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1211
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1212
  /* Shortlog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1213
  .slogEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1214
  .slogEntry .age { width: 8em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1215
  .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1216
  .slogEntry td.author { width: 15em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1217
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1218
  /* Tag entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1219
  #tagEntries { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1220
  #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1221
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1222
  /* Changeset entry */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1223
  #changesetEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1224
  #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1225
  #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1226
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1227
  /* File diff view */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1228
  #filediffEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1229
  #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1230
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1231
  /* Graph */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1232
  div#wrapper {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1233
  	position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1234
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1235
  	padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1236
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1237
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1238
  canvas {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1239
  	position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1240
  	z-index: 5;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1241
  	top: -0.6em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1242
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1243
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1244
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1245
  ul#nodebgs {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1246
  	list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1247
  	padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1248
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1249
  	top: -0.7em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1250
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1251
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1252
  ul#graphnodes li, ul#nodebgs li {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1253
  	height: 39px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1254
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1255
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1256
  ul#graphnodes {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1257
  	position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1258
  	z-index: 10;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1259
  	top: -0.85em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1260
  	list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1261
  	padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1262
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1263
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1264
  ul#graphnodes li .info {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1265
  	display: block;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1266
  	font-size: 70%;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1267
  	position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1268
  	top: -1px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1269
  }
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
  1270
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1271
Stop and restart with HGENCODING=cp932 and preferuncompressed
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1272
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
  1273
  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1274
  $ HGENCODING=cp932 hg serve --config server.preferuncompressed=True -n test \
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1275
  >     -p $HGPORT -d --pid-file=hg.pid -E errors.log
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1276
  $ cat hg.pid >> $DAEMON_PIDS
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1277
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1278
commit message with Japanese Kanji 'Noh', which ends with '\x5c'
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
  1279
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1280
  $ echo foo >> foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1281
  $ HGENCODING=cp932 hg ci -m `python -c 'print("\x94\x5c")'`
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1282
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1283
Graph json escape of multibyte character
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1284
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
  1285
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/' \
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1286
  >     | grep -a '^var data ='
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1287
  var data = [["061dd13ba3c3", [0, 1], [[0, 0, 1, -1, ""]], "\\u80fd", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["cad8025a2e87", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch commit with null character: \x00", "test", "1970-01-01", ["unstable", false], [], []], ["1d22e65f027e", [0, 1], [[0, 0, 1, 3, ""]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, 3, ""]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], ["anotherthing"]]]; (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1288
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1289
capabilities
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1290
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1291
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1292
  200 Script output follows
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1293
  
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1294
  lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream-preferred stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1295
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1296
heads
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  1297
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1298
ERRORS ENCOUNTERED
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1299
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1300
  $ cat errors.log
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
  1301
  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
  1302
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
  1303
  $ cd ..
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1304
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1305
Test graph paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1306
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1307
  $ mkcommit() {
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1308
  >  echo $1 >> a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1309
  >  hg ci -Am $1 a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1310
  > }
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1311
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1312
  $ hg init graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1313
  $ cd graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1314
  $ mkcommit 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1315
  $ mkcommit 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1316
  $ mkcommit 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1317
  $ mkcommit 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1318
  $ mkcommit 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1319
  $ mkcommit 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1320
  $ hg serve --config server.uncompressed=False \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1321
  >          --config web.maxshortchanges=2 \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1322
  >          -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1323
  $ cat hg.pid >> $DAEMON_PIDS
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1324
  $ hg log -G --template '{rev}:{node|short} {desc}\n'
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1325
  @  5:aed2d9c1d0e7 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1326
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1327
  o  4:b60a39a85a01 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1328
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1329
  o  3:ada793dcc118 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1330
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1331
  o  2:ab4f1438558b 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1332
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1333
  o  1:e06180cbfb0c 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1334
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1335
  o  0:b4e73ffab476 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1336
  
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1337
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1338
Test paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1339
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1340
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1341
  >   'graph/?style=raw' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1342
  changeset:   aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1343
  changeset:   b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1344
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1345
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1346
  >   'graph/?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1347
  changeset:   aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1348
  changeset:   b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1349
  changeset:   ada793dcc118
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1350
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1351
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1352
  >   'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1353
  changeset:   ab4f1438558b
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1354
  changeset:   e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1355
  changeset:   b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1356
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1357
  $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1358
  >   'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1359
  changeset:   ab4f1438558b
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1360
  changeset:   e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1361
  changeset:   b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1362
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1363
  $ cat errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1364
18480
5ef3c7081008 tests: improve description of hgweb secret bookmarks test
Kevin Bullock <kbullock@ringworld.org>
parents: 18478
diff changeset
  1365
bookmarks view doesn't choke on bookmarks on secret changesets (issue3774)
18478
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1366
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1367
  $ hg phase -fs 4
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1368
  $ hg bookmark -r4 secret
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1369
  $ cat > hgweb.cgi <<HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1370
  > from mercurial import demandimport; demandimport.enable()
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1371
  > from mercurial.hgweb import hgweb
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1372
  > from mercurial.hgweb import wsgicgi
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1373
  > app = hgweb('.', 'test')
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1374
  > wsgicgi.launch(app)
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1375
  > HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1376
  $ . "$TESTDIR/cgienv"
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1377
  $ PATH_INFO=/bookmarks; export PATH_INFO
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1378
  $ QUERY_STRING='style=raw'
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1379
  $ python hgweb.cgi | grep -v ETag:
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1380
  Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1381
  Content-Type: text/plain; charset=ascii\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1382
  \r (esc)
18478
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  1383
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1384
listbookmarks hides secret bookmarks
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1385
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1386
  $ PATH_INFO=/; export PATH_INFO
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1387
  $ QUERY_STRING='cmd=listkeys&namespace=bookmarks'
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1388
  $ python hgweb.cgi
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1389
  Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1390
  Content-Type: application/mercurial-0.1\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1391
  Content-Length: 0\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  1392
  \r (esc)
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  1393
18497
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1394
search works with filtering
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1395
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1396
  $ PATH_INFO=/log; export PATH_INFO
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1397
  $ QUERY_STRING='rev=babar'
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1398
  $ python hgweb.cgi > search
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1399
  $ grep Status search
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1400
  Status: 200 Script output follows\r (esc)
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  1401
18563
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1402
summary works with filtering (issue3810)
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1403
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1404
  $ PATH_INFO=/summary; export PATH_INFO
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1405
  $ QUERY_STRING='style=monoblue'; export QUERY_STRING
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1406
  $ python hgweb.cgi > summary.out
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1407
  $ grep "^Status" summary.out
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1408
  Status: 200 Script output follows\r (esc)
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  1409
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1410
proper status for filtered revision
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1411
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1412
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1413
(missing rev)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1414
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1415
  $ PATH_INFO=/rev/5; export PATH_INFO
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1416
  $ QUERY_STRING='style=raw'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1417
  $ python hgweb.cgi #> search
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1418
  Status: 404 Not Found\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1419
  ETag: *\r (glob) (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1420
  Content-Type: text/plain; charset=ascii\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1421
  \r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1422
  
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1423
  error: unknown revision '5'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1424
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1425
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1426
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1427
(filtered rev)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1428
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1429
  $ PATH_INFO=/rev/4; export PATH_INFO
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1430
  $ QUERY_STRING='style=raw'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1431
  $ python hgweb.cgi #> search
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1432
  Status: 404 Not Found\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1433
  ETag: *\r (glob) (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1434
  Content-Type: text/plain; charset=ascii\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1435
  \r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1436
  
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1437
  error: unknown revision '4'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  1438
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1439
  $ cd ..