anchor.diff:              C
       end.
   
  -reset_hooks(State) ->
  -    lists:foldl(fun(Key, StateAcc) ->
  -                        rebar_state:set(StateAcc, Key, [])
  -                end, State, [post_hooks, pre_hooks, provider_hooks]).
  +%% reset_hooks(Opts) ->
  +%%     lists:foldl(fun(Key, OptsAcc) ->
  +%%                         rebar_utils:set(OptsAcc, Key, [])
  +%%                 end, Opts, [post_hooks, pre_hooks, provider_hooks]).
   
   -spec all_app_dirs(list(file:name())) -> list(file:name()).
   all_app_dirs(LibDirs) ->
  
positive.code:     %% Only deps not also specified in the top level config need
      %% to be included in the parsed deps
      NewDeps = ProfileDeps2 -- TopLevelProfileDeps,
      ParsedDeps = parse_profile_deps(Profile, Name, NewDeps, AppState, State1),
      State2 = rebar_state:set(State1, {deps, Profile}, ProfileDeps2),
      rebar_state:set(State2, {parsed_deps, Profile}, TopParsedDeps++ParsedDeps).
  
  parse_profile_deps(Profile, Name, Deps, AppState, State) ->
      DepsDir = rebar_prv_install_deps:profile_dep_dir(State, Profile),
      Locks = rebar_state:get(State, {locks, Profile}, []),
      rebar_app_utils:parse_deps(Name
                                ,DepsDir
                                ,Deps
                                ,AppState
                                ,Locks
                                ,1).
  
  
negative.code:                                  ParsedDeps = parse_profile_deps(Profile
                                                                  ,TopLevelApp
                                                                  ,ProfileDeps2
                                                                  ,rebar_state:opts(StateAcc1)
                                                                  ,StateAcc1),
                                   rebar_state:set(StateAcc1, {parsed_deps, Profile}, ParsedDeps)
                           end, State, lists:reverse(CurrentProfiles)),
  