Patchwork D4602: phabricator: move extension from contrib to hgext

login
register
mail settings
Submitter Yuya Nishihara
Date Sept. 15, 2018, 7:22 a.m.
Message ID <20180915162257.b42a66bbe09dd8bdb74a78bd@tcha.org>
Download mbox | patch
Permalink /patch/34704/
State New
Headers show

Comments

Yuya Nishihara - Sept. 15, 2018, 7:22 a.m.
Added workaround for test-check-help. as follows:

```
```

This doesn't look nice, but should be okay for now.
phabricator - Sept. 15, 2018, 7:23 a.m.
yuja added a comment.


  Added workaround for test-check-help. as follows:
  
    diff --git a/tests/test-check-help.t b/tests/test-check-help.t
    --- a/tests/test-check-help.t
    +++ b/tests/test-check-help.t
    @@ -26,4 +26,4 @@ Check if ":hg:`help TOPIC`" is valid:
       $ testrepohg files 'glob:{hgdemandimport,hgext,mercurial}/**/*.py' \
       > | sed 's|\\|/|g' \
       > | xargs $PYTHON "$TESTTMP/scanhelptopics.py" \
    -  > | xargs -n1 hg help > /dev/null
    +  > | xargs -n1 hg help --config extensions.phabricator= > /dev/null
  
  This doesn't look nice, but should be okay for now.

REPOSITORY
  rHG Mercurial

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

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

Patch

diff --git a/tests/test-check-help.t b/tests/test-check-help.t
--- a/tests/test-check-help.t
+++ b/tests/test-check-help.t
@@ -26,4 +26,4 @@  Check if ":hg:`help TOPIC`" is valid:
   $ testrepohg files 'glob:{hgdemandimport,hgext,mercurial}/**/*.py' \
   > | sed 's|\\|/|g' \
   > | xargs $PYTHON "$TESTTMP/scanhelptopics.py" \
-  > | xargs -n1 hg help > /dev/null
+  > | xargs -n1 hg help --config extensions.phabricator= > /dev/null