Jump to content

Command line error in "cm diff" if not in workspace


RickMtnz

Recommended Posts

Hello,

 

We're developing some scripts to improve the Plastic integration with our release management software and we have found a problem when trying to find differences between two changesets.

 

If the command is executed from within a workspace directory we get:

 

[rick.rickmac: /Users/rick/tmp/plasticRepo]$ cm diff cs:0 cs:11 --repositorypaths on repository "'test@localhost:8087'"
A  "/J2EE"
A  "/HOST"
A  "/J2EE/java1.java"
A  "/HOST/cobol1.cbl"
A  "/HOST/cobol2.cbl"

 

But the same command executed from any other directory:

[rick.rickmac: /Users/rick]$ cm diff cs:0 cs:11 --repositorypaths on repository "'test@localhost:8087'"
Especificaci?n de objeto incorrecta: cs:0

Our testing platform is a MacOSX 10.6, Plastic version 4.1.10.426

 

Any suggestion?

 

Thanks in advance.

Link to comment
Share on other sites

Hi there!

 

in general, if the commands are executed from the outside of a workspace you need to provide the full object specification, so please try the following command:

 

cm diff cs:0@test@localhost:8087 cs:11@test@localhost:8087 --repositorypaths on repository "'test@localhost:8087'"

 

You can even try the following, it will do the work (If I remember correctly :P):

 

cm diff cs:0@test@localhost:8087 cs:11@test@localhost:8087 --repositorypaths
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...