D4602: phabricator: move extension from contrib to hgext

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Sep 15 03:31:41 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd2c81e83de2a: phabricator: move extension from contrib to hgext (authored by durin42, committed by ).

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D4602?vs=11083&id=11091#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4602?vs=11083&id=11091

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

AFFECTED FILES
  contrib/phabricator.py
  hgext/phabricator.py
  tests/test-check-help.t
  tests/test-phabricator.t

CHANGE DETAILS

diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
@@ -1,7 +1,7 @@
 #require vcr
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
-  > phabricator = $TESTDIR/../contrib/phabricator.py
+  > phabricator = 
   > EOF
   $ hg init repo
   $ cd repo
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 @@
   $ 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
diff --git a/contrib/phabricator.py b/hgext/phabricator.py
rename from contrib/phabricator.py
rename to hgext/phabricator.py



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


More information about the Mercurial-devel mailing list