changeset 47018:8d733cbc2724 stable

tests: add coverage for git.changelog.headrevs(...) Differential Revision: https://phab.mercurial-scm.org/D10523
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 27 Apr 2021 12:59:17 -0400
parents 497cedcb6504
children 03c73fc6f89a
files tests/test-git-interop.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
+  
+
+