Esempio n. 1
0
 public CommitWorker(VersionControlSystem vc, string[] paths, string message, StatusView view)
 {
     this.vc = vc;
     this.paths = paths;
     this.message = message;
     this.view = view;
 }
Esempio n. 2
0
 public Worker(VersionControlSystem vc, string filepath, bool remoteStatus, StatusView view)
 {
     this.vc = vc;
     this.filepath = filepath;
     this.view = view;
     this.remoteStatus = remoteStatus;
 }
Esempio n. 3
0
 public static bool Show(string path, bool test)
 {
     foreach (VersionControlSystem vc in VersionControlService.Providers) {
         if (vc.IsDirectoryStatusAvailable(path)) {
             if (test) return true;
             StatusView d = new StatusView(path, vc);
             MonoDevelop.Gui.WorkbenchSingleton.Workbench.ShowView(d, true);
             return true;
         }
     }
     return false;
 }