Beispiel #1
0
        private static void _runSourceControl(SourceControl sm, SourceControl.MODE mode, int indent = 0)
        {
            sm.mode     = mode;
            sm.m_indent = indent;

            sm.Start();
            for (var loop = 0; loop <= 10000; loop++)
            {
                if (loop == 10000)
                {
                    throw new SystemException("Unexpected! {96B6D10A-FFF4-4BD4-B9E0-C155CF2C16EB}");
                }

                sm.update();

                if (sm.IsEnd())
                {
                    break;
                }
            }
        }