Cannot Pull from remote if local repository has a remote svn it can't connect to.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 1.7.4.1
    • Component/s: Git
    • None
    • Severity 3 - Minor

      This is a pretty rare occurrence I'm sure, but I have a local git repo which has 2 remotes setup. The first is an SVN Bridge where the SVN repostiory is behind a firewall requiring VPN access while the second is a git repo on my company's Stash instance. Today I was trying to pull changes from a remote git branch into my local and I could not because it couldn't reach the SVN repository. I'm not quite sure why it is trying to talk to the SVN repo when I've selected my Git repo as the remote host. This works fine if I connect to the VPN and pushing doesn't have any problems. The message is below and I've replaced the SVN URLs.

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch Stash

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn fetch
      RA layer request failed: Unable to connect to a repository at URL '<<SVN_REPO>>': OPTIONS of '<<SVN_REPO>>': Could not resolve hostname `<<SVN_HOST>>': Host not found (<<SVN_HOST>>) at /usr/local/git/lib/perl5/site_perl/Git/SVN.pm line 148.

      Completed with errors, see above

            Assignee:
            Unassigned
            Reporter:
            Adam Swift
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: