tests/test-hgweb-filelog.t
author Denis Laxalde <denis@laxalde.org>
Thu, 30 Mar 2017 21:40:10 +0200
changeset 31732 6be6e4becaaf
parent 31709 cbe0bea82c79
child 31939 604d31507f86
permissions -rw-r--r--
hgweb: prefix line id by ctx shortnode in filelog when patches are shown When "patch" query parameter is present in requests to filelog view, line ids in patches diff are no longer unique in the page since several patches are shown on the same page. We now prefix line id by changeset shortnode when several patches are displayed in the same page to have unique line ids overall.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 21124
diff changeset
     1
#require serve
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     2
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     3
  $ hg init test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     4
  $ cd test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     5
  $ echo b > b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     6
  $ hg ci -Am "b"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     7
  adding b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     8
  $ echo a > a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
     9
  $ hg ci -Am "first a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    10
  adding a
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    11
  $ hg tag -r 1 a-tag
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    12
  $ hg bookmark -r 1 a-bookmark
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    13
  $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    14
  $ hg ci -m "del a"
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    15
  $ hg branch a-branch
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    16
  marked working directory as branch a-branch
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    17
  (branches are permanent and global, did you want a bookmark?)
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    18
  $ echo b > a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    19
  $ hg ci -Am "second a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    20
  adding a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    21
  $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    22
  $ hg ci -m "del2 a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    23
  $ hg mv b c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    24
  $ hg ci -m "mv b"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    25
  $ echo c >> c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    26
  $ hg ci -m "change c"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    27
  $ hg log -p
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    28
  changeset:   7:46c1a66bd8fc
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    29
  branch:      a-branch
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    30
  tag:         tip
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    31
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    32
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    33
  summary:     change c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    34
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    35
  diff -r c9637d3cc8ef -r 46c1a66bd8fc c
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    36
  --- 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
    37
  +++ 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
    38
  @@ -1,1 +1,2 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    39
   b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    40
  +c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    41
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    42
  changeset:   6:c9637d3cc8ef
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    43
  branch:      a-branch
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    44
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    45
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    46
  summary:     mv b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    47
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    48
  diff -r 958bd88be4eb -r c9637d3cc8ef b
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    49
  --- 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
    50
  +++ /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
    51
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    52
  -b
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    53
  diff -r 958bd88be4eb -r c9637d3cc8ef c
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    54
  --- /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
    55
  +++ 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
    56
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    57
  +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    58
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    59
  changeset:   5:958bd88be4eb
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    60
  branch:      a-branch
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    61
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    62
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    63
  summary:     del2 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    64
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    65
  diff -r 3f41bc784e7e -r 958bd88be4eb a
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    66
  --- 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
    67
  +++ /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
    68
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    69
  -b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    70
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    71
  changeset:   4:3f41bc784e7e
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    72
  branch:      a-branch
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    73
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    74
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    75
  summary:     second a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    76
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    77
  diff -r 292258f86fdf -r 3f41bc784e7e a
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    78
  --- /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
    79
  +++ 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
    80
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    81
  +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    82
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    83
  changeset:   3:292258f86fdf
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    84
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    85
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    86
  summary:     del a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    87
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    88
  diff -r 94c9dd5ca9b4 -r 292258f86fdf a
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    89
  --- 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
    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
  @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    92
  -a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
    93
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    94
  changeset:   2:94c9dd5ca9b4
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    95
  user:        test
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    96
  date:        Thu Jan 01 00:00:00 1970 +0000
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    97
  summary:     Added tag a-tag for changeset 5ed941583260
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    98
  
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
    99
  diff -r 5ed941583260 -r 94c9dd5ca9b4 .hgtags
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   100
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   101
  +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   102
  @@ -0,0 +1,1 @@
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   103
  +5ed941583260248620985524192fdc382ef57c36 a-tag
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   104
  
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   105
  changeset:   1:5ed941583260
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   106
  bookmark:    a-bookmark
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   107
  tag:         a-tag
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   108
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   109
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   110
  summary:     first a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   111
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   112
  diff -r 6563da9dcf87 -r 5ed941583260 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   113
  --- /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
   114
  +++ 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
   115
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   116
  +a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   117
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   118
  changeset:   0:6563da9dcf87
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   119
  user:        test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   120
  date:        Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   121
  summary:     b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   122
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   123
  diff -r 000000000000 -r 6563da9dcf87 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   124
  --- /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
   125
  +++ 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
   126
  @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   127
  +b
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
  $ 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
   130
  $ cat hg.pid >> $DAEMON_PIDS
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   131
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   132
tip - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   133
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   134
  $ (get-with-headers.py localhost:$HGPORT 'log/tip/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   135
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   136
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   137
  <!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
   138
  <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
   139
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   140
  <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
   141
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   142
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   143
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   144
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   145
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   146
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   147
     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
   148
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   149
     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
   150
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   151
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   152
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   153
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   154
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   155
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
   156
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   157
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   158
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   159
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   160
  <li><a href="/shortlog/tip">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   161
  <li><a href="/graph/tip">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   162
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13547
diff changeset
   163
  <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   164
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   165
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   166
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   167
  <li><a href="/rev/tip">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   168
  <li><a href="/file/tip">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   169
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   170
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   171
  <li><a href="/file/tip/a">file</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   172
  <li><a href="/diff/tip/a">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   173
  <li><a href="/comparison/tip/a">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   174
  <li><a href="/annotate/tip/a">annotate</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   175
  <li class="active">file log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   176
  <li><a href="/raw-file/tip/a">raw</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   177
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   178
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   179
  <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
   180
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   181
  <div class="atom-logo">
27554
1c66497261b2 hgweb: fixed invalid atom-log feed url in file log page
Yoshinari Takaoka <mumumu@mumumu.org>
parents: 27081
diff changeset
   182
  <a href="/atom-log/tip/a" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   183
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   184
  </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   185
  </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   186
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   187
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   188
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   189
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   190
  <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   191
   log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   192
   <span class="branchname">a-branch</span> 
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   193
   
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   194
  </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   195
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   196
  <form class="search" action="/log">
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
  <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   199
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   200
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   201
  </form>
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
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   204
  <a href="/log/tip/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   205
  <a href="/log/tip/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   206
  | <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
   207
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   208
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   209
  <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   210
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   211
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   212
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   213
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   214
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   215
  </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   216
  <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   217
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   218
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   219
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   220
    <td class="description">
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   221
     <a href="/rev/3f41bc784e7e">second a</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   222
     <span class="branchname">a-branch</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   223
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   224
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   225
   
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   226
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   227
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   228
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   229
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   230
     <a href="/rev/5ed941583260">first a</a>
25110
c9f382c8233a hgweb: also display changeset bookmarks in file log (style=paper)
Anton Shestakov <engored@ya.ru>
parents: 25109
diff changeset
   231
     <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   232
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   233
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   234
   
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   235
  
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   236
  </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   237
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   238
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   239
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   240
  <a href="/log/tip/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   241
  <a href="/log/tip/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   242
  | <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
   243
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   244
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   245
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   246
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   247
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   248
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   249
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   250
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   251
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   252
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   253
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   254
second version - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   255
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   256
  $ (get-with-headers.py localhost:$HGPORT 'log/4/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   257
  200 Script output follows
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
  <!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
   260
  <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
   261
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   262
  <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
   263
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   264
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   265
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   266
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   267
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   268
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   269
     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
   270
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   271
     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
   272
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   273
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   274
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   275
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   276
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   277
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
   278
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   279
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   280
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   281
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   282
  <li><a href="/shortlog/4">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   283
  <li><a href="/graph/4">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   284
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13547
diff changeset
   285
  <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   286
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   287
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   288
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   289
  <li><a href="/rev/4">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   290
  <li><a href="/file/4">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   291
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   292
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   293
  <li><a href="/file/4/a">file</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   294
  <li><a href="/diff/4/a">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   295
  <li><a href="/comparison/4/a">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   296
  <li><a href="/annotate/4/a">annotate</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   297
  <li class="active">file log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   298
  <li><a href="/raw-file/4/a">raw</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   299
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   300
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   301
  <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
   302
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   303
  <div class="atom-logo">
27554
1c66497261b2 hgweb: fixed invalid atom-log feed url in file log page
Yoshinari Takaoka <mumumu@mumumu.org>
parents: 27081
diff changeset
   304
  <a href="/atom-log/tip/a" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   305
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   306
  </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   307
  </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   308
  </div>
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
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   311
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   312
  <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   313
   log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   314
   <span class="branchname">a-branch</span> 
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   315
   
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   316
  </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   317
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   318
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   319
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   320
  <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   321
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   322
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   323
  </form>
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="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   326
  <a href="/log/4/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   327
  <a href="/log/4/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   328
  | <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
   329
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   330
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   331
  <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   332
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   333
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   334
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   335
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   336
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   337
  </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   338
  <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   339
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   340
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   341
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   342
    <td class="description">
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   343
     <a href="/rev/3f41bc784e7e">second a</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   344
     <span class="branchname">a-branch</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   345
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   346
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   347
   
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   348
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   349
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   350
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   351
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   352
     <a href="/rev/5ed941583260">first a</a>
25110
c9f382c8233a hgweb: also display changeset bookmarks in file log (style=paper)
Anton Shestakov <engored@ya.ru>
parents: 25109
diff changeset
   353
     <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   354
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   355
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   356
   
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   357
  
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   358
  </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   359
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   360
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   361
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   362
  <a href="/log/4/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   363
  <a href="/log/4/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   364
  | <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
   365
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   366
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   367
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   368
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   369
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   370
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   371
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   372
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   373
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   374
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   375
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   376
first deleted - one revision
7624
f2fa1a9eede6 Improved hgweb test.
Stefan Ring <stefan@complang.tuwien.ac.at>
parents: 7612
diff changeset
   377
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   378
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   379
  200 Script output follows
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
  <!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
   382
  <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
   383
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   384
  <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
   385
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   386
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   387
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
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
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   390
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   391
     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
   392
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   393
     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
   394
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   395
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   396
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   397
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   398
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   399
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
   400
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   401
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   402
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   403
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   404
  <li><a href="/shortlog/3">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   405
  <li><a href="/graph/3">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   406
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13547
diff changeset
   407
  <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   408
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   409
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   410
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   411
  <li><a href="/rev/3">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   412
  <li><a href="/file/3">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   413
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   414
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   415
  <li><a href="/file/3/a">file</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   416
  <li><a href="/diff/3/a">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   417
  <li><a href="/comparison/3/a">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   418
  <li><a href="/annotate/3/a">annotate</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   419
  <li class="active">file log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   420
  <li><a href="/raw-file/3/a">raw</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   421
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   422
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   423
  <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
   424
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   425
  <div class="atom-logo">
27554
1c66497261b2 hgweb: fixed invalid atom-log feed url in file log page
Yoshinari Takaoka <mumumu@mumumu.org>
parents: 27081
diff changeset
   426
  <a href="/atom-log/tip/a" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   427
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   428
  </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   429
  </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   430
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   431
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   432
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   433
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   434
  <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   435
   log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   436
   <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   437
   
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   438
  </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   439
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   440
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   441
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   442
  <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   443
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   444
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   445
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   446
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   447
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   448
  <a href="/log/3/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   449
  <a href="/log/3/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   450
  | <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
   451
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   452
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   453
  <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   454
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   455
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   456
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   457
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   458
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   459
  </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   460
  <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   461
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   462
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   463
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   464
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   465
     <a href="/rev/5ed941583260">first a</a>
25110
c9f382c8233a hgweb: also display changeset bookmarks in file log (style=paper)
Anton Shestakov <engored@ya.ru>
parents: 25109
diff changeset
   466
     <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   467
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   468
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   469
   
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   470
  
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   471
  </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   472
  </table>
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
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   475
  <a href="/log/3/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   476
  <a href="/log/3/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   477
  | <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
   478
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   479
  
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
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   482
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   483
  
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
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   486
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   487
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   488
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   489
first version - one revision
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   490
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   491
  $ (get-with-headers.py localhost:$HGPORT 'log/1/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   492
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   493
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   494
  <!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
   495
  <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
   496
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   497
  <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
   498
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   499
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   500
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   501
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   502
  <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   503
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   504
     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
   505
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   506
     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
   507
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   508
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   509
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   510
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   511
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   512
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
   513
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   514
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   515
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   516
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   517
  <li><a href="/shortlog/1">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   518
  <li><a href="/graph/1">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   519
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13547
diff changeset
   520
  <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   521
  <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   522
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   523
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   524
  <li><a href="/rev/1">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   525
  <li><a href="/file/1">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   526
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   527
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   528
  <li><a href="/file/1/a">file</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   529
  <li><a href="/diff/1/a">diff</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   530
  <li><a href="/comparison/1/a">comparison</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   531
  <li><a href="/annotate/1/a">annotate</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   532
  <li class="active">file log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   533
  <li><a href="/raw-file/1/a">raw</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   534
  </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   535
  <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   536
  <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
   537
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   538
  <div class="atom-logo">
27554
1c66497261b2 hgweb: fixed invalid atom-log feed url in file log page
Yoshinari Takaoka <mumumu@mumumu.org>
parents: 27081
diff changeset
   539
  <a href="/atom-log/tip/a" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   540
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   541
  </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
   542
  </div>
12437
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
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   546
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   547
  <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   548
   log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   549
   <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   550
   
27081
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
   551
  </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   552
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   553
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   554
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   555
  <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   556
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   557
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   558
  </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   559
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   560
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   561
  <a href="/log/1/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   562
  <a href="/log/1/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   563
  | <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
   564
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   565
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   566
  <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   567
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   568
    <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   569
    <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   570
    <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   571
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   572
  </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   573
  <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   574
   <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   575
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   576
    <td class="author">test</td>
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   577
    <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   578
     <a href="/rev/5ed941583260">first a</a>
25110
c9f382c8233a hgweb: also display changeset bookmarks in file log (style=paper)
Anton Shestakov <engored@ya.ru>
parents: 25109
diff changeset
   579
     <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
25108
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   580
    </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   581
   </tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
   582
   
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   583
  
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   584
  </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   585
  </table>
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
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   588
  <a href="/log/1/a?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   589
  <a href="/log/1/a?revcount=120">more</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   590
  | <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
   591
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   592
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   593
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   594
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   595
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   596
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   597
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   598
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   599
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   600
  
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   601
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   602
before addition - error
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
   603
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   604
  $ (get-with-headers.py localhost:$HGPORT 'log/0/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   605
  404 Not Found
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   606
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   607
  <!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
   608
  <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
   609
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   610
  <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
   611
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   612
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   613
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   614
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   615
  <title>test: error</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   616
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   617
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   618
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   619
  <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   620
  <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   621
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
   622
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   623
  <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
   624
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   625
  <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   626
  <li><a href="/shortlog">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   627
  <li><a href="/graph">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   628
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13547
diff changeset
   629
  <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   630
  <li><a href="/branches">branches</a></li>
17290
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
   631
  </ul>
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
   632
  <ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
   633
  <li><a href="/help">help</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   634
  </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   635
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   636
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   637
  <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   638
  
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   639
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   640
  <h3>error</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   641
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   642
  <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   643
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   644
  <p><input name="rev" id="search1" type="text" size="30"></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   645
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   646
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   647
  </form>
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
  <div class="description">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   650
  <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   651
  An error occurred while processing your request:
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   652
  </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   653
  <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   654
  a@6563da9dcf87: not found in manifest
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   655
  </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   656
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   657
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   658
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   659
  
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
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   662
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   663
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   664
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   665
  [1]
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   666
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   667
  $ hg log -r 'followlines(c, 1:2, startrev=tip) and follow(c)'
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   668
  changeset:   0:6563da9dcf87
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   669
  user:        test
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   670
  date:        Thu Jan 01 00:00:00 1970 +0000
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   671
  summary:     b
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   672
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   673
  changeset:   7:46c1a66bd8fc
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   674
  branch:      a-branch
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   675
  tag:         tip
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   676
  user:        test
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   677
  date:        Thu Jan 01 00:00:00 1970 +0000
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   678
  summary:     change c
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   679
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   680
  $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1:2')
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   681
  200 Script output follows
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   682
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   683
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   684
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   685
  <head>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   686
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   687
  <meta name="robots" content="index, nofollow" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   688
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   689
  <script type="text/javascript" src="/static/mercurial.js"></script>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   690
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   691
  <title>test: c history</title>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   692
  <link rel="alternate" type="application/atom+xml"
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   693
     href="/atom-log/tip/c" title="Atom feed for test:c" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   694
  <link rel="alternate" type="application/rss+xml"
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   695
     href="/rss-log/tip/c" title="RSS feed for test:c" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   696
  </head>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   697
  <body>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   698
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   699
  <div class="container">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   700
  <div class="menu">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   701
  <div class="logo">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   702
  <a href="https://mercurial-scm.org/">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   703
  <img src="/static/hglogo.png" alt="mercurial" /></a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   704
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   705
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   706
  <li><a href="/shortlog/tip">log</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   707
  <li><a href="/graph/tip">graph</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   708
  <li><a href="/tags">tags</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   709
  <li><a href="/bookmarks">bookmarks</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   710
  <li><a href="/branches">branches</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   711
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   712
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   713
  <li><a href="/rev/tip">changeset</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   714
  <li><a href="/file/tip">browse</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   715
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   716
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   717
  <li><a href="/file/tip/c">file</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   718
  <li><a href="/diff/tip/c">diff</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   719
  <li><a href="/comparison/tip/c">comparison</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   720
  <li><a href="/annotate/tip/c">annotate</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   721
  <li class="active">file log</li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   722
  <li><a href="/raw-file/tip/c">raw</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   723
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   724
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   725
  <li><a href="/help">help</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   726
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   727
  <div class="atom-logo">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   728
  <a href="/atom-log/tip/c" title="subscribe to atom feed">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   729
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   730
  </a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   731
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   732
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   733
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   734
  <div class="main">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   735
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   736
  <h3>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   737
   log c @ 7:<a href="/rev/46c1a66bd8fc">46c1a66bd8fc</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   738
   <span class="branchname">a-branch</span> <span class="tag">tip</span> 
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   739
    (following lines 1:2 <a href="/log/tip/c">back to filelog</a>)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   740
  </h3>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   741
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   742
  <form class="search" action="/log">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   743
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   744
  <p><input name="rev" id="search1" type="text" size="30" /></p>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   745
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   746
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   747
  </form>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   748
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   749
  <div class="navigate">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   750
  <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   751
  <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   752
  |  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   753
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   754
  <table class="bigtable">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   755
  <thead>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   756
   <tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   757
    <th class="age">age</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   758
    <th class="author">author</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   759
    <th class="description">description</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   760
   </tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   761
  </thead>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   762
  <tbody class="stripes2">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   763
   <tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   764
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   765
    <td class="author">test</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   766
    <td class="description">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   767
     <a href="/rev/46c1a66bd8fc">change c</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   768
     <span class="branchhead">a-branch</span> <span class="tag">tip</span> 
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   769
    </td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   770
   </tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   771
   
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   772
   <tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   773
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   774
    <td class="author">test</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   775
    <td class="description">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   776
     <a href="/rev/6563da9dcf87">b</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   777
     
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   778
    </td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   779
   </tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   780
   
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   781
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   782
  </tbody>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   783
  </table>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   784
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   785
  <div class="navigate">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   786
  <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   787
  <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   788
  |  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   789
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   790
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   791
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   792
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   793
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   794
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   795
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   796
  </body>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   797
  </html>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   798
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   799
  $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1%3A2&revcount=1')
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   800
  200 Script output follows
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   801
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   802
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   803
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   804
  <head>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   805
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   806
  <meta name="robots" content="index, nofollow" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   807
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   808
  <script type="text/javascript" src="/static/mercurial.js"></script>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   809
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   810
  <title>test: c history</title>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   811
  <link rel="alternate" type="application/atom+xml"
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   812
     href="/atom-log/tip/c" title="Atom feed for test:c" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   813
  <link rel="alternate" type="application/rss+xml"
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   814
     href="/rss-log/tip/c" title="RSS feed for test:c" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   815
  </head>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   816
  <body>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   817
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   818
  <div class="container">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   819
  <div class="menu">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   820
  <div class="logo">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   821
  <a href="https://mercurial-scm.org/">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   822
  <img src="/static/hglogo.png" alt="mercurial" /></a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   823
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   824
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   825
  <li><a href="/shortlog/tip?revcount=1">log</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   826
  <li><a href="/graph/tip?revcount=1">graph</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   827
  <li><a href="/tags?revcount=1">tags</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   828
  <li><a href="/bookmarks?revcount=1">bookmarks</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   829
  <li><a href="/branches?revcount=1">branches</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   830
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   831
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   832
  <li><a href="/rev/tip?revcount=1">changeset</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   833
  <li><a href="/file/tip?revcount=1">browse</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   834
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   835
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   836
  <li><a href="/file/tip/c?revcount=1">file</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   837
  <li><a href="/diff/tip/c?revcount=1">diff</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   838
  <li><a href="/comparison/tip/c?revcount=1">comparison</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   839
  <li><a href="/annotate/tip/c?revcount=1">annotate</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   840
  <li class="active">file log</li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   841
  <li><a href="/raw-file/tip/c">raw</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   842
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   843
  <ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   844
  <li><a href="/help?revcount=1">help</a></li>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   845
  </ul>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   846
  <div class="atom-logo">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   847
  <a href="/atom-log/tip/c" title="subscribe to atom feed">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   848
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   849
  </a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   850
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   851
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   852
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   853
  <div class="main">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   854
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   855
  <h3>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   856
   log c @ 7:<a href="/rev/46c1a66bd8fc?revcount=1">46c1a66bd8fc</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   857
   <span class="branchname">a-branch</span> <span class="tag">tip</span> 
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   858
    (following lines 1:2 <a href="/log/tip/c?revcount=1">back to filelog</a>)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   859
  </h3>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   860
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   861
  <form class="search" action="/log">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   862
  <input type="hidden" name="revcount" value="1" />
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   863
  <p><input name="rev" id="search1" type="text" size="30" /></p>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   864
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   865
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   866
  </form>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   867
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   868
  <div class="navigate">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   869
  <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   870
  <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   871
  |  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   872
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   873
  <table class="bigtable">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   874
  <thead>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   875
   <tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   876
    <th class="age">age</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   877
    <th class="author">author</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   878
    <th class="description">description</th>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   879
   </tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   880
  </thead>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   881
  <tbody class="stripes2">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   882
   <tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   883
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   884
    <td class="author">test</td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   885
    <td class="description">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   886
     <a href="/rev/46c1a66bd8fc?revcount=1">change c</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   887
     <span class="branchhead">a-branch</span> <span class="tag">tip</span> 
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   888
    </td>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   889
   </tr>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   890
   
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   891
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   892
  </tbody>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   893
  </table>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   894
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   895
  <div class="navigate">
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   896
  <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   897
  <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   898
  |  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   899
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   900
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   901
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   902
  </div>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   903
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   904
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   905
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   906
  </body>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   907
  </html>
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   908
  
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   909
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1' --headeronly)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   910
  400 invalid linerange parameter
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   911
  [1]
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   912
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:a' --headeronly)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   913
  400 invalid linerange parameter
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   914
  [1]
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   915
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:2&linerange=3:4' --headeronly)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   916
  400 redundant linerange parameter
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   917
  [1]
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   918
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=3:2' --headeronly)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   919
  400 line range must be positive
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   920
  [1]
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   921
  $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=0:1' --headeronly)
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   922
  400 fromline must be strictly positive
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   923
  [1]
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
   924
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   925
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
   926
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
   927
  $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?style=spartan')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   928
  200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   929
  
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
   930
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   931
  <html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   932
  <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   933
  <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
   934
  <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   935
  <link rel="stylesheet" href="/static/style.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   936
  <script type="text/javascript" src="/static/mercurial.js"></script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   937
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   938
  <title>test: c history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   939
  <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   940
     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
   941
  <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   942
     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
   943
  </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   944
  <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   945
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   946
  <div class="buttons">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   947
  <a href="/log?style=spartan">changelog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   948
  <a href="/shortlog?style=spartan">shortlog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   949
  <a href="/graph?style=spartan">graph</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   950
  <a href="/tags?style=spartan">tags</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   951
  <a href="/branches?style=spartan">branches</a>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   952
  <a href="/file/tip/c?style=spartan">file</a>
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   953
  <a href="/annotate/tip/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
   954
  <a href="/help?style=spartan">help</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   955
  <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
   956
  <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
   957
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   958
  
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   959
  <h2><a href="/">Mercurial</a>  / c revision history</h2>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   960
  
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   961
  <p>navigate: <small class="navigate"><a href="/log/c9637d3cc8ef/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   962
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   963
  <table class="logEntry parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   964
   <tr>
21124
a65714215377 hgweb: align entries in "changelog" and "revisions" pages of "spartan" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21117
diff changeset
   965
    <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   966
    <th class="firstline"><a href="/rev/46c1a66bd8fc?style=spartan">change c</a></th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   967
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   968
   <tr>
23828
8b79fdaa9f85 hgweb: close <th> properly in spartan/filelogentry.tmpl
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   969
    <th class="revision">revision 1:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   970
    <td class="node">
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   971
     <a href="/file/46c1a66bd8fc/c?style=spartan">46c1a66bd8fc</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   972
     <a href="/diff/46c1a66bd8fc/c?style=spartan">(diff)</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   973
     <a href="/annotate/46c1a66bd8fc/c?style=spartan">(annotate)</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   974
    </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   975
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   976
   
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   977
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   978
    <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   979
    <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   980
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   981
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   982
    <th class="date">date:</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
   983
    <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   984
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   985
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   986
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   987
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   988
  <table class="logEntry parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   989
   <tr>
21124
a65714215377 hgweb: align entries in "changelog" and "revisions" pages of "spartan" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21117
diff changeset
   990
    <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   991
    <th class="firstline"><a href="/rev/c9637d3cc8ef?style=spartan">mv b</a></th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   992
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   993
   <tr>
23828
8b79fdaa9f85 hgweb: close <th> properly in spartan/filelogentry.tmpl
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   994
    <th class="revision">revision 0:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   995
    <td class="node">
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   996
     <a href="/file/c9637d3cc8ef/c?style=spartan">c9637d3cc8ef</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   997
     <a href="/diff/c9637d3cc8ef/c?style=spartan">(diff)</a>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
   998
     <a href="/annotate/c9637d3cc8ef/c?style=spartan">(annotate)</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
   999
    </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1000
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1001
   
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1002
  <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1003
  <th>base:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1004
  <td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1005
  <a href="/file/1e88685f5dde/b?style=spartan">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1006
  b@1e88685f5dde
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1007
  </a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1008
  </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1009
  </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1010
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1011
    <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1012
    <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1013
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1014
   <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1015
    <th class="date">date:</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
  1016
    <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1017
   </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1018
  </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1019
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1020
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1021
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1022
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1023
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1024
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
  1025
  <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1026
  <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
  1027
  </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1028
  
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1029
  </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1030
  </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1031
  
7612
069b29656401 web: use the correct filectx in filelog
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7300
diff changeset
  1032
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1033
filelog with patch
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1034
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1035
  $ (get-with-headers.py localhost:$HGPORT 'log/4/a?patch=1')
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1036
  200 Script output follows
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1037
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1038
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1039
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1040
  <head>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1041
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1042
  <meta name="robots" content="index, nofollow" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1043
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1044
  <script type="text/javascript" src="/static/mercurial.js"></script>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1045
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1046
  <title>test: a history</title>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1047
  <link rel="alternate" type="application/atom+xml"
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1048
     href="/atom-log/tip/a" title="Atom feed for test:a" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1049
  <link rel="alternate" type="application/rss+xml"
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1050
     href="/rss-log/tip/a" title="RSS feed for test:a" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1051
  </head>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1052
  <body>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1053
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1054
  <div class="container">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1055
  <div class="menu">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1056
  <div class="logo">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1057
  <a href="https://mercurial-scm.org/">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1058
  <img src="/static/hglogo.png" alt="mercurial" /></a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1059
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1060
  <ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1061
  <li><a href="/shortlog/4">log</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1062
  <li><a href="/graph/4">graph</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1063
  <li><a href="/tags">tags</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1064
  <li><a href="/bookmarks">bookmarks</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1065
  <li><a href="/branches">branches</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1066
  </ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1067
  <ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1068
  <li><a href="/rev/4">changeset</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1069
  <li><a href="/file/4">browse</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1070
  </ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1071
  <ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1072
  <li><a href="/file/4/a">file</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1073
  <li><a href="/diff/4/a">diff</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1074
  <li><a href="/comparison/4/a">comparison</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1075
  <li><a href="/annotate/4/a">annotate</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1076
  <li class="active">file log</li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1077
  <li><a href="/raw-file/4/a">raw</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1078
  </ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1079
  <ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1080
  <li><a href="/help">help</a></li>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1081
  </ul>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1082
  <div class="atom-logo">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1083
  <a href="/atom-log/tip/a" title="subscribe to atom feed">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1084
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1085
  </a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1086
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1087
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1088
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1089
  <div class="main">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1090
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1091
  <h3>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1092
   log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1093
   <span class="branchname">a-branch</span> 
31670
5e6d44511317 hgweb: handle a "linerange" request parameter in filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31666
diff changeset
  1094
   
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1095
  </h3>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1096
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1097
  <form class="search" action="/log">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1098
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1099
  <p><input name="rev" id="search1" type="text" size="30" /></p>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1100
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1101
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1102
  </form>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1103
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1104
  <div class="navigate">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1105
  <a href="/log/4/a?patch=1&revcount=30">less</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1106
  <a href="/log/4/a?patch=1&revcount=120">more</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1107
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1108
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1109
  <table class="bigtable">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1110
  <thead>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1111
   <tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1112
    <th class="age">age</th>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1113
    <th class="author">author</th>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1114
    <th class="description">description</th>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1115
   </tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1116
  </thead>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1117
  <tbody class="stripes2">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1118
   <tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1119
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1120
    <td class="author">test</td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1121
    <td class="description">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1122
     <a href="/rev/3f41bc784e7e">second a</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1123
     <span class="branchname">a-branch</span> 
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1124
    </td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1125
   </tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1126
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1127
  <span id="3f41bc784e7e-l1.1" class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1128
  <span id="3f41bc784e7e-l1.2" class="plusline">+++ b/a	Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1129
  <span id="3f41bc784e7e-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#3f41bc784e7e-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1130
  <span id="3f41bc784e7e-l1.4" class="plusline">+b</span><a href="#3f41bc784e7e-l1.4"></a></pre></div></td></tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1131
   <tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1132
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1133
    <td class="author">test</td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1134
    <td class="description">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1135
     <a href="/rev/5ed941583260">first a</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1136
     <span class="tag">a-tag</span> <span class="tag">a-bookmark</span> 
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1137
    </td>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1138
   </tr>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1139
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1140
  <span id="5ed941583260-l1.1" class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1141
  <span id="5ed941583260-l1.2" class="plusline">+++ b/a	Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1142
  <span id="5ed941583260-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#5ed941583260-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1143
  <span id="5ed941583260-l1.4" class="plusline">+a</span><a href="#5ed941583260-l1.4"></a></pre></div></td></tr>
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1144
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1145
  </tbody>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1146
  </table>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1147
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1148
  <div class="navigate">
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1149
  <a href="/log/4/a?patch=1&revcount=30">less</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1150
  <a href="/log/4/a?patch=1&revcount=120">more</a>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1151
  | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> 
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1152
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1153
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1154
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1155
  </div>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1156
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1157
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1158
  
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1159
  </body>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1160
  </html>
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1161
  
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1162
filelog with 'linerange' and 'patch'
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1163
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1164
  $ cat c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1165
  b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1166
  c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1167
  $ cat <<EOF > c
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1168
  > 0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1169
  > 0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1170
  > b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1171
  > c+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1172
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1173
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1174
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1175
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1176
  > d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1177
  > e
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1178
  > f
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1179
  > EOF
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1180
  $ hg ci -m 'make c bigger and touch its beginning' c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1181
  $ cat <<EOF > c
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1182
  > 0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1183
  > 0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1184
  > b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1185
  > c+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1186
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1187
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1188
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1189
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1190
  > d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1191
  > e+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1192
  > f
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1193
  > EOF
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1194
  $ hg ci -m 'just touch end of c' c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1195
  $ cat <<EOF > c
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1196
  > 0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1197
  > 0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1198
  > b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1199
  > c++
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1200
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1201
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1202
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1203
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1204
  > d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1205
  > e+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1206
  > f
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1207
  > EOF
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1208
  $ hg ci -m 'touch beginning of c' c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1209
  $ cat <<EOF > c
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1210
  > 0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1211
  > 0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1212
  > b-
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1213
  > c++
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1214
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1215
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1216
  > a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1217
  > 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1218
  > d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1219
  > e+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1220
  > f+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1221
  > EOF
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1222
  $ hg ci -m 'touching beginning and end of c' c
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1223
  $ hg log -r 'followlines(c, 3:4, startrev=tip) and follow(c)' -p
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1224
  changeset:   0:6563da9dcf87
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1225
  user:        test
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1226
  date:        Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1227
  summary:     b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1228
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1229
  diff -r 000000000000 -r 6563da9dcf87 b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1230
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1231
  +++ b/b	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1232
  @@ -0,0 +1,1 @@
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1233
  +b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1234
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1235
  changeset:   7:46c1a66bd8fc
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1236
  branch:      a-branch
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1237
  user:        test
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1238
  date:        Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1239
  summary:     change c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1240
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1241
  diff -r c9637d3cc8ef -r 46c1a66bd8fc c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1242
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1243
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1244
  @@ -1,1 +1,2 @@
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1245
   b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1246
  +c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1247
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1248
  changeset:   8:5c6574614c37
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1249
  branch:      a-branch
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1250
  user:        test
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1251
  date:        Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1252
  summary:     make c bigger and touch its beginning
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1253
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1254
  diff -r 46c1a66bd8fc -r 5c6574614c37 c
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1255
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1256
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1257
  @@ -1,2 +1,11 @@
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1258
  +0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1259
  +0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1260
   b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1261
  -c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1262
  +c+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1263
  +
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1264
  +a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1265
  +a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1266
  +
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1267
  +d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1268
  +e
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1269
  +f
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1270
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1271
  changeset:   10:e95928d60479
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1272
  branch:      a-branch
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1273
  user:        test
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1274
  date:        Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1275
  summary:     touch beginning of c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1276
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1277
  diff -r e1d3e9c5a23f -r e95928d60479 c
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1278
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1279
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1280
  @@ -1,7 +1,7 @@
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1281
   0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1282
   0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1283
   b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1284
  -c+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1285
  +c++
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1286
   
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1287
   a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1288
   a
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1289
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1290
  changeset:   11:fb9bc322513a
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1291
  branch:      a-branch
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1292
  tag:         tip
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1293
  user:        test
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1294
  date:        Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1295
  summary:     touching beginning and end of c
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1296
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1297
  diff -r e95928d60479 -r fb9bc322513a c
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1298
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1299
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1300
  @@ -1,6 +1,6 @@
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1301
   0
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1302
   0
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1303
  -b
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1304
  +b-
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1305
   c++
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1306
   
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1307
   a
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1308
  @@ -8,4 +8,4 @@
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1309
   
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1310
   d
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1311
   e+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1312
  -f
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1313
  +f+
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1314
  
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1315
  $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=3:4&patch=')
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1316
  200 Script output follows
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1317
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1318
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1319
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1320
  <head>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1321
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1322
  <meta name="robots" content="index, nofollow" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1323
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1324
  <script type="text/javascript" src="/static/mercurial.js"></script>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1325
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1326
  <title>test: c history</title>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1327
  <link rel="alternate" type="application/atom+xml"
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1328
     href="/atom-log/tip/c" title="Atom feed for test:c" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1329
  <link rel="alternate" type="application/rss+xml"
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1330
     href="/rss-log/tip/c" title="RSS feed for test:c" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1331
  </head>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1332
  <body>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1333
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1334
  <div class="container">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1335
  <div class="menu">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1336
  <div class="logo">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1337
  <a href="https://mercurial-scm.org/">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1338
  <img src="/static/hglogo.png" alt="mercurial" /></a>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1339
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1340
  <ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1341
  <li><a href="/shortlog/tip">log</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1342
  <li><a href="/graph/tip">graph</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1343
  <li><a href="/tags">tags</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1344
  <li><a href="/bookmarks">bookmarks</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1345
  <li><a href="/branches">branches</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1346
  </ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1347
  <ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1348
  <li><a href="/rev/tip">changeset</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1349
  <li><a href="/file/tip">browse</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1350
  </ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1351
  <ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1352
  <li><a href="/file/tip/c">file</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1353
  <li><a href="/diff/tip/c">diff</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1354
  <li><a href="/comparison/tip/c">comparison</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1355
  <li><a href="/annotate/tip/c">annotate</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1356
  <li class="active">file log</li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1357
  <li><a href="/raw-file/tip/c">raw</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1358
  </ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1359
  <ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1360
  <li><a href="/help">help</a></li>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1361
  </ul>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1362
  <div class="atom-logo">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1363
  <a href="/atom-log/tip/c" title="subscribe to atom feed">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1364
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1365
  </a>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1366
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1367
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1368
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1369
  <div class="main">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1370
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1371
  <h3>
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1372
   log c @ 11:<a href="/rev/fb9bc322513a">fb9bc322513a</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1373
   <span class="branchname">a-branch</span> <span class="tag">tip</span> 
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1374
    (following lines 3:4 <a href="/log/tip/c">back to filelog</a>)
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1375
  </h3>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1376
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1377
  <form class="search" action="/log">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1378
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1379
  <p><input name="rev" id="search1" type="text" size="30" /></p>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1380
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1381
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1382
  </form>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1383
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1384
  <div class="navigate">
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1385
  <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1386
  <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1387
  |  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1388
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1389
  <table class="bigtable">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1390
  <thead>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1391
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1392
    <th class="age">age</th>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1393
    <th class="author">author</th>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1394
    <th class="description">description</th>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1395
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1396
  </thead>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1397
  <tbody class="stripes2">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1398
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1399
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1400
    <td class="author">test</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1401
    <td class="description">
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1402
     <a href="/rev/fb9bc322513a">touching beginning and end of c</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1403
     <span class="branchhead">a-branch</span> <span class="tag">tip</span> 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1404
    </td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1405
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1406
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1407
  <span id="fb9bc322513a-l1.1" class="minusline">--- a/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1408
  <span id="fb9bc322513a-l1.2" class="plusline">+++ b/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1409
  <span id="fb9bc322513a-l1.3" class="atline">@@ -1,6 +1,6 @@</span><a href="#fb9bc322513a-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1410
  <span id="fb9bc322513a-l1.4"> 0</span><a href="#fb9bc322513a-l1.4"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1411
  <span id="fb9bc322513a-l1.5"> 0</span><a href="#fb9bc322513a-l1.5"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1412
  <span id="fb9bc322513a-l1.6" class="minusline">-b</span><a href="#fb9bc322513a-l1.6"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1413
  <span id="fb9bc322513a-l1.7" class="plusline">+b-</span><a href="#fb9bc322513a-l1.7"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1414
  <span id="fb9bc322513a-l1.8"> c++</span><a href="#fb9bc322513a-l1.8"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1415
  <span id="fb9bc322513a-l1.9"> </span><a href="#fb9bc322513a-l1.9"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1416
  <span id="fb9bc322513a-l1.10"> a</span><a href="#fb9bc322513a-l1.10"></a></pre></div></td></tr>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1417
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1418
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1419
    <td class="author">test</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1420
    <td class="description">
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1421
     <a href="/rev/e95928d60479">touch beginning of c</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1422
     <span class="branchname">a-branch</span> 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1423
    </td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1424
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1425
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1426
  <span id="e95928d60479-l1.1" class="minusline">--- a/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1427
  <span id="e95928d60479-l1.2" class="plusline">+++ b/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1428
  <span id="e95928d60479-l1.3" class="atline">@@ -1,7 +1,7 @@</span><a href="#e95928d60479-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1429
  <span id="e95928d60479-l1.4"> 0</span><a href="#e95928d60479-l1.4"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1430
  <span id="e95928d60479-l1.5"> 0</span><a href="#e95928d60479-l1.5"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1431
  <span id="e95928d60479-l1.6"> b</span><a href="#e95928d60479-l1.6"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1432
  <span id="e95928d60479-l1.7" class="minusline">-c+</span><a href="#e95928d60479-l1.7"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1433
  <span id="e95928d60479-l1.8" class="plusline">+c++</span><a href="#e95928d60479-l1.8"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1434
  <span id="e95928d60479-l1.9"> </span><a href="#e95928d60479-l1.9"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1435
  <span id="e95928d60479-l1.10"> a</span><a href="#e95928d60479-l1.10"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1436
  <span id="e95928d60479-l1.11"> a</span><a href="#e95928d60479-l1.11"></a></pre></div></td></tr>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1437
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1438
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1439
    <td class="author">test</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1440
    <td class="description">
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1441
     <a href="/rev/5c6574614c37">make c bigger and touch its beginning</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1442
     <span class="branchname">a-branch</span> 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1443
    </td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1444
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1445
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1446
  <span id="5c6574614c37-l1.1" class="minusline">--- a/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1447
  <span id="5c6574614c37-l1.2" class="plusline">+++ b/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1448
  <span id="5c6574614c37-l1.3" class="atline">@@ -1,2 +1,11 @@</span><a href="#5c6574614c37-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1449
  <span id="5c6574614c37-l1.4" class="plusline">+0</span><a href="#5c6574614c37-l1.4"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1450
  <span id="5c6574614c37-l1.5" class="plusline">+0</span><a href="#5c6574614c37-l1.5"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1451
  <span id="5c6574614c37-l1.6"> b</span><a href="#5c6574614c37-l1.6"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1452
  <span id="5c6574614c37-l1.7" class="minusline">-c</span><a href="#5c6574614c37-l1.7"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1453
  <span id="5c6574614c37-l1.8" class="plusline">+c+</span><a href="#5c6574614c37-l1.8"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1454
  <span id="5c6574614c37-l1.9" class="plusline">+</span><a href="#5c6574614c37-l1.9"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1455
  <span id="5c6574614c37-l1.10" class="plusline">+a</span><a href="#5c6574614c37-l1.10"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1456
  <span id="5c6574614c37-l1.11" class="plusline">+a</span><a href="#5c6574614c37-l1.11"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1457
  <span id="5c6574614c37-l1.12" class="plusline">+</span><a href="#5c6574614c37-l1.12"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1458
  <span id="5c6574614c37-l1.13" class="plusline">+d</span><a href="#5c6574614c37-l1.13"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1459
  <span id="5c6574614c37-l1.14" class="plusline">+e</span><a href="#5c6574614c37-l1.14"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1460
  <span id="5c6574614c37-l1.15" class="plusline">+f</span><a href="#5c6574614c37-l1.15"></a></pre></div></td></tr>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1461
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1462
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1463
    <td class="author">test</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1464
    <td class="description">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1465
     <a href="/rev/46c1a66bd8fc">change c</a>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1466
     <span class="branchname">a-branch</span> 
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1467
    </td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1468
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1469
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1470
  <span id="46c1a66bd8fc-l1.1" class="minusline">--- a/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1471
  <span id="46c1a66bd8fc-l1.2" class="plusline">+++ b/c	Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.2"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1472
  <span id="46c1a66bd8fc-l1.3" class="atline">@@ -1,1 +1,2 @@</span><a href="#46c1a66bd8fc-l1.3"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1473
  <span id="46c1a66bd8fc-l1.4"> b</span><a href="#46c1a66bd8fc-l1.4"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1474
  <span id="46c1a66bd8fc-l1.5" class="plusline">+c</span><a href="#46c1a66bd8fc-l1.5"></a></pre></div></td></tr>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1475
   <tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1476
    <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1477
    <td class="author">test</td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1478
    <td class="description">
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1479
     <a href="/rev/6563da9dcf87">b</a>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1480
     
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1481
    </td>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1482
   </tr>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1483
   <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
31732
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1484
  <span id="6563da9dcf87-l1.1" class="minusline">--- /dev/null	Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.1"></a>
6be6e4becaaf hgweb: prefix line id by ctx shortnode in filelog when patches are shown
Denis Laxalde <denis@laxalde.org>
parents: 31709
diff changeset
  1485
  <span id="6563da9dcf87-l1.2" class="plusline">+++ b/b	Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.2"></a></pre></div></td></tr>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1486
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1487
  </tbody>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1488
  </table>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1489
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1490
  <div class="navigate">
31709
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1491
  <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
cbe0bea82c79 hgweb: fix diff hunks filtering by line range in webutil.diffs()
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31672
diff changeset
  1492
  <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
31672
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1493
  |  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1494
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1495
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1496
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1497
  </div>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1498
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1499
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1500
  
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1501
  </body>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1502
  </html>
e540846c67e0 hgweb: filter diff hunks when 'linerange' and 'patch' are specified in filelog
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 31670
diff changeset
  1503
  
31666
f36dc643ffdc hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 30765
diff changeset
  1504
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1505
rss log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1506
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
  1507
  $ (get-with-headers.py localhost:$HGPORT 'rss-log/tip/a')
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1508
  200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1509
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1510
  <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1511
  <rss version="2.0">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1512
    <channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1513
      <link>http://*:$HGPORT/</link> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1514
      <language>en-us</language>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1515
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1516
      <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1517
      <description>a revision history</description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1518
      <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1519
      <title>second a</title>
30260
7817df5585db hgweb: add missing slash to file log url in rss style
Anton Shestakov <av6@dwimlabs.net>
parents: 29439
diff changeset
  1520
      <link>http://*:$HGPORT/log/3f41bc784e7e/a</link> (glob)
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1521
      <description><![CDATA[second a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1522
      <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1523
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1524
  </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1525
  <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1526
      <title>first a</title>
30260
7817df5585db hgweb: add missing slash to file log url in rss style
Anton Shestakov <av6@dwimlabs.net>
parents: 29439
diff changeset
  1527
      <link>http://*:$HGPORT/log/5ed941583260/a</link> (glob)
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1528
      <description><![CDATA[first a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1529
      <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1530
      <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1531
  </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1532
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1533
    </channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1534
  </rss>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1535
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1536
atom log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1537
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
  1538
  $ (get-with-headers.py localhost:$HGPORT 'atom-log/tip/a')
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1539
  200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1540
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1541
  <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1542
  <feed xmlns="http://www.w3.org/2005/Atom">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1543
   <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1544
   <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1545
   <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1546
   <updated>1970-01-01T00:00:00+00:00</updated>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1547
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1548
   <entry>
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
  1549
    <title>[a-branch] second a</title>
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
  1550
    <id>http://*:$HGPORT/#changeset-3f41bc784e7e73035c6d47112c6cc7efb673adf8</id> (glob)
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
  1551
    <link href="http://*:$HGPORT/rev/3f41bc784e7e"/> (glob)
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1552
    <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1553
     <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1554
     <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1555
    </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1556
    <updated>1970-01-01T00:00:00+00:00</updated>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1557
    <published>1970-01-01T00:00:00+00:00</published>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1558
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1559
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1560
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1561
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1562
       <td>3f41bc784e7e</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1563
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1564
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1565
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1566
       <td>a-branch</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1567
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1568
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1569
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1570
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1571
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1572
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1573
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1574
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1575
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1576
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1577
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1578
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1579
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1580
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1581
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1582
       <td>second a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1583
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1584
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1585
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1586
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1587
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1588
     </table>
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1589
    </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1590
   </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1591
   <entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1592
    <title>first a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1593
    <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1594
    <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1595
    <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1596
     <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1597
     <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1598
    </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1599
    <updated>1970-01-01T00:00:00+00:00</updated>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1600
    <published>1970-01-01T00:00:00+00:00</published>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1601
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1602
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1603
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1604
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1605
       <td>5ed941583260</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1606
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1607
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1608
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1609
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1610
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1611
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1612
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1613
       <td>a-bookmark</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1614
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1615
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1616
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1617
       <td>a-tag</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1618
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1619
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1620
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1621
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1622
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1623
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1624
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1625
       <td>first a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1626
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1627
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1628
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1629
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1630
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
  1631
     </table>
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1632
    </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1633
   </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1634
  
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1635
  </feed>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
  1636
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1637
errors
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1638
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
  1639
  $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
  1640
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
  1641
  $ cd ..