diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/hg.py')
-rw-r--r-- | bitbake/lib/bb/fetch/hg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py index 9c11debd80..f70611017b 100644 --- a/bitbake/lib/bb/fetch/hg.py +++ b/bitbake/lib/bb/fetch/hg.py | |||
@@ -140,6 +140,7 @@ class Hg(Fetch): | |||
140 | # Even when we clone (fetch), we still need to update as hg's clone | 140 | # Even when we clone (fetch), we still need to update as hg's clone |
141 | # won't checkout the specified revision if its on a branch | 141 | # won't checkout the specified revision if its on a branch |
142 | updatecmd = self._buildhgcommand(ud, d, "update") | 142 | updatecmd = self._buildhgcommand(ud, d, "update") |
143 | os.chdir(ud.moddir) | ||
143 | logger.debug(1, "Running %s", updatecmd) | 144 | logger.debug(1, "Running %s", updatecmd) |
144 | runfetchcmd(updatecmd, d) | 145 | runfetchcmd(updatecmd, d) |
145 | 146 | ||