anchor.diff:  update_buckets(BucketsTable, BuildPath, Source, Rev, [Bucket|O], Acc) ->
       Package = ?VERSION(Rev),
       {BName, TempPath, TempContain} = Bucket,
  +    Deps = Rev#rev_def.dep_object,
       ?LOCK(BName),
       [{BName, BPath, BContain}] = case dets:lookup(BucketsTable, BName) of
           [] -> 
  
positive.code: arm_build_bucket(_Buckets, _Deps, _Current, _BuildPath, []) ->
      {ok, done};
  arm_build_bucket(BucketsDets, Deps, Current, BuildPath, [Dep|O]) ->
      {BName, BPath, BPackages} = Current,
      case lists:member(Dep, BPackages) of
          true ->
              pass;
          false ->
              ?LOCK(Dep),
              {Name, _B, _T} = Dep,
              [{Dep, {_, DepBuckets}, _, _}|_] = dets:lookup(Deps, Dep),
              ?UNLOCK(Dep),
              error_logger:info_msg("found buckets with dep ~p in: ~p~n", [Dep, DepBuckets]),
              case [X || X <- DepBuckets, X /= BName] of
                  [AnyBucket|_] ->
  
negative.code:     end,
      {Name, _B, _T} = Package,
      Path = filename:join([BuildPath, BPath, binary_to_list(Name)]) ++ "/",
      NewContain = lists:usort([Package|BContain] ++ Deps),
      try
          copy_package_to_bucket(Source, Path),
          ok = dets:insert(BucketsTable, {BName, BPath, lists:usort(NewContain)}),
  