question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URL getting replaced when specific hostname and "trunk" named "dev"

See original GitHub issue
  • VSCode Version: 1.23.1
  • OS Version: Window 10 x64
  • Extension Version: 1.29
  • System Language: EN
  • SVN Version: 1.9.7

Issue

The branches names matching removes some parts of the url in a specific case when the url is in the form: svn+ssh://dev.example.com/svn/repo/dev Where:

  • repo is the repository
  • dev is a dev branch

Steps to Reproduce

  1. config
    "svn.layout.trunkRegex": "(dev)(/.*)?",
    "svn.layout.trunkRegexName": 1,
    "svn.layout.branchesRegex": "user/[^/]+/([^h][^/]+)(/.*)?",
    "svn.layout.branchesRegexName": 1,
    "svn.layout.tagsRegex": "prod/([^/]+)(/.*)?",
    "svn.layout.tagRegexName": 1,
    "svn.layout.showFullName": true
  1. In this repository, the dev folder is our trunk, and our developers are always checking out directly dev, nothing above that hierarchy. So you have to checkout svn+ssh://dev.example.com/svn/repo/dev, to use that specific config, and to try to switch branch

SVN Output

[dev]$ svn list svn+ssh://.example.com/svn/repo/dev --xml
svn: E170013: Unable to connect to a repository at URL 'svn+ssh://.example.com/svn/repo/dev'
svn: E210002: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
svn: E210002: Network connection closed unexpectedly

Screenshots

screenshot_051518_015602_pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JohnstonCodecommented, Jun 13, 2018

@GuillaumeBibaut sorry for the delay. I have been trying to resolve older issues. I will get this one sorted tonight.

1reaction
JohnstonCodecommented, May 16, 2018

@GuillaumeBibaut Your issue will be an easy fix tho.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CDN: trunk URL couldn't be downloaded #10356 - GitHub
I am trying to install dependencies with cocoapods but quite often I see CDN failing with timeout issue. I have tried removing cache...
Read more >
Web server changed name, url return wrong host name
The problem is the web server's name was server0, but now it was changed to server1. Still the old server name keeps showing...
Read more >
URL.hostname - Web APIs - MDN Web Docs - Mozilla
The hostname property of the URL interface is a string containing the domain name of the URL.
Read more >
Configuring the BIG-IP system to resolve DNS hostnames (11 ...
Log in to tmsh by entering the following command: tmsh · To add a name server to your /etc/resolv.conf file, use the following...
Read more >
What is a hostname versus a computer name ... - Super User
There is a trunk that separates into major branches. ... Many computer names are hostnames are fully-qualified domain names and in some ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found