Skip to content

Commit 0a4d336

Browse files
committed
ST6RI-178 Removed timestamp from project name and minor correction in
publish help
1 parent 9a7f29e commit 0a4d336

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

org.omg.sysml.interactive/src/org/omg/sysml/interactive/SysMLInteractive.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public String publish(String elementName, String projectName, String branchName,
419419
} else if (!this.isInputResource(element.eResource())) {
420420
return "ERROR:'" + elementName + "' is a library element\n";
421421
} else {
422-
String remoteProjectName = projectName == null? element.getDeclaredName() + " " + new Date() : projectName;
422+
String remoteProjectName = projectName == null? element.getDeclaredName() : projectName;
423423

424424
ApiElementProcessingFacade processingFacade = this.getApiElementProcessingFacade(remoteProjectName, branchName, includeDerievd);
425425
processingFacade.getTraversal().visit(element);

org.omg.sysml.interactive/src/org/omg/sysml/interactive/SysMLInteractiveHelp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class SysMLInteractiveHelp {
8585
+ "If <PROJECT NAME> is given, it is used as the name of the project to create or update.\n"
8686
+ "If <PROJECT NAME> is not given, the (simple) name of the model element is used.\n"
8787
+ " If no project exits with the given name, then a new project with that name is created.\n"
88-
+ " Otherwise, a new project is created with the given name.\n"
88+
+ " Otherwise, the existing project is updated with a new commit.\n"
8989
+ "If <BRANCH NAME> is given, then the model is written to this branch of the project.\n"
9090
+ "If <BRANCH NAME> is not given, the default branch is used.\n";
9191

0 commit comments

Comments
 (0)