public void Init()
        {
            if (Directory.Exists(workingDirectoryForSVNTests))
            {
                Directory.Delete(workingDirectoryForSVNTests, true);
            }
            Directory.CreateDirectory(workingDirectoryForSVNTests);

            vcc = new VCCFilteredAssets(new SVNCommands());
            vcc.SetWorkingDirectory(workingDirectoryForSVNTests);
            Directory.SetCurrentDirectory(workingDirectoryForSVNTests);
            vcc.ProgressInformation += s => D.Log(s);
            vcc.Start();
            vcc.SetUserCredentials("kjems", "dingo", true);
            vcc.Checkout(urlToEmptyRepo, workingDirectoryForSVNTests);
        }
Beispiel #2
0
 public virtual bool Checkout(string url, string path = "")
 {
     return(vcc.Checkout(url, path));
 }
Beispiel #3
0
 public bool Checkout(string url, string path = "")
 {
     return(HandleExceptions(() => vcc.Checkout(url, path)));
 }
Beispiel #4
0
 public bool Checkout(string url, string path = "")
 {
     return(HandleExceptions(() => PerformOperation(OperationType.Checkout, () => vcc.Checkout(url, path))));
 }
        public void Init()
        {
            if (Directory.Exists(workingDirectoryForSVNTests))
            {
                Directory.Delete(workingDirectoryForSVNTests, true);
            }
            Directory.CreateDirectory(workingDirectoryForSVNTests);

            vcc = new VCCFilteredAssets(new SVNCommands());
            vcc.SetWorkingDirectory(workingDirectoryForSVNTests);
            Directory.SetCurrentDirectory(workingDirectoryForSVNTests);
            vcc.ProgressInformation += s => D.Log(s);
            vcc.Start();
            vcc.SetUserCredentials("kjems", "dingo", true);
            vcc.Checkout(urlToEmptyRepo, workingDirectoryForSVNTests);
        }