diff options
Diffstat (limited to 'morphlib/plugins/anchor_plugin.py')
-rw-r--r-- | morphlib/plugins/anchor_plugin.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/plugins/anchor_plugin.py b/morphlib/plugins/anchor_plugin.py index 7465c479..a9d07b39 100644 --- a/morphlib/plugins/anchor_plugin.py +++ b/morphlib/plugins/anchor_plugin.py @@ -137,9 +137,8 @@ class AnchorPlugin(cliapp.Plugin): for reponame, sources in sources_by_reponame.iteritems(): # UGLY HACK we need to push *FROM* our local repo cache to # avoid cloning everything multiple times. - repo = bc.lrc.get_updated_repo(reponame, - refs=(s.original_ref - for s in sources)) + repo = bc.repo_cache.get_updated_repo( + reponame, refs=(s.original_ref for s in sources)) remote = Remote(repo) push_url = resolver.push_url(reponame) |