summaryrefslogtreecommitdiff
path: root/src/rebar_hg_resource.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_hg_resource.erl')
-rw-r--r--src/rebar_hg_resource.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rebar_hg_resource.erl b/src/rebar_hg_resource.erl
index 22532b5..763803c 100644
--- a/src/rebar_hg_resource.erl
+++ b/src/rebar_hg_resource.erl
@@ -6,11 +6,15 @@
-export([init/2,
lock/2,
- download/3,
download/4,
needs_update/2,
make_vsn/2]).
+
+%% For backward compatibilty
+-export([ download/3
+ ]).
+
-include("rebar.hrl").
-spec init(atom(), rebar_state:t()) -> {ok, rebar_resource_v2:resource()}.
@@ -73,6 +77,7 @@ download(TmpDir, AppInfo, State, _) ->
{error, Error}
end.
+%% For backward compatibilty
download(Dir, AppInfo, State) ->
download_(Dir, AppInfo, State).