hghooks: Bump Mercurial version to 4.4.2 (
bug 1454296) r?gps
Bump Mercurial version of the hgdev environment to 4.4.2 to match production,
fix tests.
MozReview-Commit-ID: 89jcZaRBBt4
--- a/hghooks/tests/test-prevent-hgweb-changes.t
+++ b/hghooks/tests/test-prevent-hgweb-changes.t
@@ -21,16 +21,17 @@ Pulling is allowed
$ hg pull
pulling from $TESTTMP/server
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
+ new changesets 68986213bd44
(run 'hg update' to get a working copy)
$ hg up tip
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Creating a local commit doesn't work
$ echo 1 > foo
$ hg commit -m local
--- a/hghooks/tests/test-prevent-wptsync-changes.t
+++ b/hghooks/tests/test-prevent-wptsync-changes.t
@@ -121,17 +121,16 @@ wptsync user can push changes to testing
added 1 changesets with 2 changes to 2 files
Test pushes to try
$ cd ..
$ rm -rf client
$ hg init try
$ configurehooks try
- $ touch try/.hg/IS_FIREFOX_REPO
$ hg -q clone try client
$ cd client
$ mkdir -p testing/web-platform/tests
$ mkdir testing/web-platform/meta
$ mkdir -p taskcluster/ci
$ mkdir other
--- a/pylib/mozhg/mozhg/util.py
+++ b/pylib/mozhg/mozhg/util.py
@@ -53,17 +53,17 @@ def identify_repo(repo):
Bool if this is a Firefox repo where released Firefoxen could come
from. These repos have more stringent requirements than a typical
Firefox repo.
hosted
Bool indicating if the repo is hosted. (In a path used by servers.)
user_repo
Bool indicating if the repo is a user repository.
publishing
- Bool indicating if hte repo is publishing.
+ Bool indicating if the repo is publishing.
path
Path to the repository. If a hosted repo, this will be the repo path
minus the hosting prefix. Else, this will be the repo's path.
"""
repo_root = repo.ui.config('mozilla', 'repo_root', '/repo/hg/mozilla')
if not repo_root.endswith('/'):
repo_root += '/'
--- a/testing/requirements-hgdev.txt
+++ b/testing/requirements-hgdev.txt
@@ -24,18 +24,18 @@ ipaddress==1.0.16 \
# mozbuild dependency.
jsmin==2.1.1 \
--hash=sha256:582f70f5fef561c8d561271206f45258d0c420eec31a8628914e87c73a2192e1
mach==0.5.1 \
--hash=sha256:61bda1a1033c110f781427c479dd151a45fc45e46ce28e37fabf0d3cc2edf91e
-Mercurial==4.2.3 \
- --hash=sha256:04908fc7d89e5810edf3d2762f5aecce5b5c0cb8534f3dbff7d0d848d11ff7ac
+Mercurial==4.4.2 \
+ --hash=sha256:dc2f72caccd6b760226753d48c2f4e8889fe176a6b23ef50775caac55ce28b85
mock==1.0.1 \
--hash=sha256:b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f \
--hash=sha256:8f83080daa249d036cbccfb8ae5cc6ff007b88d6d937521371afabe7b19badbc
# For moz.build reading in hgmo extension.
mozbuild==0.2 \
--hash=sha256:24227608fc3c735fbb5c629d0540a600368c1d5e57013dd39272a0a5c9cccb13