Skip to content
Snippets Groups Projects
  • Oliver Smith's avatar
    4ba70a3f
    git.get_upstream_remote: add fallback code path (MR 2429) (MR 2445) · 4ba70a3f
    Oliver Smith authored and Luca Weiss's avatar Luca Weiss committed
    When running some commands like "pmbootstrap chroot" or even
    "pmbootstrap work_migrate", pmbootstrap will attempt to read the
    pmaports.cfg from origin/master *before* doing the work dir migration.
    
    In order to do this, the "get_upstream_remote" function tries to find
    the upstream remote by URL. Let it search with the outdated URLs too, so
    this doesn't fail right before migrating to the new URLs.
    
    (cherry picked from commit a6d34d66)
    git.get_upstream_remote: add fallback code path (MR 2429) (MR 2445)
    Oliver Smith authored and Luca Weiss's avatar Luca Weiss committed
    When running some commands like "pmbootstrap chroot" or even
    "pmbootstrap work_migrate", pmbootstrap will attempt to read the
    pmaports.cfg from origin/master *before* doing the work dir migration.
    
    In order to do this, the "get_upstream_remote" function tries to find
    the upstream remote by URL. Let it search with the outdated URLs too, so
    this doesn't fail right before migrating to the new URLs.
    
    (cherry picked from commit a6d34d66)