# HG changeset patch # User Kostia Balytskyi # Date 2017-05-30 13:17:51 # Node ID 04e18be6e188468aae870308baa6f67e82d0070c # Parent 4daf5c18055adc4efe0734bc4a90e2432aec17b4 contrib: fix a bug preventing editmergeps.ps1 from running unknonw editors '$ executable' is not a way to run executable in powershell, '& executable' is instead. Found this when testing with regular Windows notepad. diff --git a/contrib/editmergeps.ps1 b/contrib/editmergeps.ps1 --- a/contrib/editmergeps.ps1 +++ b/contrib/editmergeps.ps1 @@ -65,7 +65,7 @@ if (($ed -eq "vim") -or ($ed -eq "emacs" } else { - $ "$ed" $file + & "$ed" $file } $conflicts=Get-Lines