Konstantin Posted February 28, 2014 Report Share Posted February 28, 2014 Hello! I have a build script that works with same workspace. Before building it must switch the workspace to latest changeset of a specified branch. This is done with following code (Powershell) cm stb --workspace=$Workspace br:$Branch Unfortunately, if the workspace contains any changes (new files, edited files) this operation will fail. How can I discard all changes in the workspace or switch it to another changeset from any state? (I do not care about losing the changes, this workspace is for script usage only.) Link to comment Share on other sites More sharing options...
manu Posted March 3, 2014 Report Share Posted March 3, 2014 Hi! cm unco --all that will do the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.