Jump to content

GUI indicates pending changes but command line does not


Recommended Posts

I have a workspace defined on a network drive and the gui reflects pending changes.  But when I cd to the workspace location and do a 

cm findchanged

I get nothing.

 

cm status

shows the same information that is reflected in the GUI

 

cm version 

5.0.43.490

 

I use the GUI most of the time but want to script an automatic checkin on this network drive contents.

 

Thanks.

Link to comment
Share on other sites

Hi there,

 

Let me add some info.

 

Carlos said:

 

 cm fc -R | cm ci --all

 

But in that command the "cm fc - R" is useless. Let me explain it.

 

cm fc -r -> Will get the paths of the changed items

cm ci --all -> Will commit all the locally changed and checked-out items, no imput needed to trigger it, just the "--all" parameter.

 

So the first "cm fc -r" command is not really needed since the "cm ci --all" will directly do the work.

 

If you want to commit the locally changed items the "cm ci --all" is the way to go. If you only want to commit the changed ones you can follow this approach:

cm findchanged -R . | cm checkout -

and then

cm ci
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...