testing: give hint to set MOZREVIEW_HOME
authorGregory Szorc <gps@mozilla.com>
Mon, 19 Jan 2015 16:15:58 -0500
changeset 360146 a01c43122597e5e6e82880902c1f91e4a5a8329b
parent 360145 29dc3db8c9229817ba893832cbf15e88f31d5ac9
child 360147 54e830743de97f1cbeb1a249df9bb5378b090622
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
testing: give hint to set MOZREVIEW_HOME This is a clear UX win if set. Encourage it.
testing/vcttesting/mozreview_mach_commands.py
--- a/testing/vcttesting/mozreview_mach_commands.py
+++ b/testing/vcttesting/mozreview_mach_commands.py
@@ -38,16 +38,18 @@ class MozReviewCommands(object):
                 mercurial_port=mercurial_port,
                 verbose=True)
 
         print('Bugzilla URL: %s' % mr.bugzilla_url)
         print('Review Board URL: %s' % mr.reviewboard_url)
         print('Mercurial URL: %s' % mr.mercurial_url)
         print('Admin username: %s' % mr.admin_username)
         print('Admin password: %s' % mr.admin_password)
+        print('Run the following to use this instance with all future commands:')
+        print('  export MOZREVIEW_HOME=%s' % mr._path)
 
     @Command('stop', category='mozreview',
         description='Stop a MozReview instance')
     @CommandArgument('where', nargs='?',
         help='Directory of MozReview instance')
     def stop(self, where):
         mr = self._get_mozreview(where)
         mr.stop()