Skip to content

Commit e3fe280

Browse files
committed
sync(git): Fix issue with @ in chomp_protocol
See also: #431
1 parent b72c398 commit e3fe280

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libvcs/sync/git.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,6 @@ def chomp_protocol(url: str) -> str:
606606
url = url.split("+", 1)[1]
607607
scheme, netloc, path, query, frag = urlparse.urlsplit(url)
608608
rev = None
609-
if "@" in path:
610-
path, rev = path.rsplit("@", 1)
611609
url = urlparse.urlunsplit((scheme, netloc, path, query, ""))
612610
if url.startswith("ssh://[email protected]/"):
613611
url = url.replace("ssh://", "git+ssh://")

0 commit comments

Comments
 (0)