Checkout
Greg Stein
committed
on 17 May 11
Unwind a useless recursion. The child nodes never recursed beyond the
simple call to new_revert_internal(), so that call just moves inside t… Show more
Unwind a useless recursion. The child nodes never recursed beyond the

simple call to new_revert_internal(), so that call just moves inside the

loop itself.

* subversion/libsvn_wc/adm_ops.c:

 (new_revert_changelist): formatting change only

 (new_revert_partial): don't always read the kind; it will be read later,

   and only when necessary. the root of the revert will always be

   reverted (via a call to new_revert_internal). within the child loop,

   directly call new_revert_internal with a svn_depth_empty to ensure

   just that node is reverted. the iterpool is created a little earlier

   for some additional benefit.

Show less