finalbuilderplasticscm

PlasticSCM Commandline check in


So I am doing some automation of an Access Database project. I run a script to compose or decompose the access database into a stub file and collection of text files that represent the forms queries etc...

Inside FinalBuilder I want to be able to check in these files. But there is no way to know if the files actually have been changed by my script.

I am using the "PlascticSCM Check in Items" Action

CommandLine: cm ci "C:\Plastic\DuCombAccessDatabases\DucombCustomer.accdb"
The selected items are about to be checked in. Please wait ...
Error: There are no changes in the workspace c:\Plastic\DuCombAccessDatabases
Check In Items Failed.

So I don't understand why I get this error. And what is the proper way to have it check in and ignore if there is an unchanged file?


Solution

  • You should check what files have changed first:

    cm findchanged -R . | cm ci - -c="comment"
    # or
    cm fc -R . | cm ci -
    

    That way, you only check in modified files.