def GetRemoteUrl(self):
    "Return the configured remote URL, e.g. 'git://example.org/foo.git/'.\n\n    Returns None if there is no remote.\n    "
    (remote, _) = self.GetRemoteBranch()
    url = RunGit(['config', ('remote.%s.url' % remote)], error_ok=True).strip()
    if os.path.isdir(url):
        url = RunGit(['config', ('remote.%s.url' % remote)], error_ok=True, cwd=url).strip()
    return url
Return the configured remote URL, e.g. 'git://example.org/foo.git/'.

Returns None if there is no remote.
def GetRemoteUrl(self):
    "Return the configured remote URL, e.g. 'git://example.org/foo.git/'.\n\n    Returns None if there is no remote.\n    "
    (remote, _) = self.GetRemoteBranch()
    url = RunGit(['config', ('remote.%s.url' % remote)], error_ok=True).strip()
    if os.path.isdir(url):
        url = RunGit(['config', ('remote.%s.url' % remote)], error_ok=True, cwd=url).strip()
    return url