tests/test-branches.t
changeset 31454 a5bad127128d
parent 31173 052e4f1ffce9
child 32949 13eebc189ff3
--- a/tests/test-branches.t	Wed Mar 15 23:28:39 2017 +0900
+++ b/tests/test-branches.t	Wed Mar 15 15:48:57 2017 -0700
@@ -1,5 +1,10 @@
   $ hg init a
   $ cd a
+
+Verify checking branch of nullrev before the cache is created doesnt crash
+  $ hg log -r 'branch(.)' -T '{branch}\n'
+
+Basic test
   $ echo 'root' >root
   $ hg add root
   $ hg commit -d '0 0' -m "Adding root node"