tests/test-clone.t
changeset 46314 95a615dd77bf
parent 46071 f4f07cc92a47
child 47183 8be95673eb8a
equal deleted inserted replaced
46313:4cde46f62ebf 46314:95a615dd77bf
    54   $ cd ../b
    54   $ cd ../b
    55 
    55 
    56 Ensure branchcache got copied over:
    56 Ensure branchcache got copied over:
    57 
    57 
    58   $ ls .hg/cache
    58   $ ls .hg/cache
       
    59   branch2-base
       
    60   branch2-immutable
    59   branch2-served
    61   branch2-served
       
    62   branch2-served.hidden
       
    63   branch2-visible
       
    64   branch2-visible-hidden
       
    65   hgtagsfnodes1
    60   rbc-names-v1
    66   rbc-names-v1
    61   rbc-revs-v1
    67   rbc-revs-v1
       
    68   tags2
       
    69   tags2-served
    62 
    70 
    63   $ cat a
    71   $ cat a
    64   a
    72   a
    65   $ hg verify
    73   $ hg verify
    66   checking changesets
    74   checking changesets
    97   linking: 15 files (reposimplestore !)
   105   linking: 15 files (reposimplestore !)
    98   linking: 16 files (reposimplestore !)
   106   linking: 16 files (reposimplestore !)
    99   linking: 17 files (reposimplestore !)
   107   linking: 17 files (reposimplestore !)
   100   linking: 18 files (reposimplestore !)
   108   linking: 18 files (reposimplestore !)
   101   linked 18 files (reposimplestore !)
   109   linked 18 files (reposimplestore !)
       
   110   updating the branch cache
   102 #else
   111 #else
   103   $ hg --debug clone -U . ../c --config progress.debug=true
   112   $ hg --debug clone -U . ../c --config progress.debug=true
   104   linking: 1 files
   113   linking: 1 files
   105   copying: 2 files
   114   copying: 2 files
   106   copying: 3 files
   115   copying: 3 files
   125   $ cd ../c
   134   $ cd ../c
   126 
   135 
   127 Ensure branchcache got copied over:
   136 Ensure branchcache got copied over:
   128 
   137 
   129   $ ls .hg/cache
   138   $ ls .hg/cache
       
   139   branch2-base
       
   140   branch2-immutable
   130   branch2-served
   141   branch2-served
       
   142   branch2-served.hidden
       
   143   branch2-visible
       
   144   branch2-visible-hidden
       
   145   hgtagsfnodes1
   131   rbc-names-v1
   146   rbc-names-v1
   132   rbc-revs-v1
   147   rbc-revs-v1
       
   148   tags2
       
   149   tags2-served
   133 
   150 
   134   $ cat a 2>/dev/null || echo "a not present"
   151   $ cat a 2>/dev/null || echo "a not present"
   135   a not present
   152   a not present
   136   $ hg verify
   153   $ hg verify
   137   checking changesets
   154   checking changesets