public Task PullAsync(IProgress <OperationProgress> progress, CancellationToken cancellationToken) { Verify.Argument.IsNotNull(progress, "progress"); Verify.State.IsTrue(Count != 0, "Repository contains no remotes."); return(RemotesUtility.FetchOrPullAsync(Repository, null, true, progress, cancellationToken)); }
/// <summary>Download new objects from remote repository and merge tracking branches.</summary> public Task PullAsync(IProgress <OperationProgress> progress, CancellationToken cancellationToken) { Verify.State.IsNotDeleted(this); return(RemotesUtility.FetchOrPullAsync(Repository, this, true, progress, cancellationToken)); }