From 8fb76ea7b9abb7d1a2d56b61697e0be35fa4cac2 Mon Sep 17 00:00:00 2001 From: godoftheds Date: Fri, 16 Dec 2016 11:20:41 -0500 Subject: [PATCH] =?UTF-8?q?Fixed=20a=20bug=20with=20mercurial=20releases?= =?UTF-8?q?=20caused=20by=20an=20undefinied=20variable=20=E2=80=A6=20(#181?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixed a bug with mercurial releases caused by an undefinied variable closes #1816 * Accidentally added a tab before the your contribution line. Removing it --- CHANGELOG.md | 1 + lib/capistrano/scm/tasks/hg.rake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39088c8c..75c990c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Reverse Chronological Order: https://github.com/capistrano/capistrano/compare/v3.7.0...HEAD * Your contribution here! +* Fixed a bug with mercurial deploys trying to use an undefined variable ## `3.7.0` (2016-12-10) diff --git a/lib/capistrano/scm/tasks/hg.rake b/lib/capistrano/scm/tasks/hg.rake index 7d0bad4c..9a16cc92 100644 --- a/lib/capistrano/scm/tasks/hg.rake +++ b/lib/capistrano/scm/tasks/hg.rake @@ -28,7 +28,7 @@ namespace :hg do task update: :'hg:clone' do on release_roles :all do within repo_path do - hr.update_mirror + hg_plugin.update_mirror end end end