D4736: revset: fix commonancestor test so it demonstrates correct behavior

valentin.gatienbaron (Valentin Gatien-Baron) phabricator at mercurial-scm.org
Wed Sep 26 07:34:44 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf28812c708a5: revset: fix commonancestor test so it demonstrates correct behavior (authored by valentin.gatienbaron, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4736?vs=11353&id=11362

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

AFFECTED FILES
  tests/test-revset.t

CHANGE DETAILS

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -1049,7 +1049,7 @@
   2
   4
 
-  $ hg log -T '{rev}\n' -r 'commonancestors(head())'
+  $ hg log -T '{rev}\n' -r 'commonancestors(heads(all()))'
   0
   1
   2



To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list