module Hoe::MercurialHelpers
def get_repo_paths
def get_repo_paths paths = {} pathspec = read_command_output( 'hg', 'paths' ) pathspec.split.each_slice( 3 ) do |name, _, url| paths[ name ] = url end return paths end
def get_repo_paths paths = {} pathspec = read_command_output( 'hg', 'paths' ) pathspec.split.each_slice( 3 ) do |name, _, url| paths[ name ] = url end return paths end