hghooks: Bump Mercurial version to 4.4.2 (bug 1454296) r?gps draft
authorbyron jones <glob@mozilla.com>
Tue, 17 Apr 2018 14:50:38 +0800
changeset 12208 42a69c2e4d691d5510379a30af0c840ba7a45468
parent 12204 cf2860a4de9da299c490840120a8c6c5f37b0d83
child 12209 554622016ec7a823ecc9cfa99faaeda4a29e369e
push id1917
push userbjones@mozilla.com
push dateWed, 18 Apr 2018 06:58:38 +0000
reviewersgps
bugs1454296
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
hghooks/tests/test-prevent-hgweb-changes.t
hghooks/tests/test-prevent-wptsync-changes.t
pylib/mozhg/mozhg/util.py
testing/requirements-hgdev.txt
--- 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