# HG changeset patch # User Chris Cannam # Date 1297352267 0 # Node ID e65d8141194b910818c525b6fee2d62b03265d0e # Parent e0cbb39c04290672b72917f4616b2da8630c900d Or, we can just retrieve the external repo URL through the project... diff -r e0cbb39c0429 -r e65d8141194b extra/soundsoftware/reposman-soundsoftware.rb --- a/extra/soundsoftware/reposman-soundsoftware.rb Thu Feb 10 14:40:44 2011 +0000 +++ b/extra/soundsoftware/reposman-soundsoftware.rb Thu Feb 10 15:37:47 2011 +0000 @@ -346,5 +346,14 @@ log("\trepository #{repos_path} created"); end + if project.respond_to?(:repository) and project.repository.is_external? + external_url = project.repository.external_url; + log("\tproject #{project.identifier} has external repository url #{external_url}"); + if !external_url.match(/^https?:/) + # wot about git, svn/svn+ssh, etc? should we just check for a scheme at all? + log("\tthis is not an http(s) url: ignoring"); + end + end + end