tests/test-hgweb-commands.t
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 03 Apr 2018 10:15:21 -0700
changeset 37339 5859800edfc5
parent 37330 db06c4bb2158
child 37413 33af46d639b4
permissions -rw-r--r--
changegroup: remove "revlog" from error message The previous message leaked an implementation detail. Differential Revision: https://phab.mercurial-scm.org/D3041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 21873
diff changeset
     1
#require serve
15446
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
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    29
  >>> 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
    30
  $ hg ci -l msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    31
  $ rm msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    32
21485
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    33
  $ cat > .hg/hgrc <<EOF
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    34
  > [graph]
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    35
  > default.width = 3
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    36
  > stable.width = 3
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    37
  > stable.color = FF0000
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
    38
  > [websub]
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
    39
  > append = s|(.*)|\1(websub)|
21485
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    40
  > EOF
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
    41
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    42
  $ 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
    43
  $ cat hg.pid >> $DAEMON_PIDS
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    44
  $ 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
    45
  @  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
    46
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    47
  o  2:1d22e65f027e branch
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    48
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    49
  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
    50
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    51
  o  0:2ef0ac749a14 base
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
    52
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    53
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    54
Logs and changes
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
    55
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
    56
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    57
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    58
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    59
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    60
  <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    61
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    62
   <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
    63
   <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
    64
   <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    65
   <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    66
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    67
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
    68
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
    69
    <title>[unstable] branch commit with null character: </title>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
    70
    <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
    71
    <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
    72
    <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    73
     <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    74
     <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
    75
    </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
    76
    <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
    77
    <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
    78
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    79
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    80
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    81
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    82
       <td>cad8025a2e87</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    83
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    84
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    85
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    86
       <td>unstable</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    87
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    88
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    89
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    90
       <td>something</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    91
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    92
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    93
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    94
       <td>tip</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    95
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    96
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    97
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    98
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
    99
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   100
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   101
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   102
       <td>branch commit with null character: (websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   103
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   104
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   105
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   106
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   107
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   108
     </table>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   109
    </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   110
   </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   111
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
   112
    <title>[stable] branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   113
    <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   114
    <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   115
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   116
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   117
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   118
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   119
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   120
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   121
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   122
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   123
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   124
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   125
       <td>1d22e65f027e</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   126
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   127
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   128
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   129
       <td>stable</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   130
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   131
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   132
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   133
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   134
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   135
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   136
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   137
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   138
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   139
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   140
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   141
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   142
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   143
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   144
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   145
       <td>branch(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   146
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   147
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   148
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   149
       <td>foo<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   150
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   151
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   152
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   153
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   154
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
   155
    <title>[default] 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
   156
    <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   157
    <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   158
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   159
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   160
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   161
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   162
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   163
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   164
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   165
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   166
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   167
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   168
       <td>a4f92ed23982</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   169
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   170
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   171
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   172
       <td>default</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   173
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   174
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   175
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   176
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   177
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   178
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   179
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   180
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   181
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   182
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   183
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   184
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   185
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   186
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   187
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   188
       <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   189
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   190
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   191
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   192
       <td>.hgtags<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   193
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   194
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   195
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   196
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   197
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   198
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   199
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   200
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   201
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   202
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   203
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   204
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   205
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   206
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   207
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   208
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   209
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   210
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   211
       <td>2ef0ac749a14</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   212
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   213
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   214
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   215
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   216
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   217
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   218
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   219
       <td>anotherthing</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   220
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   221
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   222
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   223
       <td>1.0</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   224
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   225
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   226
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   227
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   228
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   229
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   230
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   231
       <td>base(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   232
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   233
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   234
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   235
       <td>da/foo<br />foo<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   236
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   237
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   238
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   239
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   240
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   241
  </feed>
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   242
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/?style=rss'
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   243
  200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   244
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   245
  <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   246
  <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   247
    <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   248
      <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   249
      <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   250
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   251
      <title>test Changelog</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   252
      <description>test Changelog</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   253
      <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   254
      <title>[unstable] branch commit with null character: </title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   255
      <guid isPermaLink="true">http://*:$HGPORT/rev/cad8025a2e87</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   256
      <link>http://*:$HGPORT/rev/cad8025a2e87</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   257
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   258
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   259
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   260
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   261
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   262
                  <td>cad8025a2e87</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   263
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   264
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   265
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   266
                  <td>unstable</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   267
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   268
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   269
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   270
                  <td>something</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   271
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   272
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   273
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   274
                  <td>tip</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   275
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   276
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   277
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   278
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   279
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   280
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   281
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   282
                  <td>branch commit with null character: (websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   283
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   284
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   285
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   286
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   287
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   288
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   289
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   290
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   291
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   292
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   293
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   294
  <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   295
      <title>[stable] branch</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   296
      <guid isPermaLink="true">http://*:$HGPORT/rev/1d22e65f027e</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   297
      <link>http://*:$HGPORT/rev/1d22e65f027e</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   298
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   299
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   300
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   301
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   302
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   303
                  <td>1d22e65f027e</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   304
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   305
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   306
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   307
                  <td>stable</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   308
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   309
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   310
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   311
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   312
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   313
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   314
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   315
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   316
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   317
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   318
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   319
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   320
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   321
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   322
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   323
                  <td>branch(websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   324
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   325
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   326
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   327
                  <td>foo<br /></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   328
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   329
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   330
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   331
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   332
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   333
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   334
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   335
  <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   336
      <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   337
      <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   338
      <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   339
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   340
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   341
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   342
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   343
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   344
                  <td>a4f92ed23982</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   345
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   346
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   347
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   348
                  <td>default</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   349
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   350
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   351
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   352
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   353
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   354
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   355
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   356
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   357
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   358
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   359
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   360
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   361
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   362
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   363
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   364
                  <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   365
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   366
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   367
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   368
                  <td>.hgtags<br /></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   369
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   370
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   371
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   372
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   373
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   374
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   375
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   376
  <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   377
      <title>base</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   378
      <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   379
      <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   380
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   381
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   382
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   383
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   384
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   385
                  <td>2ef0ac749a14</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   386
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   387
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   388
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   389
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   390
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   391
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   392
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   393
                  <td>anotherthing</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   394
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   395
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   396
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   397
                  <td>1.0</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   398
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   399
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   400
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   401
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   402
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   403
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   404
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   405
                  <td>base(websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   406
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   407
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   408
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   409
                  <td>da/foo<br />foo<br /></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   410
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   411
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   412
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   413
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   414
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   415
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   416
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   417
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   418
    </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   419
  </rss> (no-eol)
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   420
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/1/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   421
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   422
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   423
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   424
  <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   425
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   426
   <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   427
   <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
   428
   <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   429
   <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   430
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   431
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   432
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
   433
    <title>[default] 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
   434
    <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   435
    <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   436
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   437
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   438
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   439
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   440
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   441
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   442
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   443
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   444
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   445
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   446
       <td>a4f92ed23982</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   447
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   448
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   449
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   450
       <td>default</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   451
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   452
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   453
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   454
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   455
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   456
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   457
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   458
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   459
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   460
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   461
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   462
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   463
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   464
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   465
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   466
       <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   467
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   468
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   469
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   470
       <td>.hgtags<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   471
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   472
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   473
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   474
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   475
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   476
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   477
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   478
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   479
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   480
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   481
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   482
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   483
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   484
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   485
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   486
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   487
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   488
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   489
       <td>2ef0ac749a14</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   490
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   491
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   492
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   493
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   494
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   495
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   496
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   497
       <td>anotherthing</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   498
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   499
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   500
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   501
       <td>1.0</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   502
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   503
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   504
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   505
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   506
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   507
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   508
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   509
       <td>base(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   510
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   511
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   512
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   513
       <td>da/foo<br />foo<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   514
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   515
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   516
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   517
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   518
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   519
  </feed>
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   520
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/1/?style=rss'
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   521
  200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   522
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   523
  <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   524
  <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   525
    <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   526
      <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   527
      <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   528
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   529
      <title>test Changelog</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   530
      <description>test Changelog</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   531
      <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   532
      <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   533
      <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   534
      <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   535
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   536
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   537
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   538
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   539
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   540
                  <td>a4f92ed23982</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   541
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   542
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   543
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   544
                  <td>default</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   545
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   546
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   547
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   548
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   549
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   550
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   551
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   552
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   553
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   554
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   555
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   556
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   557
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   558
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   559
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   560
                  <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   561
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   562
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   563
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   564
                  <td>.hgtags<br /></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   565
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   566
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   567
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   568
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   569
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   570
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   571
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   572
  <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   573
      <title>base</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   574
      <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob)
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   575
      <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob)
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   576
      <description>
29436
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   577
      <![CDATA[
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   578
          <table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   579
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   580
                  <th style="text-align:left;">changeset</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   581
                  <td>2ef0ac749a14</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   582
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   583
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   584
                  <th style="text-align:left;">branch</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   585
                  <td></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   586
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   587
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   588
                  <th style="text-align:left;">bookmark</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   589
                  <td>anotherthing</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   590
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   591
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   592
                  <th style="text-align:left;">tag</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   593
                  <td>1.0</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   594
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   595
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   596
                  <th style="text-align:left;vertical-align:top;">user</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   597
                  <td>&#116;&#101;&#115;&#116;</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   598
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   599
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   600
                  <th style="text-align:left;vertical-align:top;">description</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   601
                  <td>base(websub)</td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   602
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   603
              <tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   604
                  <th style="text-align:left;vertical-align:top;">files</th>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   605
                  <td>da/foo<br />foo<br /></td>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   606
              </tr>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   607
          </table>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   608
      ]]>
849b8e84487e hgweb: reindent rss/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29387
diff changeset
   609
      </description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   610
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   611
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   612
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   613
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   614
    </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   615
  </rss> (no-eol)
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   616
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/1/foo/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   617
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   618
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   619
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   620
  <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
   621
   <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
   622
   <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
   623
   <title>test: foo history</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   624
   <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   625
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   626
   <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   627
    <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   628
    <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
   629
    <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   630
    <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   631
     <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   632
     <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   633
    </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   634
    <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   635
    <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   636
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   637
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   638
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   639
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   640
       <td>2ef0ac749a14</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   641
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   642
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   643
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   644
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   645
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   646
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   647
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   648
       <td>anotherthing</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   649
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   650
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   651
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   652
       <td>1.0</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   653
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   654
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   655
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   656
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   657
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   658
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   659
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   660
       <td>base(websub)</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   661
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   662
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   663
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   664
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   665
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 29436
diff changeset
   666
     </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   667
    </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   668
   </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   669
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   670
  </feed>
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   671
  $ get-with-headers.py $LOCALIP:$HGPORT 'log/1/foo/?style=rss'
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   672
  200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   673
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   674
  <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   675
  <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   676
    <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   677
      <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   678
      <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   679
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   680
      <title>test: foo history</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   681
      <description>foo revision history</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   682
      <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   683
      <title>base</title>
30558
7817df5585db hgweb: add missing slash to file log url in rss style
Anton Shestakov <av6@dwimlabs.net>
parents: 30074
diff changeset
   684
      <link>http://*:$HGPORT/log/2ef0ac749a14/foo</link> (glob)
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
   685
      <description><![CDATA[base(websub)]]></description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   686
      <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   687
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   688
  </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   689
  
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   690
    </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
   691
  </rss>
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   692
  $ get-with-headers.py $LOCALIP:$HGPORT 'shortlog/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   693
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   694
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   695
  <!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
   696
  <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
   697
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   698
  <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
   699
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   700
  <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
   701
  <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
   702
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   703
  <title>test: log</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   704
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   705
     href="/atom-log" title="Atom feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   706
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   707
     href="/rss-log" title="RSS feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   708
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   709
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   710
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   711
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   712
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   713
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
   714
  <a href="https://mercurial-scm.org/">
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   715
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   716
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   717
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   718
  <li class="active">log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   719
  <li><a href="/graph/tip">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   720
  <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
   721
  <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   722
  <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   723
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   724
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   725
  <li><a href="/rev/tip">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   726
  <li><a href="/file/tip">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   727
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   728
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   729
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   730
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   731
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   732
   <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
   733
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   734
  <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
   735
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   736
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   737
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
   738
  </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   739
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   740
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   741
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   742
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   743
  <h3>log</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   744
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
   745
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   746
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   747
  
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19387
diff changeset
   748
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   749
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   750
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   751
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   752
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   753
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   754
  <a href="/shortlog/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   755
  <a href="/shortlog/tip?revcount=120">more</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   756
  | 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
   757
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   758
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   759
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24042
diff changeset
   760
  <thead>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   761
   <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   762
    <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   763
    <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   764
    <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   765
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24042
diff changeset
   766
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   767
  <tbody class="stripes2">
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   768
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   769
    <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
   770
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   771
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   772
     <a href="/rev/cad8025a2e87">branch commit with null character: </a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
   773
     <span class="phase">draft</span> <span class="branchhead">unstable</span> <span class="tag">tip</span> <span class="tag">something</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   774
    </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   775
   </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   776
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   777
    <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
   778
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   779
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   780
     <a href="/rev/1d22e65f027e">branch</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
   781
     <span class="phase">draft</span> <span class="branchhead">stable</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   782
    </td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   783
   </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   784
   <tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   785
    <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
   786
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   787
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   788
     <a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
   789
     <span class="phase">draft</span> <span class="branchhead">default</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   790
    </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   791
   </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   792
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
   793
    <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
   794
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   795
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   796
     <a href="/rev/2ef0ac749a14">base</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
   797
     <span class="phase">draft</span> <span class="tag">1.0</span> <span class="tag">anotherthing</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
   798
    </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   799
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   800
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
   801
  </tbody>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   802
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   803
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   804
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   805
  <a href="/shortlog/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   806
  <a href="/shortlog/tip?revcount=120">more</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
   807
  | 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
   808
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   809
  
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   810
  <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   811
      ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
   812
              '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   813
              '', <!-- NEXTHASH
35654
59c842a3d1e1 hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents: 35605
diff changeset
   814
              function (htmlText) {
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
   815
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
   816
                  return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
   817
              },
24952
169d2470d283 hgweb: bring back infinite scroll in shortlog of paper style
Yuya Nishihara <yuya@tcha.org>
parents: 24800
diff changeset
   818
              '.bigtable > tbody',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   819
              '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   820
              <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   821
              </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   822
      );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   823
  </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
   824
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   825
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   826
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   827
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   828
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   829
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   830
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   831
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   832
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   833
  $ get-with-headers.py $LOCALIP:$HGPORT 'rev/0/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   834
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   835
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   836
  <!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
   837
  <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
   838
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   839
  <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
   840
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   841
  <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
   842
  <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
   843
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   844
  <title>test: 2ef0ac749a14</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   845
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   846
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   847
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   848
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   849
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
   850
  <a href="https://mercurial-scm.org/">
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   851
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   852
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   853
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   854
   <li><a href="/shortlog/0">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   855
   <li><a href="/graph/0">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   856
   <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
   857
   <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   858
   <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   859
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   860
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   861
   <li class="active">changeset</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   862
   <li><a href="/raw-rev/0">raw</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   863
   <li><a href="/file/0">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   864
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   865
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   866
   
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   867
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   868
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
   869
   <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
   870
  </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   871
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   872
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   873
  <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   874
  
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   875
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   876
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   877
   changeset 0:<a href="/rev/2ef0ac749a14">2ef0ac749a14</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
   878
   <span class="phase">draft</span> <span class="tag">1.0</span> <span class="tag">anotherthing</span> 
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   879
  </h3>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   880
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
   881
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   882
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   883
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
   884
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   885
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   886
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   887
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   888
  
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
   889
  <div class="description">base(websub)</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   890
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   891
  <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   892
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   893
   <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   894
   <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   895
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   896
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   897
   <th class="date">date</th>
24130
03f692eee31d hgweb: clearly outline <tr> block in paper/changeset.tmpl
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   898
   <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
03f692eee31d hgweb: clearly outline <tr> block in paper/changeset.tmpl
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   899
  </tr>
35485
1721ce06100a hgweb: display fate of obsolete changesets
Anton Shestakov <av6@dwimlabs.net>
parents: 35415
diff changeset
   900
  
36955
f21798a6bc20 hgweb: explain instabilities of unstable changesets
Anton Shestakov <av6@dwimlabs.net>
parents: 36860
diff changeset
   901
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   902
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   903
   <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   904
   <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   905
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   906
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   907
   <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   908
   <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
   909
  </tr>
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
   <th class="files">files</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   912
   <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
   913
  </tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   914
  <tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   915
    <th class="diffstat">diffstat</th>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   916
    <td class="diffstat">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   917
       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
   918
  
23831
0ab23a48b9a7 hgweb: fix diffstat links in paper/changeset.tmpl
Anton Shestakov <engored@ya.ru>
parents: 23830
diff changeset
   919
      <a id="diffstatexpand" href="javascript:toggleDiffstat()">[<tt>+</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   920
      <div id="diffstatdetails" style="display:none;">
23831
0ab23a48b9a7 hgweb: fix diffstat links in paper/changeset.tmpl
Anton Shestakov <engored@ya.ru>
parents: 23830
diff changeset
   921
        <a href="javascript:toggleDiffstat()">[<tt>-</tt>]</a>
24042
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   922
        <table class="diffstat-table stripes2">  <tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   923
      <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
   924
      <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
   925
      <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   926
        <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
   927
        <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
   928
      </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   929
    </tr>
19455
c229a5e7511e hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19452
diff changeset
   930
    <tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   931
      <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
   932
      <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
   933
      <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   934
        <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
   935
        <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
   936
      </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   937
    </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   938
  </table>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   939
      </div>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   940
    </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
   941
  </tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   942
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   943
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   944
  <div class="overflow">
19433
a79b21ece345 hgweb: add line wrapping switch to file diff and changeset views
Alexander Plavin <me@aplavin.ru>
parents: 19432
diff changeset
   945
  <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   946
  <div class="sourcefirst"> line diff</div>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   947
  <div class="stripes2 diffblocks">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   948
  <div class="bottomline inc-lineno"><pre class="sourcelines wrap">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   949
  <span id="l1.1" class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000</span><a href="#l1.1"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   950
  <span id="l1.2" class="plusline">+++ b/da/foo	Thu Jan 01 00:00:00 1970 +0000</span><a href="#l1.2"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   951
  <span id="l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#l1.3"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   952
  <span id="l1.4" class="plusline">+foo</span><a href="#l1.4"></a></pre></div><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   953
  <span id="l2.1" class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000</span><a href="#l2.1"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   954
  <span id="l2.2" class="plusline">+++ b/foo	Thu Jan 01 00:00:00 1970 +0000</span><a href="#l2.2"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   955
  <span id="l2.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#l2.3"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   956
  <span id="l2.4" class="plusline">+foo</span><a href="#l2.4"></a></pre></div>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
   957
  </div>
12433
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
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   960
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   961
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   962
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   963
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   964
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   965
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   966
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   967
  $ get-with-headers.py $LOCALIP:$HGPORT 'rev/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   968
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   969
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   970
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   971
  # HG changeset patch
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   972
  # User test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   973
  # Date 0 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   974
  # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   975
  # Parent  2ef0ac749a14e4f57a5a822464a0902c6f7f448f
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   976
  Added tag 1.0 for changeset 2ef0ac749a14
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
  diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   979
  --- /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
   980
  +++ 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
   981
  @@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   982
  +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   983
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   984
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=base'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   985
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   986
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   987
  <!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
   988
  <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
   989
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   990
  <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
   991
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   992
  <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
   993
  <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
   994
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   995
  <title>test: searching for base</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   996
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   997
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   998
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
   999
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1000
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1001
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
  1002
  <a href="https://mercurial-scm.org/">
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1003
  <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
  1004
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1005
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1006
  <li><a href="/shortlog">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1007
  <li><a href="/graph">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1008
  <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
  1009
  <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1010
  <li><a href="/branches">branches</a></li>
25524
e0c09398c237 hgweb: put help link in paper/search.tmpl separately for consistency
Anton Shestakov <av6@dwimlabs.net>
parents: 25474
diff changeset
  1011
  </ul>
e0c09398c237 hgweb: put help link in paper/search.tmpl separately for consistency
Anton Shestakov <av6@dwimlabs.net>
parents: 25474
diff changeset
  1012
  <ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
  1013
  <li><a href="/help">help</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1014
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1015
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1016
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1017
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
  1018
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1019
  <h3>searching for 'base'</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1020
  
19766
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
  1021
  <p>
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
  1022
  Assuming literal keyword search.
19768
186f54d40fdd hgweb: add link to force literal keyword search
Alexander Plavin <alexander@plav.in>
parents: 19767
diff changeset
  1023
  
186f54d40fdd hgweb: add link to force literal keyword search
Alexander Plavin <alexander@plav.in>
parents: 19767
diff changeset
  1024
  
19766
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
  1025
  </p>
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
  1026
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1027
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1028
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1029
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1030
  <p><input name="rev" id="search1" type="text" size="30" value="base" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
  1031
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
  1032
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1033
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1034
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1035
  <div class="navigate">
23377
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
  1036
  <a href="/log?rev=base&revcount=5">less</a>
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
  1037
  <a href="/log?rev=base&revcount=20">more</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1038
  </div>
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
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24042
diff changeset
  1041
  <thead>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1042
   <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1043
    <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1044
    <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1045
    <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1046
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24042
diff changeset
  1047
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
  1048
  <tbody class="stripes2">
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
  1049
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1050
    <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
  1051
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
  1052
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
  1053
     <a href="/rev/2ef0ac749a14">base</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1054
     <span class="phase">draft</span> <span class="tag">1.0</span> <span class="tag">anotherthing</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24952
diff changeset
  1055
    </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1056
   </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1057
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
  1058
  </tbody>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1059
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1060
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1061
  <div class="navigate">
23377
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
  1062
  <a href="/log?rev=base&revcount=5">less</a>
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
  1063
  <a href="/log?rev=base&revcount=20">more</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1064
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1065
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1066
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1067
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1068
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1069
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1070
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1071
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1072
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1073
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1074
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=stable&style=raw' | grep 'revision:'
19634
49a068b8fb0c hgweb: always run search when a query is entered (bc)
Alexander Plavin <alexander@plav.in>
parents: 19626
diff changeset
  1075
  revision:    2
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1076
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1077
Search with revset syntax
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1078
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1079
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=tip^&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1080
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1081
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1082
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1083
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1084
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1085
  # Query "tip^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1086
  # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1087
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1088
  changeset:   1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1089
  revision:    2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1090
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1091
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1092
  summary:     branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1093
  branch:      stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1094
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1095
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1096
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=last(all(),2)^&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1097
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1098
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1099
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1100
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1101
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1102
  # Query "last(all(),2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1103
  # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1104
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1105
  changeset:   1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1106
  revision:    2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1107
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1108
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1109
  summary:     branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1110
  branch:      stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1111
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1112
  changeset:   a4f92ed23982be056b9852de5dfe873eaac7f0de
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1113
  revision:    1
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1114
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1115
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1116
  summary:     Added tag 1.0 for changeset 2ef0ac749a14
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1117
  branch:      default
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1118
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1119
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1120
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=last(all(,2)^&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1121
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1122
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1123
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1124
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1125
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1126
  # Query "last(all(,2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1127
  # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1128
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1129
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1130
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=last(al(),2)^&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1131
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1132
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1133
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1134
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1135
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1136
  # Query "last(al(),2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1137
  # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1138
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1139
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1140
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=bookmark(anotherthing)&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1141
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1142
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1143
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1144
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1145
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1146
  # Query "bookmark(anotherthing)"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1147
  # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1148
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1149
  changeset:   2ef0ac749a14e4f57a5a822464a0902c6f7f448f
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1150
  revision:    0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1151
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1152
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1153
  summary:     base
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1154
  tag:         1.0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1155
  bookmark:    anotherthing
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1156
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1157
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1158
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=bookmark(abc)&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1159
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1160
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1161
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1162
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1163
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1164
  # Query "bookmark(abc)"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1165
  # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1166
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1167
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1168
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=deadbeef:&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1169
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1170
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1171
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1172
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1173
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1174
  # Query "deadbeef:"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1175
  # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1176
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1177
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1178
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1179
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=user("test")&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1180
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1181
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1182
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1183
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1184
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1185
  # Query "user("test")"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1186
  # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1187
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1188
  changeset:   cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1189
  revision:    3
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1190
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1191
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1192
  summary:     branch commit with null character: \x00 (esc)
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1193
  branch:      unstable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1194
  tag:         tip
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1195
  bookmark:    something
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1196
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1197
  changeset:   1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1198
  revision:    2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1199
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1200
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1201
  summary:     branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1202
  branch:      stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1203
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1204
  changeset:   a4f92ed23982be056b9852de5dfe873eaac7f0de
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1205
  revision:    1
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1206
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1207
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1208
  summary:     Added tag 1.0 for changeset 2ef0ac749a14
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1209
  branch:      default
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1210
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1211
  changeset:   2ef0ac749a14e4f57a5a822464a0902c6f7f448f
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1212
  revision:    0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1213
  user:        test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1214
  date:        Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1215
  summary:     base
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1216
  tag:         1.0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1217
  bookmark:    anotherthing
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1218
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1219
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1220
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=user("re:test")&style=raw'
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1221
  200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1222
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1223
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1224
  # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1225
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1226
  # Query "user("re:test")"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
  1227
  # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1228
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1229
  
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
  1230
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1231
File-related
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1232
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1233
  $ get-with-headers.py $LOCALIP:$HGPORT 'file/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1234
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1235
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1236
  foo
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1237
  $ get-with-headers.py $LOCALIP:$HGPORT 'annotate/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1238
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1239
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1240
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1241
  test@0: foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1242
  
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
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1246
  $ get-with-headers.py $LOCALIP:$HGPORT 'file/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1247
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1248
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1249
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1250
  drwxr-xr-x da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1251
  -rw-r--r-- 45 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1252
  -rw-r--r-- 4 foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1253
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1254
  
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1255
  $ hg log --template "{file_mods}\n" -r 1
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1256
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1257
  $ hg parents --template "{node|short}\n" -r 1
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1258
  2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1259
  $ hg parents --template "{node|short}\n" -r 1 foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1260
  2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1261
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1262
  $ get-with-headers.py $LOCALIP:$HGPORT 'file/1/foo'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1263
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1264
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1265
  <!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
  1266
  <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
  1267
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1268
  <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
  1269
  <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1270
  <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
  1271
  <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
  1272
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1273
  <title>test: a4f92ed23982 foo</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1274
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1275
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1276
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1277
  <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1278
  <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1279
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
  1280
  <a href="https://mercurial-scm.org/">
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1281
  <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1282
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1283
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1284
  <li><a href="/shortlog/1">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1285
  <li><a href="/graph/1">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1286
  <li><a href="/tags">tags</a></li>
21120
9ea9e94c7492 hgweb: fix lack of "bookmarks" link in "/file" page of "paper" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21117
diff changeset
  1287
  <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1288
  <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1289
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1290
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1291
  <li><a href="/rev/1">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1292
  <li><a href="/file/1/">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1293
  </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1294
  <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1295
  <li class="active">file</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1296
  <li><a href="/file/tip/foo">latest</a></li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1297
  <li><a href="/diff/1/foo">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1298
  <li><a href="/comparison/1/foo">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1299
  <li><a href="/annotate/1/foo">annotate</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1300
  <li><a href="/log/1/foo">file log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1301
  <li><a href="/raw-file/1/foo">raw</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1302
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
  1303
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
  1304
  <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
  1305
  </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1306
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1307
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1308
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
  1309
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1310
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1311
   view foo @ 1:<a href="/rev/a4f92ed23982">a4f92ed23982</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1312
   <span class="phase">draft</span> <span class="branchhead">default</span> 
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1313
  </h3>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1314
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1315
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1316
  <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1317
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1318
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
  1319
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
  1320
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1321
  </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1322
  
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
  1323
  <div class="description">Added tag 1.0 for changeset 2ef0ac749a14(websub)</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1324
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1325
  <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1326
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1327
   <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1328
   <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1329
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1330
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1331
   <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
  1332
   <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
  1333
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1334
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1335
   <th class="author">parents</th>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1336
   <td class="author"><a href="/file/2ef0ac749a14/foo">2ef0ac749a14</a> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1337
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1338
  <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1339
   <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1340
   <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
  1341
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1342
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1343
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1344
  <div class="overflow">
19430
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19428
diff changeset
  1345
  <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1346
  <div class="sourcefirst"> line source</div>
32995
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1347
  <pre class="sourcelines stripes4 wrap bottomline"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1348
       data-logurl="/log/1/foo"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1349
       data-selectabletag="SPAN"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1350
       data-ishead="0">
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1351
  
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1352
  <span id="l1">foo</span><a href="#l1"></a>
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1353
  </pre>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1354
  </div>
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31008
diff changeset
  1355
  
31785
d15c9feb4399 hgweb: rename linerangelog.js as followlines.js
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31771
diff changeset
  1356
  <script type="text/javascript" src="/static/followlines.js"></script>
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31008
diff changeset
  1357
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1358
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1359
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1360
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1361
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1362
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1363
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1364
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1365
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1366
  $ get-with-headers.py $LOCALIP:$HGPORT 'filediff/0/foo/?style=raw'
16722
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1367
  200 Script output follows
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1368
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1369
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1370
  diff -r 000000000000 -r 2ef0ac749a14 foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1371
  --- /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
  1372
  +++ 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
  1373
  @@ -0,0 +1,1 @@
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1374
  +foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1375
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1376
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1377
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1378
  
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
  1379
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1380
  $ get-with-headers.py $LOCALIP:$HGPORT 'filediff/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1381
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1382
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1383
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1384
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1385
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1386
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1387
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1388
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1389
  $ hg log --template "{file_mods}\n" -r 2
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1390
  foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1391
  $ hg parents --template "{node|short}\n" -r 2
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1392
  a4f92ed23982
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1393
  $ hg parents --template "{node|short}\n" -r 2 foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1394
  2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1395
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1396
  $ get-with-headers.py $LOCALIP:$HGPORT 'file/2/foo'
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1397
  200 Script output follows
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1398
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1399
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1400
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1401
  <head>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1402
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1403
  <meta name="robots" content="index, nofollow" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1404
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1405
  <script type="text/javascript" src="/static/mercurial.js"></script>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1406
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1407
  <title>test: 1d22e65f027e foo</title>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1408
  </head>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1409
  <body>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1410
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1411
  <div class="container">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1412
  <div class="menu">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1413
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
  1414
  <a href="https://mercurial-scm.org/">
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1415
  <img src="/static/hglogo.png" alt="mercurial" /></a>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1416
  </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1417
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1418
  <li><a href="/shortlog/2">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1419
  <li><a href="/graph/2">graph</a></li>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1420
  <li><a href="/tags">tags</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1421
  <li><a href="/bookmarks">bookmarks</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1422
  <li><a href="/branches">branches</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1423
  </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1424
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1425
  <li><a href="/rev/2">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1426
  <li><a href="/file/2/">browse</a></li>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1427
  </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1428
  <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1429
  <li class="active">file</li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1430
  <li><a href="/file/tip/foo">latest</a></li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1431
  <li><a href="/diff/2/foo">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1432
  <li><a href="/comparison/2/foo">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1433
  <li><a href="/annotate/2/foo">annotate</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1434
  <li><a href="/log/2/foo">file log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
  1435
  <li><a href="/raw-file/2/foo">raw</a></li>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1436
  </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1437
  <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1438
  <li><a href="/help">help</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1439
  </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1440
  </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1441
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1442
  <div class="main">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1443
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1444
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1445
   view foo @ 2:<a href="/rev/1d22e65f027e">1d22e65f027e</a>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1446
   <span class="phase">draft</span> <span class="branchhead">stable</span> 
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
  1447
  </h3>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1448
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1449
  
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1450
  <form class="search" action="/log">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1451
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32070
diff changeset
  1452
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1453
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1454
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1455
  </form>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1456
  
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
  1457
  <div class="description">branch(websub)</div>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1458
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1459
  <table id="changesetEntry">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1460
  <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1461
   <th class="author">author</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1462
   <td class="author">&#116;&#101;&#115;&#116;</td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1463
  </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1464
  <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1465
   <th class="date">date</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1466
   <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1467
  </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1468
  <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1469
   <th class="author">parents</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1470
   <td class="author"><a href="/file/2ef0ac749a14/foo">2ef0ac749a14</a> </td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1471
  </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1472
  <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1473
   <th class="author">children</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1474
   <td class="author"></td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1475
  </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1476
  </table>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1477
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1478
  <div class="overflow">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1479
  <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1480
  <div class="sourcefirst"> line source</div>
32995
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1481
  <pre class="sourcelines stripes4 wrap bottomline"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1482
       data-logurl="/log/2/foo"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1483
       data-selectabletag="SPAN"
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1484
       data-ishead="1">
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1485
  
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1486
  <span id="l1">another</span><a href="#l1"></a>
7c82bfd55d47 hgweb: parameterize the tag name of elements holding followlines selection
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 32992
diff changeset
  1487
  </pre>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1488
  </div>
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31008
diff changeset
  1489
  
31785
d15c9feb4399 hgweb: rename linerangelog.js as followlines.js
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31771
diff changeset
  1490
  <script type="text/javascript" src="/static/followlines.js"></script>
31758
04ec317b8128 hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31008
diff changeset
  1491
  
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1492
  </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1493
  </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1494
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1495
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1496
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1497
  </body>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1498
  </html>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1499
  
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1500
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
  1501
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1502
Overviews
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1503
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1504
  $ get-with-headers.py $LOCALIP:$HGPORT 'raw-tags'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1505
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1506
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1507
  tip	cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1508
  1.0	2ef0ac749a14e4f57a5a822464a0902c6f7f448f
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1509
  $ get-with-headers.py $LOCALIP:$HGPORT 'raw-branches'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1510
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1511
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1512
  unstable	cad8025a2e87f88c06259790adfa15acb4080123	open
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1513
  stable	1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe	inactive
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1514
  default	a4f92ed23982be056b9852de5dfe873eaac7f0de	inactive
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1515
  $ get-with-headers.py $LOCALIP:$HGPORT 'raw-bookmarks'
13921
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
  1516
  200 Script output follows
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
  1517
  
28711
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1518
  something	cad8025a2e87f88c06259790adfa15acb4080123
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
  1519
  anotherthing	2ef0ac749a14e4f57a5a822464a0902c6f7f448f
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1520
  $ get-with-headers.py $LOCALIP:$HGPORT 'summary/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1521
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1522
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1523
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1524
  <!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
  1525
  <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
  1526
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1527
  <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
  1528
  <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1529
  <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
  1530
  <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
  1531
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1532
  <title>test: Summary</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1533
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1534
     href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1535
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1536
     href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1537
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1538
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1539
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1540
  <div class="page_header">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
  1541
  <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a>
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
  1542
  <a href="/">Mercurial</a>  / summary
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1543
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1544
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1545
  <div class="page_nav">
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1546
  <div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1547
  summary |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1548
  <a href="/shortlog?style=gitweb">shortlog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1549
  <a href="/log?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1550
  <a href="/graph?style=gitweb">graph</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1551
  <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
  1552
  <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1553
  <a href="/branches?style=gitweb">branches</a> |
25526
32f76eccbced hgweb: don't point file links at tip hash where it doesn't make sense
Anton Shestakov <av6@dwimlabs.net>
parents: 25524
diff changeset
  1554
  <a href="/file?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
  1555
  <a href="/help?style=gitweb">help</a>
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1556
  </div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1557
  
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1558
  <div class="search">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1559
  <form id="searchform" action="/log">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1560
  <input type="hidden" name="style" value="gitweb" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1561
  <input name="rev" type="text" value="" size="40" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1562
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1563
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1564
  </form>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1565
  </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1566
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1567
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1568
  <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1569
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1570
  <tr><td>description</td><td>unknown</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1571
  <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>
35138
e397f8585953 hgweb: show changeset age in more places (gitweb and monoblue)
Anton Shestakov <av6@dwimlabs.net>
parents: 35074
diff changeset
  1572
  <tr><td>last change</td><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
  1573
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1574
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1575
  <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
  1576
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1577
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1578
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1579
  <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
  1580
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1581
  <td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1582
  <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
  1583
  <b>branch commit with null character: </b>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1584
  <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="unstable">unstable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1585
  </a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1586
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1587
  <td class="link" nowrap>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1588
  <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
  1589
  <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
  1590
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1591
  </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1592
  <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1593
  <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
  1594
  <td><i>test</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1595
  <td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1596
  <a class="list" href="/rev/1d22e65f027e?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1597
  <b>branch</b>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1598
  <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="stable">stable</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1599
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1600
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1601
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1602
  <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1603
  <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1604
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1605
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1606
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1607
  <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
  1608
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1609
  <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1610
  <a class="list" href="/rev/a4f92ed23982?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1611
  <b>Added tag 1.0 for changeset 2ef0ac749a14</b>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1612
  <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1613
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1614
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1615
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1616
  <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1617
  <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1618
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1619
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1620
  <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1621
  <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
  1622
  <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1623
  <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1624
  <a class="list" href="/rev/2ef0ac749a14?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1625
  <b>base</b>
35065
a1de4ffaa7a8 hgweb: show commit phase if it's not public
Anton Shestakov <av6@dwimlabs.net>
parents: 35064
diff changeset
  1626
  <span class="logtags"><span class="phasetag" title="draft">draft</span> <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
  1627
  </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1628
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1629
  <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1630
  <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1631
  <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1632
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1633
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1634
  <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
  1635
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1636
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1637
  <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
  1638
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1639
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1640
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1641
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
26390
0f0cda81e9b0 gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents: 26294
diff changeset
  1642
  <td><a class="list" href="/rev/1.0?style=gitweb"><b>1.0</b></a></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1643
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1644
  <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1645
  <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1646
  <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1647
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1648
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1649
  <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
  1650
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1651
  
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1652
  <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
  1653
  <table cellspacing="0">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1654
  
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1655
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1656
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
28711
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1657
  <td><a class="list" href="/rev/something?style=gitweb"><b>something</b></a></td>
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1658
  <td class="link">
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1659
  <a href="/rev/cad8025a2e87?style=gitweb">changeset</a> |
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1660
  <a href="/log/cad8025a2e87?style=gitweb">changelog</a> |
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1661
  <a href="/file/cad8025a2e87?style=gitweb">files</a>
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1662
  </td>
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1663
  </tr>
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1664
  <tr class="parity1">
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
  1665
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
26390
0f0cda81e9b0 gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents: 26294
diff changeset
  1666
  <td><a class="list" href="/rev/anotherthing?style=gitweb"><b>anotherthing</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
  1667
  <td class="link">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1668
  <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
  1669
  <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
  1670
  <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
  1671
  </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1672
  </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1673
  <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
  1674
  </table>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
  1675
  
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
  1676
  <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
  1677
  <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1678
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1679
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1680
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
26390
0f0cda81e9b0 gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents: 26294
diff changeset
  1681
  <td class="open"><a class="list" href="/shortlog/unstable?style=gitweb"><b>unstable</b></a></td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1682
  <td class="link">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1683
  <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
  1684
  <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
  1685
  <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
  1686
  </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1687
  </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1688
  <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1689
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
26390
0f0cda81e9b0 gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents: 26294
diff changeset
  1690
  <td class="inactive"><a class="list" href="/shortlog/stable?style=gitweb"><b>stable</b></a></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1691
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1692
  <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1693
  <a href="/log/1d22e65f027e?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1694
  <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1695
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1696
  </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
  1697
  <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
  1698
  <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
26390
0f0cda81e9b0 gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents: 26294
diff changeset
  1699
  <td class="inactive"><a class="list" href="/shortlog/default?style=gitweb"><b>default</b></a></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1700
  <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1701
  <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1702
  <a href="/log/a4f92ed23982?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1703
  <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1704
  </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1705
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1706
  <tr class="light">
29982
c89b55c8f936 gitweb: tweak branch table's last row's cell colspan on summary page
Anton Shestakov <av6@dwimlabs.net>
parents: 29628
diff changeset
  1707
    <td colspan="3"><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
  1708
  </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1709
  </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1710
  <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1711
  <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1712
  <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1713
  <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1714
  <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1715
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1716
  <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1717
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1718
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1719
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1720
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1721
  
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1722
  $ get-with-headers.py $LOCALIP:$HGPORT 'graph/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1723
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1724
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1725
  <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1726
  <!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
  1727
  <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
  1728
  <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1729
  <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
  1730
  <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1731
  <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
  1732
  <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
  1733
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1734
  <title>test: Graph</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1735
  <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1736
     href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1737
  <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1738
     href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1739
  </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1740
  <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1741
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1742
  <div class="page_header">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26390
diff changeset
  1743
  <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a>
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
  1744
  <a href="/">Mercurial</a>  / graph
32761
cb5123eff7d1 hgweb: consistently add search form to all gitweb pages
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32760
diff changeset
  1745
  </div>
32760
58f3088aa2f5 hgweb: consolidate search form for gitweb
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
  1746
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1747
  <div class="page_nav">
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1748
  <div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1749
  <a href="/summary?style=gitweb">summary</a> |
26666
e901df65b108 gitweb: don't drop current revision context on graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 26536
diff changeset
  1750
  <a href="/shortlog/tip?style=gitweb">shortlog</a> |
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1751
  <a href="/log/tip?style=gitweb">changelog</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1752
  graph |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1753
  <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
  1754
  <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1755
  <a href="/branches?style=gitweb">branches</a> |
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1756
  <a href="/file/tip?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
  1757
  <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1758
  <br/>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1759
  <a href="/graph/tip?revcount=30&style=gitweb">less</a>
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1760
  <a href="/graph/tip?revcount=120&style=gitweb">more</a>
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1761
  | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> 
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1762
  </div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1763
  
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1764
  <div class="search">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1765
  <form id="searchform" action="/log">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1766
  <input type="hidden" name="style" value="gitweb" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1767
  <input name="rev" type="text" value="" size="40" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1768
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1769
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1770
  </form>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
  1771
  </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1772
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1773
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1774
  <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1775
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1776
  <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
  1777
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1778
  <div id="wrapper">
35407
27ab3150cd50 hgweb: calculate <canvas> width and height client-side
Anton Shestakov <av6@dwimlabs.net>
parents: 35255
diff changeset
  1779
  <canvas id="graph"></canvas>
35531
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1780
  <ul id="graphnodes"><li class="parity0" data-node="cad8025a2e87">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1781
   <div class="fg">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1782
    <span class="desc">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1783
     <a class="list" href="/rev/cad8025a2e87?style=gitweb"><b>branch commit with null character: </b></a>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1784
    </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1785
    <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="unstable">unstable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1786
    <div class="info">1970-01-01, by test</div>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1787
   </div>
35220
dc623009e0b0 gitweb: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 35218
diff changeset
  1788
  </li>
35531
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1789
  <li class="parity1" data-node="1d22e65f027e">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1790
   <div class="fg">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1791
    <span class="desc">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1792
     <a class="list" href="/rev/1d22e65f027e?style=gitweb"><b>branch</b></a>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1793
    </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1794
    <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="stable">stable</span> </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1795
    <div class="info">1970-01-01, by test</div>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1796
   </div>
35220
dc623009e0b0 gitweb: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 35218
diff changeset
  1797
  </li>
35531
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1798
  <li class="parity0" data-node="a4f92ed23982">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1799
   <div class="fg">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1800
    <span class="desc">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1801
     <a class="list" href="/rev/a4f92ed23982?style=gitweb"><b>Added tag 1.0 for changeset 2ef0ac749a14</b></a>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1802
    </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1803
    <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1804
    <div class="info">1970-01-01, by test</div>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1805
   </div>
35220
dc623009e0b0 gitweb: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 35218
diff changeset
  1806
  </li>
35531
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1807
  <li class="parity1" data-node="2ef0ac749a14">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1808
   <div class="fg">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1809
    <span class="desc">
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1810
     <a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>base</b></a>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1811
    </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1812
    <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="tagtag" title="1.0">1.0</span> <span class="bookmarktag" title="anotherthing">anotherthing</span> </span>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1813
    <div class="info">1970-01-01, by test</div>
6c2264732dc5 gitweb: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35522
diff changeset
  1814
   </div>
35220
dc623009e0b0 gitweb: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 35218
diff changeset
  1815
  </li>
dc623009e0b0 gitweb: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 35218
diff changeset
  1816
  </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1817
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1818
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1819
  <script>
35566
baca93a47992 hgweb: make different kinds of commits look differently on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35532
diff changeset
  1820
  var data = [{"edges": [[0, 0, 1, 3, "FF0000"]], "graphnode": "@o", "node": "cad8025a2e87", "vertex": [0, 1]}, {"edges": [[0, 0, 1, 3, ""]], "graphnode": "o", "node": "1d22e65f027e", "vertex": [0, 1]}, {"edges": [[0, 0, 1, 3, ""]], "graphnode": "o", "node": "a4f92ed23982", "vertex": [0, 1]}, {"edges": [], "graphnode": "o", "node": "2ef0ac749a14", "vertex": [0, 1]}];
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1821
  var graph = new Graph();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1822
  graph.scale(39);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1823
  graph.render(data);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1824
  </script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1825
  
32992
816a4fa7d5f8 hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32762
diff changeset
  1826
  <div class="extra_nav">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1827
  <a href="/graph/tip?revcount=30&style=gitweb">less</a>
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25526
diff changeset
  1828
  <a href="/graph/tip?revcount=120&style=gitweb">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  1829
  | <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
  1830
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1831
  
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1832
  <script type="text/javascript">
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1833
      ajaxScrollInit(
35409
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
  1834
              '/graph/%next%?graphtop=cad8025a2e87f88c06259790adfa15acb4080123&style=gitweb',
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
  1835
              '', <!-- NEXTHASH
35654
59c842a3d1e1 hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents: 35605
diff changeset
  1836
              function (htmlText) {
35409
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
  1837
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
  1838
                  return m ? m[1] : null;
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
  1839
              },
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1840
              '#wrapper',
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1841
              '<div class="%class%" style="text-align: center;">%text%</div>',
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1842
              'graph'
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1843
      );
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1844
  </script>
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
  1845
  
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1846
  <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1847
  <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1848
  <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1849
  <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1850
  <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1851
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1852
  <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1853
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1854
  </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1855
  </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1856
  </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1857
  
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1858
raw graph
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1859
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1860
  $ get-with-headers.py $LOCALIP:$HGPORT 'graph/?style=raw'
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1861
  200 Script output follows
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1862
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1863
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1864
  # HG graph
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1865
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1866
  # Rows shown 4
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1867
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1868
  changeset:   cad8025a2e87
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1869
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1870
  date:        1970-01-01
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1871
  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
  1872
  branch:      unstable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1873
  tag:         tip
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1874
  bookmark:    something
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1875
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1876
  node:        (0, 0) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1877
  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
  1878
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1879
  changeset:   1d22e65f027e
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1880
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1881
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1882
  summary:     branch
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1883
  branch:      stable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1884
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1885
  node:        (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1886
  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
  1887
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1888
  changeset:   a4f92ed23982
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1889
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1890
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1891
  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
  1892
  branch:      default
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1893
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1894
  node:        (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1895
  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
  1896
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1897
  changeset:   2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1898
  user:        test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1899
  date:        1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1900
  summary:     base
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1901
  tag:         1.0
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1902
  bookmark:    anotherthing
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1903
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1904
  node:        (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1905
  
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
  1906
  
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1907
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1908
capabilities
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1909
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1910
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities'; echo
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1911
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1912
  
37053
cd0ca979a8b8 wireproto: nominally don't expose "batch" to version 2 wire transports
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
  1913
  lookup branchmap pushkey known getbundle unbundlehash changegroupsubset $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN batch httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=$BUNDLE2_COMPRESSIONS$
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1914
36860
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1915
wire protocol command to wrong base URL
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1916
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1917
  $ get-with-headers.py $LOCALIP:$HGPORT 'foo?cmd=capabilities' -
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1918
  404 Not Found
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1919
  content-length: 12
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1920
  content-type: application/mercurial-0.1
37008
16203c6079e7 tests: use $HTTP_DATE$ for Date header
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36955
diff changeset
  1921
  date: $HTTP_DATE$
37009
5890e5872f36 hgweb: allow defining Server response header for HTTP server
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37008
diff changeset
  1922
  server: testing stub value
36860
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1923
  
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1924
  0
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1925
  Not Found
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1926
  [1]
2859c6fa4fc2 tests: add test for a wire protocol request to wrong base URL
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36612
diff changeset
  1927
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1928
heads
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1929
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1930
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=heads'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1931
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1932
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1933
  cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1934
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1935
branches
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1936
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1937
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1938
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1939
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1940
  0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1941
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1942
changegroup
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
  1943
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1944
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1945
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1946
  
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
  1947
  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
  1948
  \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
  1949
  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
  1950
  \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
  1951
  \x95)\xbe\xf6 (no-eol) (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1952
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1953
stream_out
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1954
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1955
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=stream_out'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1956
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1957
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1958
  1
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1959
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1960
failing unbundle, requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1961
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1962
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=unbundle'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1963
  405 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1964
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1965
  0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1966
  push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1967
  [1]
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1968
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1969
Static files
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
  1970
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  1971
  $ get-with-headers.py $LOCALIP:$HGPORT 'static/style.css'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1972
  200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1973
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1974
  a { text-decoration:none; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1975
  .age { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1976
  .date { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1977
  .indexlinks { white-space:nowrap; }
26536
93a3687a94d7 hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 26421
diff changeset
  1978
  .parity0 { background-color: #ddd; color: #000; }
93a3687a94d7 hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents: 26421
diff changeset
  1979
  .parity1 { background-color: #eee; color: #000; }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1980
  .lineno { width: 60px; color: #aaa; font-size: smaller;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1981
            text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1982
  .plusline { color: green; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1983
  .minusline { color: red; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1984
  .atline { color: purple; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  1985
  .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
29387
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 28711
diff changeset
  1986
  tr.thisrev a { color:#999999; text-decoration: none; }
6b77adc2c7b5 hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 28711
diff changeset
  1987
  tr.thisrev pre { color:#009900; }
30074
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29982
diff changeset
  1988
  td.annotate {
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29982
diff changeset
  1989
    white-space: nowrap;
8f34e217338b hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents: 29982
diff changeset
  1990
  }
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1991
  div.annotate-info {
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1992
    display: none;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1993
    position: absolute;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1994
    background-color: #FFFFFF;
29628
6217180f9ab8 spartan: make annotate popup use theme colors
Anton Shestakov <av6@dwimlabs.net>
parents: 29522
diff changeset
  1995
    border: 1px solid #888;
29522
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1996
    text-align: left;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1997
    color: #000000;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1998
    padding: 5px;
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  1999
  }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  2000
  div.annotate-info a { color: #0000FF; }
9c37df347485 hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 29492
diff changeset
  2001
  td.annotate:hover div.annotate-info { display: inline; }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2002
  .buttons a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2003
    background-color: #666;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2004
    padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2005
    color: white;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 18563
diff changeset
  2006
    font-family: sans-serif;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2007
    font-weight: bold;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2008
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2009
  .navigate a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2010
    background-color: #ccc;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2011
    padding: 2pt;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 18563
diff changeset
  2012
    font-family: sans-serif;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2013
    color: black;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2014
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2015
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2016
  .metatag {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2017
    background-color: #888;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2018
    color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2019
    text-align: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2020
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2021
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2022
  /* Common */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2023
  pre { margin: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2024
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2025
  .logo {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2026
    float: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2027
    clear: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2028
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2029
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2030
  /* Changelog/Filelog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2031
  .logEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2032
  .logEntry .age { width: 15%; }
21124
a65714215377 hgweb: align entries in "changelog" and "revisions" pages of "spartan" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21122
diff changeset
  2033
  .logEntry th.label { width: 16em; }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2034
  .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
  2035
  .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2036
  .logEntry th.firstline { text-align: left; width: inherit; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2037
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2038
  /* Shortlog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2039
  .slogEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2040
  .slogEntry .age { width: 8em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2041
  .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
  2042
  .slogEntry td.author { width: 15em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2043
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2044
  /* Tag entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2045
  #tagEntries { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2046
  #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2047
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2048
  /* Changeset entry */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2049
  #changesetEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2050
  #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
  2051
  #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2052
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2053
  /* File diff view */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2054
  #filediffEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2055
  #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
  2056
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2057
  /* Graph */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2058
  div#wrapper {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2059
  	position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2060
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2061
  	padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2062
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2063
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2064
  canvas {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2065
  	position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2066
  	z-index: 5;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2067
  	top: -0.6em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2068
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2069
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2070
  
35532
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2071
  ul#graphnodes {
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2072
  	list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2073
  	padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2074
  	margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2075
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2076
  
35532
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2077
  ul#graphnodes li {
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2078
  	height: 37px;
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2079
  	overflow: visible;
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2080
  	padding-top: 2px;
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2081
  }
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2082
  
bb5a03dfd7ff spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35531
diff changeset
  2083
  ul#graphnodes li .fg {
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2084
  	position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2085
  	z-index: 10;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2086
  }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2087
  
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2088
  ul#graphnodes li .info {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2089
  	font-size: 70%;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2090
  }
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
  2091
26294
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2092
Stop and restart the server at the directory different from the repository
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2093
root. Even in such case, file patterns should be resolved relative to the
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2094
repository root. (issue4568)
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2095
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2096
  $ killdaemons.py
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2097
  $ hg serve --config server.preferuncompressed=True -n test \
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2098
  > -p $HGPORT -d --pid-file=`pwd`/hg.pid -E `pwd`/errors.log \
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2099
  > --cwd .. -R `pwd`
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2100
  $ cat hg.pid >> $DAEMON_PIDS
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2101
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2102
  $ get-with-headers.py $LOCALIP:$HGPORT 'log?rev=adds("foo")&style=raw'
26294
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2103
  200 Script output follows
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2104
  
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2105
  
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2106
  # HG changesets search
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2107
  # Node ID cad8025a2e87f88c06259790adfa15acb4080123
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2108
  # Query "adds("foo")"
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2109
  # Mode revset expression search
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2110
  
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2111
  changeset:   2ef0ac749a14e4f57a5a822464a0902c6f7f448f
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2112
  revision:    0
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2113
  user:        test
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2114
  date:        Thu, 01 Jan 1970 00:00:00 +0000
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2115
  summary:     base
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2116
  tag:         1.0
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2117
  bookmark:    anotherthing
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2118
  
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2119
  
1ffc61c4e32e hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
Yuya Nishihara <yuya@tcha.org>
parents: 26245
diff changeset
  2120
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2121
capabilities
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2122
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2123
(plain version to check the format)
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2124
36612
e89959970a08 wireproto: don't expose changegroupsubset capability if not available
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35806
diff changeset
  2125
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | dd ibs=76 count=1 2> /dev/null; echo
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2126
  200 Script output follows
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2127
  
36612
e89959970a08 wireproto: don't expose changegroupsubset capability if not available
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35806
diff changeset
  2128
  lookup branchmap pushkey known getbundle unbundle
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2129
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2130
(spread version to check the content)
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2131
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2132
  $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | tr ' ' '\n'; echo
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2133
  200
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2134
  Script
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2135
  output
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2136
  follows
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2137
  
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2138
  lookup
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2139
  branchmap
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2140
  pushkey
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2141
  known
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2142
  getbundle
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2143
  unbundlehash
36612
e89959970a08 wireproto: don't expose changegroupsubset capability if not available
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35806
diff changeset
  2144
  changegroupsubset
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2145
  stream-preferred
26912
f40f62ea43e0 test: use generaldelta in 'test-hgweb-command.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26910
diff changeset
  2146
  streamreqs=generaldelta,revlogv1
35792
1d118f9f4f57 bundle2: always advertise client support for stream parts
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35654
diff changeset
  2147
  $USUAL_BUNDLE2_CAPS_SERVER$
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2148
  unbundle=HG10GZ,HG10BZ,HG10UN
37053
cd0ca979a8b8 wireproto: nominally don't expose "batch" to version 2 wire transports
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37009
diff changeset
  2149
  batch
26910
0856f1bfbe1e test: spread capabilities replies in 'test-hgweb-commands'
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 26666
diff changeset
  2150
  httpheader=1024
30762
35b516f800e0 wireproto: advertise supported media types and compression formats
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30558
diff changeset
  2151
  httpmediatype=0.1rx,0.1tx,0.2tx
35806
ab239e3de23b tests: add a pattern to fix --pure tests
Augie Fackler <augie@google.com>
parents: 35792
diff changeset
  2152
  compression=$BUNDLE2_COMPRESSIONS$
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2153
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2154
heads
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
  2155
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2156
ERRORS ENCOUNTERED
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2157
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
  2158
  $ cat errors.log
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  2159
  $ killdaemons.py
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
  2160
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
  2161
  $ cd ..
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2162
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2163
Test graph paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2164
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2165
  $ mkcommit() {
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2166
  >  echo $1 >> a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2167
  >  hg ci -Am $1 a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2168
  > }
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2169
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2170
  $ hg init graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2171
  $ cd graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2172
  $ mkcommit 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2173
  $ mkcommit 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2174
  $ mkcommit 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2175
  $ mkcommit 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2176
  $ mkcommit 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2177
  $ mkcommit 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2178
  $ hg serve --config server.uncompressed=False \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2179
  >          --config web.maxshortchanges=2 \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2180
  >          -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
  2181
  $ cat hg.pid >> $DAEMON_PIDS
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2182
  $ hg log -G --template '{rev}:{node|short} {desc}\n'
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2183
  @  5:aed2d9c1d0e7 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2184
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2185
  o  4:b60a39a85a01 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2186
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2187
  o  3:ada793dcc118 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2188
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2189
  o  2:ab4f1438558b 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2190
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2191
  o  1:e06180cbfb0c 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2192
  |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2193
  o  0:b4e73ffab476 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2194
  
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2195
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2196
Test paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2197
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2198
  $ get-with-headers.py $LOCALIP:$HGPORT \
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2199
  >   'graph/?style=raw' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2200
  changeset:   aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2201
  changeset:   b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2202
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2203
  $ get-with-headers.py $LOCALIP:$HGPORT \
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2204
  >   'graph/?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2205
  changeset:   aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2206
  changeset:   b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2207
  changeset:   ada793dcc118
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2208
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2209
  $ get-with-headers.py $LOCALIP:$HGPORT \
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2210
  >   'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2211
  changeset:   e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2212
  changeset:   b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2213
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
  2214
  $ get-with-headers.py $LOCALIP:$HGPORT \
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2215
  >   'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2216
  changeset:   b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2217
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2218
  $ cat errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2219
31771
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2220
MSYS changes environment variables starting with '/' into 'C:/MinGW/msys/1.0',
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2221
which changes the status line to '400 no such method: C:'.
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2222
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2223
#if no-msys
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2224
18480
5ef3c7081008 tests: improve description of hgweb secret bookmarks test
Kevin Bullock <kbullock@ringworld.org>
parents: 18478
diff changeset
  2225
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
  2226
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2227
  $ hg phase -fs 4
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2228
  $ hg bookmark -r4 secret
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2229
  $ cat > hgweb.cgi <<HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2230
  > 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
  2231
  > from mercurial.hgweb import hgweb
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2232
  > from mercurial.hgweb import wsgicgi
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2233
  > app = hgweb('.', 'test')
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2234
  > wsgicgi.launch(app)
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2235
  > HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2236
  $ . "$TESTDIR/cgienv"
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2237
  $ 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
  2238
  $ QUERY_STRING='style=raw'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2239
  $ $PYTHON hgweb.cgi | grep -v ETag:
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  2240
  Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  2241
  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
  2242
  \r (esc)
18478
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
  2243
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  2244
listbookmarks hides secret bookmarks
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  2245
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  2246
  $ PATH_INFO=/; export PATH_INFO
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  2247
  $ QUERY_STRING='cmd=listkeys&namespace=bookmarks'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2248
  $ $PYTHON hgweb.cgi
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  2249
  Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  2250
  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
  2251
  Content-Length: 0\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
  2252
  \r (esc)
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
  2253
18497
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  2254
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
  2255
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  2256
  $ 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
  2257
  $ QUERY_STRING='rev=babar'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2258
  $ $PYTHON hgweb.cgi > search
18497
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  2259
  $ grep Status search
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
  2260
  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
  2261
18563
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2262
summary works with filtering (issue3810)
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2263
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2264
  $ PATH_INFO=/summary; export PATH_INFO
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2265
  $ QUERY_STRING='style=monoblue'; export QUERY_STRING
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2266
  $ $PYTHON hgweb.cgi > summary.out
18563
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2267
  $ grep "^Status" summary.out
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
  2268
  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
  2269
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2270
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
  2271
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2272
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2273
(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
  2274
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2275
  $ 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
  2276
  $ QUERY_STRING='style=raw'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2277
  $ $PYTHON hgweb.cgi #> search
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2278
  Status: 404 Not Found\r (esc)
29492
d23619990160 tests: check ETag format in test-hgweb-commands
Anton Shestakov <av6@dwimlabs.net>
parents: 29485
diff changeset
  2279
  ETag: W/"*"\r (glob) (esc)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2280
  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
  2281
  \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
  2282
  
23045
a4dd270a419c repoview: include the filter name in filtered revision error messages
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 23017
diff changeset
  2283
  error: filtered revision '5' (not in 'served' subset)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2284
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2285
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2286
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2287
(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
  2288
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2289
  $ 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
  2290
  $ QUERY_STRING='style=raw'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2291
  $ $PYTHON hgweb.cgi #> search
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2292
  Status: 404 Not Found\r (esc)
29492
d23619990160 tests: check ETag format in test-hgweb-commands
Anton Shestakov <av6@dwimlabs.net>
parents: 29485
diff changeset
  2293
  ETag: W/"*"\r (glob) (esc)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2294
  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
  2295
  \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
  2296
  
23045
a4dd270a419c repoview: include the filter name in filtered revision error messages
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 23017
diff changeset
  2297
  error: filtered revision '4' (not in 'served' subset)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
  2298
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2299
filtered '0' changeset
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2300
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2301
(create new root)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2302
  $ hg up null
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2303
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2304
  $ echo 'babar' > jungle
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2305
  $ hg add jungle
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2306
  $ hg ci -m 'Babar is in the jungle!'
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2307
  created new head
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2308
  $ hg graft 0::
23505
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2309
  grafting 0:b4e73ffab476 "0"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2310
  grafting 1:e06180cbfb0c "1"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2311
  grafting 2:ab4f1438558b "2"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2312
  grafting 3:ada793dcc118 "3"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2313
  grafting 4:b60a39a85a01 "4" (secret)
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
  2314
  grafting 5:aed2d9c1d0e7 "5"
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2315
(turning the initial root secret (filtered))
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2316
  $ hg phase --force --secret 0
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2317
  $ PATH_INFO=/graph/; export PATH_INFO
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2318
  $ QUERY_STRING=''
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2319
  $ $PYTHON hgweb.cgi | grep Status
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2320
  Status: 200 Script output follows\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2321
(check rendered revision)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2322
  $ QUERY_STRING='style=raw'
33262
8e6f4939a69a tests: replace yet more calls to `python` with $PYTHON
Augie Fackler <augie@google.com>
parents: 32995
diff changeset
  2323
  $ $PYTHON hgweb.cgi | grep -v ETag
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2324
  Status: 200 Script output follows\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2325
  Content-Type: text/plain; charset=ascii\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2326
  \r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2327
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2328
  # HG graph
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2329
  # Node ID 1d9b947fef1fbb382a95c11a8f5a67e9a10b5026
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2330
  # Rows shown 7
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2331
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2332
  changeset:   1d9b947fef1f
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2333
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2334
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2335
  summary:     5
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2336
  branch:      default
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2337
  tag:         tip
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2338
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2339
  node:        (0, 0) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2340
  edge:        (0, 0) -> (0, 1) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2341
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2342
  changeset:   0cfd435fd222
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2343
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2344
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2345
  summary:     4
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2346
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2347
  node:        (0, 1) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2348
  edge:        (0, 1) -> (0, 2) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2349
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2350
  changeset:   6768b9939e82
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2351
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2352
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2353
  summary:     3
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2354
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2355
  node:        (0, 2) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2356
  edge:        (0, 2) -> (0, 3) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2357
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2358
  changeset:   05b0497fd125
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2359
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2360
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2361
  summary:     2
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2362
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2363
  node:        (0, 3) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2364
  edge:        (0, 3) -> (0, 4) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2365
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2366
  changeset:   9c102df67cfb
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2367
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2368
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2369
  summary:     1
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2370
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2371
  node:        (0, 4) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2372
  edge:        (0, 4) -> (0, 5) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2373
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2374
  changeset:   3ebcd7db11bf
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2375
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2376
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2377
  summary:     0
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2378
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2379
  node:        (0, 5) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2380
  edge:        (0, 5) -> (0, 6) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2381
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2382
  changeset:   c5e9bd96ae01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2383
  user:        test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2384
  date:        1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2385
  summary:     Babar is in the jungle!
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2386
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2387
  node:        (0, 6) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2388
  
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2389
  
31771
5e92ba77793c test-serve: disable unfixable tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 31758
diff changeset
  2390
#endif
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2391
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2392
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
  2393
  $ cd ..
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
  2394