Bug 1392304 - fix typo in mozversioncontrol for git; r=gps
authorMike Shal <mshal@mozilla.com>
Fri, 18 Aug 2017 21:06:08 -0400
changeset 375932 58db74bca66e1b6d274b0c56fa1c811a5aaa47a0
parent 375931 e8a5813bc9b92c0722c4abcfbfe6cc0f8ea2fa17
child 375933 89585e8d8a5bc2047b8d89bd06bc5d45b9ec8754
push id49246
push usergszorc@mozilla.com
push dateMon, 21 Aug 2017 15:58:38 +0000
treeherderautoland@58db74bca66e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1392304
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1392304 - fix typo in mozversioncontrol for git; r=gps MozReview-Commit-ID: 1r1Vl5WVhsd
python/mozversioncontrol/mozversioncontrol/__init__.py
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
@@ -180,17 +180,17 @@ def get_repository_from_env():
                                        'output and verify it could find a '
                                        'VCS binary')
 
         if flavor == 'hg':
             return HgRepository(buildconfig.topsrcdir,
                                 hg=buildconfig.substs['HG'])
         elif flavor == 'git':
             return GitRepository(buildconfig.topsrcdir,
-                                 git=buildconfig.subst['GIT'])
+                                 git=buildconfig.substs['GIT'])
         else:
             raise MissingVCSInfo('unknown VCS_CHECKOUT_TYPE value: %s' % flavor)
 
     except ImportError:
         pass
 
     def ancestors(path):
         while path: