code: def checkup_git_repos_legacy(repos, base_dir='~/repos',
                               verbose=False, prefix='', postfix=''):
      '''Checkout or update git repos.
  
      repos must be a list of dicts each with an url and optional with a name
      value.
      '''
      run(flo('mkdir -p {base_dir}'))
      for repo in repos:
          cur_base_dir = repo.get('base_dir', base_dir)
          checkup_git_repo_legacy(url=repo['url'], name=repo.get('name', None),
                                  base_dir=cur_base_dir, verbose=verbose,
                                  prefix=prefix, postfix=postfixf checkup_git_repos_legacy(repos, base_dir='~/repos',
                               verbose=False, prefix='', postfix=''):
      '''Checkout or update git repos.
  
      repos must be a list of dicts each with an url and optional with a name
      value.
      '''
      run(flo('mkdir -p {base_dir}'))
      for repo in repos:
          cur_base_dir = repo.get('base_dir', base_dir)
          checkup_git_repo_legacy(url=repo['url'], name=repo.get('name', None),
                                  base_dir=cur_base_dir, verbose=verbose,
                                  prefix=prefix, postfix=postfix)
docs: Checkout or update git repos.
  
      repos must be a list of dicts each with an url and optional with a name
      value.