testing: rename MOZREVIEW_PATH to MOZREVIEW_HOME
authorGregory Szorc <gps@mozilla.com>
Mon, 19 Jan 2015 16:21:10 -0500
changeset 360145 29dc3db8c9229817ba893832cbf15e88f31d5ac9
parent 360144 6ff7dbe1ad9be21c2ddba189ba80dfa5ccbb57df
child 360146 a01c43122597e5e6e82880902c1f91e4a5a8329b
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
testing: rename MOZREVIEW_PATH to MOZREVIEW_HOME
docs/hacking-mozreview.rst
testing/vcttesting/mozreview_mach_commands.py
--- a/docs/hacking-mozreview.rst
+++ b/docs/hacking-mozreview.rst
@@ -62,17 +62,17 @@ working site. If you don't, file a bug!
    Storing MozReview instances inside a Mercurial repository will
    introduce many untracked files. It is recommended to store your
    instances outside of a repository checkout.
 
 .. hint::
 
    All ``mozreview`` commands take a positional argument defining the
    path to the instance they should operate on. If you define the
-   ``MOZREVIEW_PATH`` environment variable, you do not need to define
+   ``MOZREVIEW_HOME`` environment variable, you do not need to define
    this argument.
 
 Creating Repositories
 ---------------------
 
 MozReview instances are initially empty. They don't have any
 repositories you can push to.
 
--- a/testing/vcttesting/mozreview_mach_commands.py
+++ b/testing/vcttesting/mozreview_mach_commands.py
@@ -9,18 +9,18 @@ from mach.decorators import (
     CommandArgument,
     CommandProvider,
     Command,
 )
 
 @CommandProvider
 class MozReviewCommands(object):
     def _get_mozreview(self, where):
-        if not where and 'MOZREVIEW_PATH' in os.environ:
-            where = os.environ['MOZREVIEW_PATH']
+        if not where and 'MOZREVIEW_HOME' in os.environ:
+            where = os.environ['MOZREVIEW_HOME']
 
         from vcttesting.mozreview import MozReview
         return MozReview(where)
 
     @Command('start', category='mozreview',
         description='Start a MozReview instance')
     @CommandArgument('where', nargs='?',
         help='Directory of MozReview instance')