def paths
      {}.tap do |result|
        shell.hg('paths').each_line do |line|
          path, url = *line.strip.split(" = ")
          result[path] = url
        end
      end
    end
def paths
      {}.tap do |result|
        shell.hg('paths').each_line do |line|
          path, url = *line.strip.split(" = ")
          result[path] = url
        end
      end
    end
Returns an array of repository's paths (as remotes).