diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-11-22 15:06:13 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-11-22 15:06:13 +0000 |
commit | b2b618f71d63290efbc849650459ce6cd467621d (patch) | |
tree | da35dfd0f45e427622ca2a51045b7d2a3122bda4 /morphlib/sysbranchdir.py | |
parent | 0b3ec68ce46f638e79e52f9f97f26727d9c4daa1 (diff) | |
parent | 53d53ef939ee66de9b6dfbf5d2fe215fc7723400 (diff) | |
download | morph-b2b618f71d63290efbc849650459ce6cd467621d.tar.gz |
Merge remote-tracking branch 'origin/baserock/richardmaw/S9475/build-refactor-foundations-v2'
Diffstat (limited to 'morphlib/sysbranchdir.py')
-rw-r--r-- | morphlib/sysbranchdir.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/sysbranchdir.py b/morphlib/sysbranchdir.py index a05ca52e..73a07d5e 100644 --- a/morphlib/sysbranchdir.py +++ b/morphlib/sysbranchdir.py @@ -141,7 +141,8 @@ class SystemBranchDirectory(object): # and not the locally cached copy. resolver = morphlib.repoaliasresolver.RepoAliasResolver( cached_repo.app.settings['repo-alias']) - gd.set_remote_fetch_url('origin', resolver.pull_url(cached_repo.url)) + remote = gd.get_remote('origin') + remote.set_fetch_url(resolver.pull_url(cached_repo.url)) gd.set_config( 'url.%s.pushInsteadOf' % resolver.push_url(cached_repo.original_name), |