tests/test-hgweb-filelog.t
author Javi Merino <cibervicho@gmail.com>
Mon, 14 Feb 2011 07:39:21 +0000
changeset 13380 d11405848abd
parent 12680 d664547ef540
child 13547 a2dc8819bb0d
permissions -rw-r--r--
hgk: gitk->hgk in About... menu
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     1
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     2
  $ hg init test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     3
  $ cd test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     4
  $ echo b > b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     5
  $ hg ci -Am "b"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     6
  adding b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     7
  $ echo a > a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     8
  $ hg ci -Am "first a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     9
  adding a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    10
  $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    11
  $ hg ci -m "del a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    12
  $ echo b > a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    13
  $ hg ci -Am "second a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    14
  adding a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    15
  $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    16
  $ hg ci -m "del2 a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    17
  $ hg mv b c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    18
  $ hg ci -m "mv b"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    19
  $ echo c >> c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    20
  $ hg ci -m "change c"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    21
  $ hg log -p
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    22
  changeset:   6:b7682196df1c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    23
  tag:         tip
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    24
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    25
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    26
  summary:     change c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    27
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    28
  diff -r 1a6696706df2 -r b7682196df1c c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    29
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    30
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    31
  @@ -1,1 +1,2 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    32
   b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    33
  +c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    34
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    35
  changeset:   5:1a6696706df2
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    36
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    37
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    38
  summary:     mv b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    39
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    40
  diff -r 52e848cdcd88 -r 1a6696706df2 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    41
  --- a/b	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    42
  +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    43
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    44
  -b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    45
  diff -r 52e848cdcd88 -r 1a6696706df2 c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    46
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    47
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    48
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    49
  +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    50
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    51
  changeset:   4:52e848cdcd88
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    52
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    53
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    54
  summary:     del2 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    55
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    56
  diff -r 01de2d66a28d -r 52e848cdcd88 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    57
  --- a/a	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    58
  +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    59
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    60
  -b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    61
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    62
  changeset:   3:01de2d66a28d
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    63
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    64
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    65
  summary:     second a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    66
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    67
  diff -r be3ebcc91739 -r 01de2d66a28d a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    68
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    69
  +++ b/a	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    70
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    71
  +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    72
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    73
  changeset:   2:be3ebcc91739
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    74
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    75
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    76
  summary:     del a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    77
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    78
  diff -r 5ed941583260 -r be3ebcc91739 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    79
  --- a/a	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    80
  +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    81
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    82
  -a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    83
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    84
  changeset:   1:5ed941583260
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    85
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    86
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    87
  summary:     first a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    88
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    89
  diff -r 6563da9dcf87 -r 5ed941583260 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    90
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    91
  +++ b/a	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    92
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    93
  +a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    94
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    95
  changeset:   0:6563da9dcf87
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    96
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    97
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    98
  summary:     b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    99
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   100
  diff -r 000000000000 -r 6563da9dcf87 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   101
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   102
  +++ b/b	Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   103
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   104
  +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   105
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   106
  $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   107
  $ cat hg.pid >> $DAEMON_PIDS
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   108
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   109
tip - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   110
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   111
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/a')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   112
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   113
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   114
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   115
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   116
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   117
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   118
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   119
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   120
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   121
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   122
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   123
     href="/atom-log/tip/a" title="Atom feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   124
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   125
     href="/rss-log/tip/a" title="RSS feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   126
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   127
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   128
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   129
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   130
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   131
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   132
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   133
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   134
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   135
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   136
  <li><a href="/shortlog/01de2d66a28d">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   137
  <li><a href="/graph/01de2d66a28d">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   138
  <li><a href="/tags">tags</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   139
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   140
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   141
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   142
  <li><a href="/rev/01de2d66a28d">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   143
  <li><a href="/file/01de2d66a28d">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   144
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   145
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   146
  <li><a href="/file/01de2d66a28d/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   147
  <li><a href="/diff/01de2d66a28d/a">diff</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   148
  <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   149
  <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   150
  <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   151
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   152
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   153
  <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   154
  </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   155
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   156
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   157
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   158
  <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   159
  <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   160
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   161
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   162
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   163
  <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   164
  <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   165
  files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   166
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   167
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   168
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   169
  <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   170
  <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   171
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   172
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   173
  <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   174
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   175
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   176
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   177
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   178
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   179
   <tr class="parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   180
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   181
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   182
    <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   183
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   184
   <tr class="parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   185
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   186
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   187
    <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   188
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   189
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   190
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   191
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   192
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   193
  <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   194
  <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   195
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> 
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   196
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   197
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   198
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   199
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   200
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   201
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   202
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   203
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   204
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   205
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   206
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   207
second version - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   208
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   209
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/3/a')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   210
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   211
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   212
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   213
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   214
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   215
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   216
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   217
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   218
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   219
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   220
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   221
     href="/atom-log/tip/a" title="Atom feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   222
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   223
     href="/rss-log/tip/a" title="RSS feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   224
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   225
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   226
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   227
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   228
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   229
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   230
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   231
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   232
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   233
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   234
  <li><a href="/shortlog/01de2d66a28d">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   235
  <li><a href="/graph/01de2d66a28d">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   236
  <li><a href="/tags">tags</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   237
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   238
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   239
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   240
  <li><a href="/rev/01de2d66a28d">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   241
  <li><a href="/file/01de2d66a28d">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   242
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   243
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   244
  <li><a href="/file/01de2d66a28d/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   245
  <li><a href="/diff/01de2d66a28d/a">diff</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   246
  <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   247
  <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   248
  <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   249
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   250
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   251
  <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   252
  </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   253
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   254
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   255
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   256
  <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   257
  <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   258
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   259
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   260
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   261
  <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   262
  <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   263
  files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   264
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   265
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   266
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   267
  <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   268
  <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   269
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   270
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   271
  <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   272
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   273
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   274
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   275
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   276
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   277
   <tr class="parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   278
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   279
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   280
    <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   281
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   282
   <tr class="parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   283
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   284
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   285
    <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   286
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   287
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   288
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   289
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   290
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   291
  <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   292
  <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   293
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> 
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   294
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   295
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   296
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   297
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   298
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   299
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   300
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   301
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   302
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   303
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   304
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   305
first deleted - one revision
7624
f2fa1a9eede6 Improved hgweb test.
Stefan Ring <stefan@complang.tuwien.ac.at>
parents: 7612
diff changeset
   306
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   307
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/2/a')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   308
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   309
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   310
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   311
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   312
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   313
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   314
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   315
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   316
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   317
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   318
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   319
     href="/atom-log/tip/a" title="Atom feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   320
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   321
     href="/rss-log/tip/a" title="RSS feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   322
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   323
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   324
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   325
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   326
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   327
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   328
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   329
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   330
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   331
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   332
  <li><a href="/shortlog/5ed941583260">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   333
  <li><a href="/graph/5ed941583260">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   334
  <li><a href="/tags">tags</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   335
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   336
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   337
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   338
  <li><a href="/rev/5ed941583260">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   339
  <li><a href="/file/5ed941583260">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   340
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   341
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   342
  <li><a href="/file/5ed941583260/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   343
  <li><a href="/diff/5ed941583260/a">diff</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   344
  <li><a href="/annotate/5ed941583260/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   345
  <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   346
  <li><a href="/raw-file/5ed941583260/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   347
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   348
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   349
  <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   350
  </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   351
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   352
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   353
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   354
  <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   355
  <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   356
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   357
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   358
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   359
  <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   360
  <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   361
  files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   362
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   363
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   364
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   365
  <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   366
  <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   367
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   368
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   369
  <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   370
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   371
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   372
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   373
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   374
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   375
   <tr class="parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   376
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   377
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   378
    <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   379
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   380
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   381
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   382
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   383
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   384
  <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   385
  <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   386
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> 
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   387
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   388
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   389
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   390
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   391
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   392
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   393
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   394
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   395
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   396
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   397
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   398
first version - one revision
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   399
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   400
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   401
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   402
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   403
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   404
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   405
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   406
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   407
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   408
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   409
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   410
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   411
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   412
     href="/atom-log/tip/a" title="Atom feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   413
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   414
     href="/rss-log/tip/a" title="RSS feed for test:a" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   415
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   416
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   417
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   418
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   419
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   420
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   421
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   422
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   423
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   424
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   425
  <li><a href="/shortlog/5ed941583260">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   426
  <li><a href="/graph/5ed941583260">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   427
  <li><a href="/tags">tags</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   428
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   429
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   430
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   431
  <li><a href="/rev/5ed941583260">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   432
  <li><a href="/file/5ed941583260">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   433
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   434
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   435
  <li><a href="/file/5ed941583260/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   436
  <li><a href="/diff/5ed941583260/a">diff</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   437
  <li><a href="/annotate/5ed941583260/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   438
  <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   439
  <li><a href="/raw-file/5ed941583260/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   440
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   441
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   442
  <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   443
  </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   444
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   445
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   446
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   447
  <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   448
  <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   449
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   450
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   451
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   452
  <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   453
  <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   454
  files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   455
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   456
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   457
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   458
  <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   459
  <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   460
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   461
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   462
  <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   463
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   464
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   465
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   466
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   467
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   468
   <tr class="parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   469
    <td class="age">1970-01-01</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   470
    <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   471
    <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   472
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   473
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   474
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   475
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   476
  <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   477
  <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   478
  <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   479
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> 
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   480
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   481
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   482
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   483
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   484
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   485
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   486
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   487
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   488
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   489
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   490
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   491
before addition - error
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   492
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   493
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   494
  404 Not Found
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   495
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   496
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   497
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   498
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   499
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   500
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   501
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   502
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   503
  <title>test: error</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   504
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   505
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   506
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   507
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   508
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   509
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   510
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   511
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   512
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   513
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   514
  <li><a href="/shortlog">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   515
  <li><a href="/graph">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   516
  <li><a href="/tags">tags</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   517
  <li><a href="/branches">branches</a></li>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   518
  <li><a href="/help">help</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   519
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   520
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   521
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   522
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   523
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   524
  <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   525
  <h3>error</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   526
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   527
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   528
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   529
  <p><input name="rev" id="search1" type="text" size="30"></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   530
  <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   531
  files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   532
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   533
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   534
  <div class="description">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   535
  <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   536
  An error occurred while processing your request:
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   537
  </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   538
  <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   539
  a@6563da9dcf87: not found in manifest
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   540
  </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   541
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   542
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   543
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   544
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   545
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   546
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   547
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   548
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   549
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   550
  [1]
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   551
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   552
should show base link, use spartan because it shows it
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   553
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   554
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan')
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   555
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   556
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   557
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   558
  <html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   559
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   560
  <link rel="icon" href="/static/hgicon.png" type="image/png">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   561
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   562
  <link rel="stylesheet" href="/static/style.css" type="text/css" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   563
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   564
  <title>test: c history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   565
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   566
     href="/atom-log/tip/c" title="Atom feed for test:c">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   567
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   568
     href="/rss-log/tip/c" title="RSS feed for test:c">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   569
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   570
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   571
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   572
  <div class="buttons">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   573
  <a href="/log?style=spartan">changelog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   574
  <a href="/shortlog?style=spartan">shortlog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   575
  <a href="/graph?style=spartan">graph</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   576
  <a href="/tags?style=spartan">tags</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   577
  <a href="/branches?style=spartan">branches</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   578
  <a href="/file/b7682196df1c/c?style=spartan">file</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   579
  <a href="/annotate/b7682196df1c/c?style=spartan">annotate</a>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   580
  <a href="/help?style=spartan">help</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   581
  <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   582
  <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   583
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   584
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   585
  <h2>c revision history</h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   586
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   587
  <p>navigate: <small class="navigate"><a href="/log/1a6696706df2/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   588
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   589
  <table class="logEntry parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   590
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   591
    <th class="age">1970-01-01:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   592
    <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   593
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   594
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   595
    <th class="revision">revision 1:</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   596
    <td class="node">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   597
     <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   598
     <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   599
     <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   600
    </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   601
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   602
   
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   603
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   604
    <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   605
    <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   606
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   607
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   608
    <th class="date">date:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   609
    <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   610
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   611
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   612
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   613
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   614
  <table class="logEntry parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   615
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   616
    <th class="age">1970-01-01:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   617
    <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   618
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   619
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   620
    <th class="revision">revision 0:</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   621
    <td class="node">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   622
     <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   623
     <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   624
     <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   625
    </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   626
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   627
   
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   628
  <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   629
  <th>base:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   630
  <td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   631
  <a href="/file/1e88685f5dde/b?style=spartan">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   632
  b@1e88685f5dde
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   633
  </a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   634
  </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   635
  </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   636
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   637
    <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   638
    <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   639
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   640
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   641
    <th class="date">date:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   642
    <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   643
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   644
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   645
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   646
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   647
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   648
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   649
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   650
  <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   651
  <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   652
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   653
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   654
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   655
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   656
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   657
  
7612
069b29656401 web: use the correct filectx in filelog
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7300
diff changeset
   658
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   659
errors
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   660
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   661
  $ cat errors.log