test-inhibit: check graph after prune
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Apr 2015 11:35:46 -0700
changeset 1238 ee695c7d1bf1
parent 1237 1439bc8c6785
child 1239 8a06b32061ce
test-inhibit: check graph after prune We want to ensure prune keep working even with inhibit.
tests/test-inhibit.t
--- a/tests/test-inhibit.t	Fri Apr 03 11:34:02 2015 -0700
+++ b/tests/test-inhibit.t	Fri Apr 03 11:35:46 2015 -0700
@@ -157,6 +157,17 @@
   1 changesets pruned
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   working directory now at cf5c4f4554ce
+  $ hg log -G
+  o  7:18214586bf78 add cJ
+  |
+  @  6:cf5c4f4554ce add cH
+  |
+  o  5:5419eb264a33 add cG
+  |
+  o  4:98065434e5c6 add cE
+  |
+  o  0:54ccbc537fc2 add cA
+  
   $ hg debugobsinhibit --hidden 55c73a90e4b4
   $ wc -m .hg/store/obsinhibit | sed -e 's/^[ \t]*//'
   20 .hg/store/obsinhibit