summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/localrepocache.py')
-rw-r--r--morphlib/localrepocache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/localrepocache.py b/morphlib/localrepocache.py
index 0b1f0734..ee919582 100644
--- a/morphlib/localrepocache.py
+++ b/morphlib/localrepocache.py
@@ -180,6 +180,7 @@ class LocalRepoCache(object):
return False, 'Unable to fetch bundle %s: %s' % (bundle_url, e)
try:
self._git(['clone', bundle_path, path])
+ self._git(['remote', 'set-url', 'origin', repourl])
except morphlib.execute.CommandFailure, e: # pragma: no cover
if self._exists(path):
shutil.rmtree(path)