Exemplo n.º 1
0
        private static void Import()
        {
            // do the import
            ICvsRepository repository = new CvsRepository(m_log, m_config.Sandbox);

            if (m_config.CvsCache != null)
            {
                repository = new CvsRepositoryCache(m_config.CvsCache, repository);
            }

            var cvs      = new Cvs(repository, m_config.CvsProcesses);
            var importer = new Importer(m_log, m_config, m_config.Users, m_streams, m_resolvedTags, cvs);

            importer.Import();
        }
Exemplo n.º 2
0
		private static void Import()
		{
			// do the import
			ICvsRepository repository = new CvsRepository(m_log, m_config.Sandbox);
			if (m_config.CvsCache != null)
				repository = new CvsRepositoryCache(m_config.CvsCache, repository);

			var cvs = new Cvs(repository, m_config.CvsProcesses);
			var importer = new Importer(m_log, m_config, m_config.Users, m_streams, m_resolvedTags, cvs);
			importer.Import();
		}