git: set ui.promptecho in test; r?glob draft
authorGregory Szorc <gps@mozilla.com>
Tue, 01 Aug 2017 19:07:54 -0700
changeset 11438 107351902acb076a2d34fe80a10a8904f6546221
parent 11437 3aabf7656f851f6a25481abbb5086a28eefb694f
child 11439 4551f186d4b4894390129ed7e401742dbffc0222
push id1746
push userbmo:gps@mozilla.com
push dateThu, 03 Aug 2017 02:22:07 +0000
reviewersglob
git: set ui.promptecho in test; r?glob Modern versions of Mercurial need this set so input received from ui.prompt() is printed back out. Without this, test output changes on modern versions of Mercurial. MozReview-Commit-ID: Ft80fLdBpgg
git/tests/test-mozreview-configure.t
--- a/git/tests/test-mozreview-configure.t
+++ b/git/tests/test-mozreview-configure.t
@@ -20,16 +20,17 @@ Create autoreview repo manifest
   96ee1d7354c4ad7372047672c36a1f561e3a6a4c http://$DOCKER_HOSTNAME:$HGPORT/test-repo ssh://$DOCKER_HOSTNAME:$HGPORT6/test-repo
 
   $ git -c fetch.prune=true clone hg::${MERCURIAL_URL}test-repo gitrepo
   Cloning into 'gitrepo'...
   $ cd gitrepo
   $ cat > .git/hgrc << EOF
   > [ui]
   > interactive = true
+  > promptecho = true
   > EOF
 
   $ configure << EOF
   > default@example.com
   > ${defaultkey}
   > mynick
   > EOF
   MozReview uses Bugzilla credentials to communicate with servers. These credentials will be stored in your .git/config file in plain text.