Permalink
Browse files

Try a bit harder to provide something for git-svn repositories

Computed url is the one of the converted repository.
Close #2
  • Loading branch information...
1 parent 93a3185 commit 88c16e5585606c4e06caa4e87c84266e7bceddfe @sigma committed Aug 20, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 org-magit.el
View
@@ -219,6 +219,11 @@ representation of this path as output."
(concat "@"
(mapconcat 'identity
(third split) "@")))))
+ (and (featurep 'magit-svn)
+ (let* ((default-directory repo)
+ (info (magit-svn-get-ref-info)))
+ (and info
+ (cdr (assoc 'url info)))))
path)))
;;;###autoload

0 comments on commit 88c16e5

Please sign in to comment.