TSYS-Merchant / posh-svn

A PowerShell environment for Subversion
http://psget.net/directory/posh-svn/
12 stars 7 forks source link

Use "Relative URL:" when detecting branch #3

Closed ghost closed 8 years ago

ghost commented 8 years ago

The current approach of detecting the current branch doesn't work because 'svn info' has introduced new lines. Instead of looking for URL and root by index, look for relative url using select-string instead.