Пример #1
0
 internal virtual void Init(AbstractRevQueue p)
 {
     try
     {
         for (; ;)
         {
             RevCommit c = p.Next();
             if (c == null)
             {
                 break;
             }
             Add(c);
         }
     }
     finally
     {
         // Always free the flags immediately. This ensures the flags
         // will be available for reuse when the walk resets.
         //
         walker.FreeFlag(branchMask);
         // Setup the condition used by carryOntoOne to detect a late
         // merge base and produce it on the next round.
         //
         recarryTest = branchMask | POPPED;
         recarryMask = branchMask | POPPED | MERGE_BASE;
     }
 }