Пример #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));
        }
Пример #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);
 }