Permalink
Browse files

Merge pull request #272 from Schnouki/master

Support username in svn-remote URLs
  • Loading branch information...
2 parents 14411bb + 02b29d7 commit 4ea1290189e941de59452025b351954bc4fac014 @philjackson philjackson committed Nov 25, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 magit-svn.el
View
1 magit-svn.el
@@ -75,6 +75,7 @@
(src (replace-regexp-in-string "\\*" "\\\\(.*\\\\)" (car pats)))
(dst (replace-regexp-in-string "\\*" "\\\\1" (cadr pats)))
(base-url (replace-regexp-in-string "\\+" "\\\\+" base-url))
+ (base-url (replace-regexp-in-string "//.+@" "//" base-url))
(pat1 (concat "^" src "$"))
(pat2 (cond ((equal src "") (concat "^" base-url "$"))
(t (concat "^" base-url "/" src "$")))))

0 comments on commit 4ea1290

Please sign in to comment.