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
Exemplo n.º 1
0
        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));
            });
        }
Exemplo n.º 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."));
            }