Exemple #1
0
        protected override Repository OnPublish(string serverPath, FilePath localPath, FilePath[] files, string message, IProgressMonitor monitor)
        {
            serverPath = string.Format("{0}{1}{2}", Url, Url.EndsWith("/") ? string.Empty : "/", serverPath);
            Bazaar.StoreCredentials(serverPath);
            Bazaar.Push(serverPath, localPath.FullPath, false, false, false, monitor);

            return(new BazaarRepository(Bazaar, serverPath));
        }
Exemple #2
0
 public virtual void Push(string pushLocation, FilePath localPath, bool remember, bool overwrite, bool omitHistory, IProgressMonitor monitor)
 {
     Bazaar.StoreCredentials(pushLocation);
     Bazaar.Push(pushLocation, localPath.FullPath, remember, overwrite, omitHistory, monitor);
 }