tests/test-fastannotate-protocol.t
changeset 39715 d8a7690ccc74
parent 39707 5abc47d4ca6b
child 42151 7116fc614cfc
equal deleted inserted replaced
39714:491fc3f4be67 39715:d8a7690ccc74
    45   remote: capabilities: * (glob)
    45   remote: capabilities: * (glob)
    46   remote: * (glob) (?)
    46   remote: * (glob) (?)
    47   sending protocaps command
    47   sending protocaps command
    48   fastannotate: requesting 1 files
    48   fastannotate: requesting 1 files
    49   sending getannotate command
    49   sending getannotate command
    50   fastannotate: server returned
       
    51   fastannotate: writing 112 bytes to fastannotate/default/a.l
    50   fastannotate: writing 112 bytes to fastannotate/default/a.l
    52   fastannotate: writing 94 bytes to fastannotate/default/a.m
    51   fastannotate: writing 94 bytes to fastannotate/default/a.m
    53   fastannotate: a: using fast path (resolved fctx: True)
    52   fastannotate: a: using fast path (resolved fctx: True)
    54   0: 1
    53   0: 1
    55   1: 2
    54   1: 2
    92   remote: capabilities: * (glob)
    91   remote: capabilities: * (glob)
    93   remote: * (glob) (?)
    92   remote: * (glob) (?)
    94   sending protocaps command
    93   sending protocaps command
    95   fastannotate: requesting 1 files
    94   fastannotate: requesting 1 files
    96   sending getannotate command
    95   sending getannotate command
    97   fastannotate: server returned
       
    98   fastannotate: a: 1 new changesets in the main branch
    96   fastannotate: a: 1 new changesets in the main branch
    99   0: 1
    97   0: 1
   100   1: 2
    98   1: 2
   101   2: 3
    99   2: 3
   102   3: 4
   100   3: 4
   140 
   138 
   141 in the "fctx" mode, the client could also build the cache locally
   139 in the "fctx" mode, the client could also build the cache locally
   142 
   140 
   143   $ hg annotate a --config fastannotate.modes=fctx --debug --config fastannotate.mainbranch=4 | grep fastannotate
   141   $ hg annotate a --config fastannotate.modes=fctx --debug --config fastannotate.mainbranch=4 | grep fastannotate
   144   fastannotate: requesting 1 files
   142   fastannotate: requesting 1 files
   145   fastannotate: server returned
       
   146   fastannotate: a: 1 new changesets in the main branch
   143   fastannotate: a: 1 new changesets in the main branch
   147 
   144 
   148 the server would rebuild broken cache automatically
   145 the server would rebuild broken cache automatically
   149 
   146 
   150   $ cp $p2/a.m $p2/a.m.bak
   147   $ cp $p2/a.m $p2/a.m.bak
   169   remote: capabilities: * (glob)
   166   remote: capabilities: * (glob)
   170   remote: * (glob) (?)
   167   remote: * (glob) (?)
   171   sending protocaps command
   168   sending protocaps command
   172   fastannotate: requesting 1 files
   169   fastannotate: requesting 1 files
   173   sending getannotate command
   170   sending getannotate command
   174   fastannotate: server returned
       
   175   fastannotate: writing * (glob)
   171   fastannotate: writing * (glob)
   176   fastannotate: writing * (glob)
   172   fastannotate: writing * (glob)
   177   $ diff $p1/a.l $p2/a.l
   173   $ diff $p1/a.l $p2/a.l
   178   $ diff $p1/a.m $p2/a.m
   174   $ diff $p1/a.m $p2/a.m
   179 
   175