Patchwork D8390: tests: move the phabricator auth token to the global config file

login
register
mail settings
Submitter phabricator
Date April 8, 2020, 9:52 p.m.
Message ID <differential-rev-PHID-DREV-hob6ixewg3rylkckjlla-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46045/
State Superseded
Headers show

Comments

phabricator - April 8, 2020, 9:52 p.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The next commit introduces a new repo to simplify its development.  This value
  needs to be modified to record tests, so it doesn't make sense to have to do
  that twice.  The callsign and URL are *not* moved because there are tests that
  fallback to the .arcconfig file when those aren't present.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-phabricator.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
@@ -3,6 +3,15 @@ 
   > [extensions]
   > phabricator = 
   > 
+  > [auth]
+  > hgphab.schemes = https
+  > hgphab.prefix = phab.mercurial-scm.org
+  > # When working on the extension and making phabricator interaction
+  > # changes, edit this to be a real phabricator token. When done, edit
+  > # it back. The VCR transcripts will be auto-sanitised to replace your real
+  > # token with this value.
+  > hgphab.phabtoken = cli-hahayouwish
+  > 
   > [phabricator]
   > debug = True
   > EOF
@@ -12,15 +21,6 @@ 
   > [phabricator]
   > url = https://phab.mercurial-scm.org/
   > callsign = HG
-  > 
-  > [auth]
-  > hgphab.schemes = https
-  > hgphab.prefix = phab.mercurial-scm.org
-  > # When working on the extension and making phabricator interaction
-  > # changes, edit this to be a real phabricator token. When done, edit
-  > # it back. The VCR transcripts will be auto-sanitised to replace your real
-  > # token with this value.
-  > hgphab.phabtoken = cli-hahayouwish
   > EOF
   $ VCR="$TESTDIR/phabricator"