Patchwork D10523: tests: add coverage for git.changelog.headrevs(...)

login
register
mail settings
Submitter phabricator
Date April 28, 2021, 3:08 p.m.
Message ID <differential-rev-PHID-DREV-tlom6vf5koyj2qaew6gk-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48843/
State Superseded
Headers show

Comments

phabricator - April 28, 2021, 3:08 p.m.
mharbison72 created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
pulkit accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D10523

AFFECTED FILES
  tests/test-git-interop.t

CHANGE DETAILS




To: mharbison72, durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-git-interop.t b/tests/test-git-interop.t
--- a/tests/test-git-interop.t
+++ b/tests/test-git-interop.t
@@ -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
+  
+
+