tests/test-repo-filters-tiptoe.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 17 Nov 2019 14:39:28 +0100
changeset 44104 85c4cd73996b
parent 43784 f9068413bd0c
child 44106 bfaf4c673bec
permissions -rw-r--r--
localrepo: also fastpath access to working copy parents when possible If the filter level guarantee that the working copy parents will be visible, we allow fast path access to them. With this change multiple commands can now run without triggering filtering. After using the quick access mechanism introduced, the whole series results in pretty good performance gain: ``` All benchmarks: before after ratio [8e095512] [36b2f659] - 711±0.8ms 60.7±0.2ms 0.09 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 712±0.8ms 61.6±0.2ms 0.09 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 690±1ms 93.5±0.3ms 0.14 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 688±1ms 93.8±0.3ms 0.14 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 714±1ms 60.7±0.8ms 0.09 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 713±1ms 60.9±0.3ms 0.09 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 689±1ms 93.7±0.2ms 0.14 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 687±2ms 92.8±0.2ms 0.14 simple_command.read.diff.empty.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 799±2ms 98.1±0.6ms 0.12 simple_command.read.export.bare.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 800±0.8ms 100.0±0.4ms 0.12 simple_command.read.export.bare.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 711±0.9ms 111±0.2ms 0.16 simple_command.read.export.bare.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 711±1ms 112±0.3ms 0.16 simple_command.read.export.bare.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 760±1ms 59.8±0.1ms 0.08 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 763±2ms 62.2±0.3ms 0.08 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 689±1ms 93.1±0.3ms 0.14 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 688±1ms 94.3±0.3ms 0.14 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 1) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 763±1ms 60.1±0.2ms 0.08 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 763±1ms 62.1±0.4ms 0.08 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] - 689±0.8ms 93.2±0.2ms 0.14 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython] - 687±0.9ms 94.1±0.3ms 0.14 simple_command.read.status.wc_clean.default.time_bench('mercurial-filtered-2019-11-22', 'zstd', 'default', True, True, True, True, True, 2) [citrea/virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython] ``` Differential Revision: https://phab.mercurial-scm.org/D7492
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43776
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     1
===================================
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     2
Test repository filtering avoidance
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     3
===================================
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     4
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     5
This test file is a bit special as he does not check feature, but performance related internal code path.
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     6
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     7
Right now, filtering a repository comes with a cost that might be significant.
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     8
Until this get better, ther are various operation that try hard not to trigger
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     9
a filtering computation. This test file make sure we don't reintroduce code that trigger the filtering for these operation:
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    10
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    11
Setup
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    12
-----
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    13
  $ hg init test-repo
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    14
  $ cd test-repo
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    15
  $ echo "some line" > z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    16
  $ echo a > a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    17
  $ hg commit -Am a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    18
  adding a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    19
  adding z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    20
  $ echo "in a" >> z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    21
  $ echo b > b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    22
  $ hg commit -Am b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    23
  adding b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    24
  $ echo "file" >> z
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    25
  $ echo c > c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    26
  $ hg commit -Am c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    27
  adding c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    28
  $ hg rm a
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    29
  $ echo c1 > c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    30
  $ hg add c
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    31
  c already tracked!
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    32
  $ echo d > d
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    33
  $ hg add d
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    34
  $ rm b
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    35
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    36
  $ cat << EOF >> $HGRCPATH
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    37
  > [devel]
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    38
  > debug.repo-filters = yes
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    39
  > [ui]
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    40
  > debug = yes
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    41
  > EOF
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    42
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    43
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    44
tests
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    45
-----
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    46
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    47
Getting the node of `null`
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    48
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    49
  $ hg log -r null -T "{node}\n"
3082ef682bc2 repoview: add a test to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    50
  0000000000000000000000000000000000000000
43779
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    51
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    52
Getting basic changeset inforation about `null`
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    53
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    54
  $ hg log -r null -T "{node}\n{date}\n"
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    55
  0000000000000000000000000000000000000000
1a415548794a repoview: add a test that access actual changeset data of `null`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43778
diff changeset
    56
  0.00
43782
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    57
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    58
Getting status of null
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    59
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    60
  $ hg status --change null
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    61
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    62
Getting status of working copy
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    63
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    64
  $ hg status
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    65
  M c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    66
  A d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    67
  R a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    68
  ! b
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    69
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    70
Getting data about the working copy parent
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    71
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    72
  $ hg log -r '.' -T "{node}\n{date}\n"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    73
  debug.filters: computing revision filter for "visible"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    74
  c2932ca7786be30b67154d541a8764fae5532261
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    75
  0.00
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    76
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    77
Getting working copy diff
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    78
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    79
  $ hg diff
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    80
  diff -r c2932ca7786be30b67154d541a8764fae5532261 a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    81
  --- a/a	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    82
  +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    83
  @@ -1,1 +0,0 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    84
  -a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    85
  diff -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    86
  --- a/c	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    87
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    88
  @@ -1,1 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    89
  -c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    90
  +c1
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    91
  diff -r c2932ca7786be30b67154d541a8764fae5532261 d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    92
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    93
  +++ b/d	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    94
  @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    95
  +d
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    96
  $ hg diff --change .
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    97
  debug.filters: computing revision filter for "visible"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    98
  diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
    99
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   100
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   101
  @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   102
  +c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   103
  diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   104
  --- a/z	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   105
  +++ b/z	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   106
  @@ -1,2 +1,3 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   107
   some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   108
   in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   109
  +file
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   110
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   111
exporting the current changeset
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   112
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   113
  $ hg export
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   114
  debug.filters: computing revision filter for "visible"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   115
  exporting patch:
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   116
  # HG changeset patch
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   117
  # User test
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   118
  # Date 0 0
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   119
  #      Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   120
  # Node ID c2932ca7786be30b67154d541a8764fae5532261
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   121
  # Parent  05293e5dd8d1ae4f84a8520a11c6f97cad26deca
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   122
  c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   123
  
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   124
  diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   125
  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   126
  +++ b/c	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   127
  @@ -0,0 +1,1 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   128
  +c
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   129
  diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   130
  --- a/z	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   131
  +++ b/z	Thu Jan 01 00:00:00 1970 +0000
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   132
  @@ -1,2 +1,3 @@
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   133
   some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   134
   in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   135
  +file
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   136
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   137
using annotate
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   138
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   139
- file with a single change
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   140
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   141
  $ hg annotate a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   142
  debug.filters: computing revision filter for "visible"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   143
  0: a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   144
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   145
- file with multiple change
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   146
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   147
  $ hg annotate z
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   148
  debug.filters: computing revision filter for "visible"
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   149
  0: some line
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   150
  1: in a
f1c49bc79b4d repoview: add more tests to track operation not supposed to trigger filtering
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 43781
diff changeset
   151
  2: file