Esempio n. 1
0
        protected override void OnCheckout(FilePath targetLocalPath, Revision rev, bool recurse, IProgressMonitor monitor)
        {
            Bazaar.StoreCredentials(Url);
            BazaarRevision brev = (null == rev) ? new BazaarRevision(this, BazaarRevision.HEAD) : (BazaarRevision)rev;

            Bazaar.Checkout(Url, targetLocalPath.FullPath, brev, recurse, monitor);
        }
Esempio n. 2
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));
        }
Esempio n. 3
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);
 }
Esempio n. 4
0
 public virtual void Merge(string mergeLocation, FilePath localPath, bool remember, bool overwrite, IProgressMonitor monitor)
 {
     Bazaar.StoreCredentials(mergeLocation);
     Bazaar.Merge(mergeLocation, localPath.FullPath, remember, overwrite, new BazaarRevision(this, BazaarRevision.NONE), new BazaarRevision(this, BazaarRevision.NONE), monitor);
 }