Publish() public method

public Publish ( string serverPath, FilePath localPath, FilePath files, string message, MonoDevelop.Core.ProgressMonitor monitor ) : Repository
serverPath string
localPath FilePath
files FilePath
message string
monitor MonoDevelop.Core.ProgressMonitor
return Repository
コード例 #1
0
ファイル: PublishCommand.cs プロジェクト: zheref/monodevelop
        protected override void Run()
        {
            vc.Publish(moduleName, path, files, message, Monitor);
            Monitor.ReportSuccess(GettextCatalog.GetString("Publish operation completed."));

            Gtk.Application.Invoke(delegate {
                VersionControlService.NotifyFileStatusChanged(new FileUpdateEventArgs(vc, path, true));
            });
        }
コード例 #2
0
            protected override void Run()
            {
                try {
                    vc.Publish(moduleName, path, files, message, Monitor);
                } catch (VersionControlException e) {
                    Monitor.ReportError(e.Message, null);
                    return;
                }

                Gtk.Application.Invoke((o, args) => {
                    VersionControlService.NotifyFileStatusChanged(new FileUpdateEventArgs(vc, path, true));
                });
                Monitor.ReportSuccess(GettextCatalog.GetString("Publish operation completed."));
            }