anchor.diff:      AppInfo1 = rebar_app_info:state(AppInfo, S3),
   
       Deps = rebar_state:get(S3, deps, []),
  -
       %% Update lock level to be the level the dep will have in this dep tree
       NewLocks = [{DepName, Source, LockLevel+Level} ||
                      {DepName, Source, LockLevel} <- rebar_state:get(S3, {locks, default}, [])],
  
positive.code:     end.
  
  -spec format_error(any()) -> iolist().
  format_error({cycles, Cycles}) ->
      Prints = [["applications: ",
                 [io_lib:format("~s ", [Dep]) || Dep <- Cycle],
  
negative.code: parse_dep({Name, Source, Level}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source)
                                                                                , is_integer(Level) ->
      Dep = new_dep(DepsDir, Name, [], Source, State),
      {[Dep | SrcDepsAcc], PkgDepsAcc};
  parse_dep(Dep, _, _, _) ->
      throw(?PRV_ERROR({parse_dep, Dep})).
  
  
  new_dep(DepsDir, Name, Vsn, Source, State) ->
      Dir = ec_cnv:to_list(filename:join(DepsDir, Name)),
  