diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/svn.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index 547c04fd9e..8d768026be 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py | |||
@@ -139,6 +139,7 @@ class Svn(Fetch): | |||
139 | # update sources there | 139 | # update sources there |
140 | os.chdir(ud.moddir) | 140 | os.chdir(ud.moddir) |
141 | logger.debug(1, "Running %s", svnupdatecmd) | 141 | logger.debug(1, "Running %s", svnupdatecmd) |
142 | bb.fetch2.check_network_access(d, svnupdatecmd) | ||
142 | runfetchcmd(svnupdatecmd, d) | 143 | runfetchcmd(svnupdatecmd, d) |
143 | else: | 144 | else: |
144 | svnfetchcmd = self._buildsvncommand(ud, d, "fetch") | 145 | svnfetchcmd = self._buildsvncommand(ud, d, "fetch") |
@@ -147,6 +148,7 @@ class Svn(Fetch): | |||
147 | bb.mkdirhier(ud.pkgdir) | 148 | bb.mkdirhier(ud.pkgdir) |
148 | os.chdir(ud.pkgdir) | 149 | os.chdir(ud.pkgdir) |
149 | logger.debug(1, "Running %s", svnfetchcmd) | 150 | logger.debug(1, "Running %s", svnfetchcmd) |
151 | bb.fetch2.check_network_access(d, svnfetchcmd) | ||
150 | runfetchcmd(svnfetchcmd, d) | 152 | runfetchcmd(svnfetchcmd, d) |
151 | 153 | ||
152 | scmdata = ud.parm.get("scmdata", "") | 154 | scmdata = ud.parm.get("scmdata", "") |
@@ -180,7 +182,7 @@ class Svn(Fetch): | |||
180 | """ | 182 | """ |
181 | Return the latest upstream revision number | 183 | Return the latest upstream revision number |
182 | """ | 184 | """ |
183 | logger.debug(2, "SVN fetcher hitting network for %s", url) | 185 | bb.fetch2.check_network_access(d, self._buildsvncommand(ud, d, "info")) |
184 | 186 | ||
185 | output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True) | 187 | output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True) |
186 | 188 | ||