Exemple #1
0
 public static void DeleteGcLogIfEnabled(this IGcErrorIgnorer ignorer)
 {
     if (ignorer.IgnoreGcErrors)
     {
         ignorer.DeleteGcLog();
     }
 }
Exemple #2
0
        // ----------------- Constructor -----------------

        public Grabber(
            string svnUrl,
            Options options,
            ICommandRunner commandRunner,
            string gitConfigCommandArguments,
            IMessageDisplayer messageDisplayer,
            ILogger logger,
            IGcErrorIgnorer ignorer,
            ILockBreaker lockBreaker
            ) :
            base(options, commandRunner, gitConfigCommandArguments, messageDisplayer, logger)
        {
            _svnUrl   = svnUrl;
            _metaInfo = new MetaInfo()
            {
                RemoteBranches = new List <string>(),
                LocalBranches  = new List <string>(),
                Tags           = new List <string>()
            };
            _gcIgnorer   = ignorer;
            _lockBreaker = lockBreaker;
        }