# Launch Kiln for current repo Function Kiln { if (Test-Path ".\.hg\hgrc") { $repoUrl = (Select-String "default = (.*)" -Path ".\.hg\hgrc" -AllMatches).Matches.Groups[1].Value Start $repoUrl } else { Write-Warning "Not in a repo!" } }