tests: add coverage for git.changelog.headrevs(...) stable
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 27 Apr 2021 12:59:17 -0400
branchstable
changeset 47047 8d733cbc2724
parent 47046 497cedcb6504
child 47048 03c73fc6f89a
tests: add coverage for git.changelog.headrevs(...) Differential Revision: https://phab.mercurial-scm.org/D10523
tests/test-git-interop.t
--- a/tests/test-git-interop.t	Tue Apr 27 12:31:30 2021 -0400
+++ b/tests/test-git-interop.t	Tue Apr 27 12:59:17 2021 -0400
@@ -407,4 +407,12 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     remove beta
   
+This covers changelog.headrevs() with a non-None arg
 
+TODO: Fix the user name.  The stray > char also break `hg ci --amend`.
+  $ hg log -r 'heads(.)' -Tcompact
+  7[tip][master]   116aee5ecdff   1970-01-01 00:00 +0000   test>
+    remove beta
+  
+
+