Esempio n. 1
0
 public MercurialRepository(MercurialVersionControl vcs, string url) : base(vcs)
 {
     Init();
     Url    = url;
     Client = new MercurialCommandClient(new Uri(url).AbsolutePath, null);
     Ide.IdeApp.Workspace.SolutionUnloaded += HandleSolutionUnloaded;
 }
Esempio n. 2
0
        }        // Init

        public void Branch(string branchLocation, string localPath, IProgressMonitor monitor)
        {
            MercurialCommandClient.Clone(branchLocation, localPath, monitor);
        }        // Branch
Esempio n. 3
0
        }        // OnCreateRepositoryInstance

        /// <summary>
        /// Initialize a new Mercurial repo
        /// </summary>
        /// <param name="newRepoPath">
        /// A <see cref="System.String"/>: The path at which to initialize a new repo
        /// </param>
        public void Init(string newRepoPath)
        {
            MercurialCommandClient.InitStatic(newRepoPath);
        }        // Init