azdev/operations/setup.py [273:284]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            remotes = subprocess.check_output(['git', 'remote', '-v'], text=True)

            # If upstream already exists, nothing to do
            if 'upstream' in remotes:
                return

            # Check origin remote URL
            origin_url = None
            for line in remotes.splitlines():
                if line.startswith('origin') and '(fetch)' in line:
                    origin_url = line.split()[1]
                    break
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



azdev/operations/setup.py [330:341]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        remotes = subprocess.check_output(['git', 'remote', '-v'], text=True)

        # If upstream already exists, return
        if 'upstream' in remotes:
            return

        # Check origin remote URL
        origin_url = None
        for line in remotes.splitlines():
            if line.startswith('origin') and '(fetch)' in line:
                origin_url = line.split()[1]
                break
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



