tests/test-inhibit.t
changeset 1225 577f5340be6f
parent 1224 859a854cedc3
child 1232 37c00aeb4762
equal deleted inserted replaced
1224:859a854cedc3 1225:577f5340be6f
   125   parent: 9:55c73a90e4b4 tip
   125   parent: 9:55c73a90e4b4 tip
   126    add cJ
   126    add cJ
   127   branch: default
   127   branch: default
   128   commit: (clean)
   128   commit: (clean)
   129   update: 1 new changesets, 2 branch heads (merge)
   129   update: 1 new changesets, 2 branch heads (merge)
       
   130 
       
   131 check public revision got cleared
       
   132 (when adding the second inhibitor, the first one is removed because it is public)
       
   133 
       
   134   $ wc -m .hg/store/obsinhibit
       
   135   20 .hg/store/obsinhibit
       
   136   $ hg prune 7
       
   137   1 changesets pruned
       
   138   $ hg debugobsinhibit --hidden 18214586bf78
       
   139   $ wc -m .hg/store/obsinhibit
       
   140   20 .hg/store/obsinhibit
       
   141   $ hg log -G
       
   142   @  9:55c73a90e4b4 add cJ
       
   143   |
       
   144   | o  7:18214586bf78 add cJ
       
   145   |/
       
   146   o  6:cf5c4f4554ce add cH
       
   147   |
       
   148   o  5:5419eb264a33 add cG
       
   149   |
       
   150   o  4:98065434e5c6 add cE
       
   151   |
       
   152   o  0:54ccbc537fc2 add cA
       
   153   
       
   154   $ hg phase --public 7
       
   155   $ hg prune 9
       
   156   1 changesets pruned
       
   157   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
   158   working directory now at cf5c4f4554ce
       
   159   $ hg debugobsinhibit --hidden 55c73a90e4b4
       
   160   $ wc -m .hg/store/obsinhibit
       
   161   20 .hg/store/obsinhibit
       
   162   $ hg log -G
       
   163   o  9:55c73a90e4b4 add cJ
       
   164   |
       
   165   | o  7:18214586bf78 add cJ
       
   166   |/
       
   167   @  6:cf5c4f4554ce add cH
       
   168   |
       
   169   o  5:5419eb264a33 add cG
       
   170   |
       
   171   o  4:98065434e5c6 add cE
       
   172   |
       
   173   o  0:54ccbc537fc2 add cA
       
   174   
       
   175