Пример #1
0
 /// <summary>
 /// This method is provided for building get module command line
 /// </summary>
 /// <params name="result">Integration parameters</params>
 /// <returns>Process result (standard output)</returns>
 private ProcessInfo NewGetModuleProcessInfo(IIntegrationResult result)
 {
     JediVCSProcessArgumentBuilder builder = new JediVCSProcessArgumentBuilder();
     builder.AppendArgument(action_getmodule, GetProjectNameOrId());
     builder.Append("noprompt");
     return NewProcessInfoWithArgs(result, builder);
 }
Пример #2
0
 /// <summary>
 /// This method is the provided for build labelling command line arguments
 /// </summary>
 /// <params name="result">Integration parameters</params>
 /// <returns>The command line to execute for labelling</returns>
 private ProcessInfo NewLabelProcessInfo(IIntegrationResult result)
 {
 	string QuotedLabel;
 	if (result.Label.Contains(" ")) {
 		QuotedLabel = "\"" + result.Label + "\"";
 	}
 	else {
 		QuotedLabel = result.Label;
 	}        		
 		
     JediVCSProcessArgumentBuilder buffer = new JediVCSProcessArgumentBuilder();
     buffer.AppendArgument(action_label, GetProjectNameOrId());
     buffer.Append(QuotedLabel);
     return NewProcessInfoWithArgs(result, buffer);
 }
Пример #3
0
 /// <summary>
 /// This method is provided for building list of old files command line
 /// </summary>
 /// <params name="result">Integration parameters</params>
 /// <returns>Process result (standard output)</returns>
 private ProcessInfo NewGetListOldProcessInfo(IIntegrationResult result)
 {
     Log.Debug("NewGetListOldProcessInfo");
     JediVCSProcessArgumentBuilder builder = new JediVCSProcessArgumentBuilder();
     builder.AppendArgument(action_listproject, GetProjectNameOrId());
     builder.Append("oldonly");
     return NewProcessInfoWithArgs(result, builder);
 }