GetDirectoryDotSvn() static private method

static private GetDirectoryDotSvn ( SubversionVersionControl vcs, FilePath path ) : string
vcs SubversionVersionControl
path FilePath
return string
Exemplo n.º 1
0
        void MakeDirVersioned(string dir, IProgressMonitor monitor)
        {
            if (Directory.Exists(SubversionBackend.GetDirectoryDotSvn(VersionControlSystem, dir)))
            {
                return;
            }

            // Make the parent versioned
            string parentDir = Path.GetDirectoryName(dir);

            if (parentDir == dir || parentDir == "")
            {
                throw new InvalidOperationException("Could not create versioned directory.");
            }
            MakeDirVersioned(parentDir, monitor);

            Add(dir, false, monitor);
        }