D1081: tests: add check in test-check-commit.t to verify releasenotes directives

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Oct 15 00:44:54 EDT 2017


durin42 updated this revision to Diff 2762.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1081?vs=2747&id=2762

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

AFFECTED FILES
  tests/test-check-commit.t

CHANGE DETAILS

diff --git a/tests/test-check-commit.t b/tests/test-check-commit.t
--- a/tests/test-check-commit.t
+++ b/tests/test-check-commit.t
@@ -17,6 +17,11 @@
   >        cat ${TESTTMP}/check-commit.out
   >        echo
   >   fi
+  >   testrepohg --config extensions.releasenotes= releasenotes -r $node \
+  >     "${TESTTMP}/notes"
+  >   if [ $? -ne 0 ] ; then
+  >        echo "Revision $node has broken releasenotes declaration"
+  >   fi
   > done
 
 



To: durin42, #hg-reviewers, indygreg, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list