diff -r afd75476939e -r 1ae119269ddc tests/test-hgweb-diffs.t --- a/tests/test-hgweb-diffs.t Fri Jul 06 13:56:40 2012 -0700 +++ b/tests/test-hgweb-diffs.t Sun Jul 08 17:17:02 2012 +0200 @@ -227,6 +227,7 @@
  • file
  • latest
  • diff
  • +
  • comparison
  • annotate
  • file log
  • raw
  • @@ -491,6 +492,7 @@
  • file
  • latest
  • diff
  • +
  • comparison
  • annotate
  • file log
  • raw
  • @@ -549,6 +551,378 @@ + +comparison new file + + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'comparison/0/a' + 200 Script output follows + + + + + + + + + + test: a comparison + + + +
    + + +
    +

    test

    +

    comparison a @ 0:0cd96de13884

    + + + +
    a
    + + + + + + + + + + + + + + + + + + + +
    authortest
    dateThu, 01 Jan 1970 00:00:00 +0000
    parents
    children559edbd9ed20
    + +
    +
    comparison
    +
    + equal + deleted + inserted + replaced +
    + + + + + + + + + + + + + + + + + +
    -1:0000000000000:b789fdd96dc2
    1 a
    + +
    +
    +
    + + + + + + + + +comparison existing file + + $ hg up + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ echo a >> a + $ hg ci -mc + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'comparison/tip/a' + 200 Script output follows + + + + + + + + + + test: a comparison + + + +
    + + +
    +

    test

    +

    comparison a @ 2:d73db4d812ff

    + + + +
    c
    + + + + + + + + + + + + + + + + + + + +
    authortest
    dateThu, 01 Jan 1970 00:00:00 +0000
    parents559edbd9ed20
    children
    + +
    +
    comparison
    +
    + equal + deleted + inserted + replaced +
    + + + + + + + + + + + + + + + + + + + + + +
    0:b789fdd96dc21:a80d06849b33
    1 a 1 a
    2 a
    + +
    +
    +
    + + + + + + + + +comparison removed file + + $ hg rm a + $ hg ci -md + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'comparison/tip/a' + 200 Script output follows + + + + + + + + + + test: a comparison + + + +
    + + +
    +

    test

    +

    comparison a @ 3:20e80271eb7a

    + + + +
    d
    + + + + + + + + + + + + + + + + + + + +
    authortest
    dateThu, 01 Jan 1970 00:00:00 +0000
    parentsd73db4d812ff
    children
    + +
    +
    comparison
    +
    + equal + deleted + inserted + replaced +
    + + + + + + + + + + + + + + + + + + + + + +
    1:a80d06849b33-1:000000000000
    1 a
    2 a
    + +
    +
    +
    + + + + + + + + $ cd .. test import rev as raw-rev