Skip to content

Commit

Permalink
Switch hg package to Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes authored Feb 20, 2021
1 parent 00c82ce commit 7b6bf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/hg/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$download_list = Invoke-WebRequest -Uri 'https://www.mercurial-scm.org/sources.js';

$re = 'https.+/windows/Mercurial-(\d+\.\d+(?:\.\d+)?)(?:-x86|-x64)-python2\.exe';
$re = 'https.+/windows/Mercurial-(\d+\.\d+(?:\.\d+)?)(?:-x86|-x64)\.exe';
$urls = $download_list.Content.Split("`n") |
Where-Object { $_ -match $re } |
Select-String -Pattern $re |
Expand Down

0 comments on commit 7b6bf78

Please sign in to comment.