Ejemplo n.º 1
0
		public GitExecHelper(string gitExe, string workingCopy, TextWriter log)
		{
			_execHelper = new ExecHelper(gitExe, log, false);
			WorkTree = workingCopy;
			GitDir = Path.Combine(WorkTree, ".git");

			_envVars = new Dictionary<string, string>
			{
				{ "GIT_DIR", GitDir },
				{ "GIT_WORK_TREE", WorkTree }
			};
		}
Ejemplo n.º 2
0
		public TfsDriver(Options opts, TextWriter log, bool checkWcStatus)
		{
			_opts = opts;
			_execHelper = new ExecHelper(opts.TfExe, log, false, TimeSpan.FromSeconds(60), true);

			_commitMessageFile = Path.Combine(Path.GetTempPath(), Path.GetTempFileName());

			CheckRepositoryValid();

			if (checkWcStatus)
				CheckWorkingCopyStatus();
		}
Ejemplo n.º 3
0
		public SSExeHelper(string ssExePath, TextWriter log)
		{
			_execHelper = new ExecHelper(ssExePath, log, false);
		}