anchor.diff:      {AddedFiles, DeletedFiles, ChangedFiles} = beam_lib:cmp_dirs(NewEbinDir,
                                                                    OldEbinDir),
   
  +    ChangedNames = [list_to_atom(file_to_name(F)) || {F, _} <- ChangedFiles],
  +    ModDeps1 = [{N, [M1 || M1 <- M, lists:member(M1, ChangedNames)]}
  +                || {N, M} <- ModDeps],
  +
       Added = [generate_instruction(added, File) || File <- AddedFiles],
       Deleted = [generate_instruction(deleted, File) || File <- DeletedFiles],
  -    Changed = [generate_instruction(changed, File) || File <- ChangedFiles],
  +    Changed = [generate_instruction(changed, ModDeps1, File)
  +               || File <- ChangedFiles],
   
       Inst = lists:append([Added, Deleted, Changed]),
   
  
positive.code:     UpgradeApps = genappup_which_apps(Upgraded, AppUpApps),
  
      %% Generate appup files for upgraded apps
      generate_appup_files(NewVerPath, OldVerPath, UpgradeApps),
  
      {ok, Config1}.
  
  
negative.code:     PrevRelPath = rebar_rel_utils:get_previous_release_path(Config),
      OldVerPath = filename:join([TargetParentDir, PrevRelPath]),
  
      ModDeps = rebar_config:get(Config, module_deps, []),
  
      %% Get the new and old release name and versions
      {Name, _Ver} = rebar_rel_utils:get_reltool_release_info(ReltoolConfig),
      NewVerPath = filename:join([TargetParentDir, Name]),
  