2

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?

Peter Petrik
  • 9,701
  • 5
  • 41
  • 65
Steven T. Cramer
  • 1,508
  • 1
  • 18
  • 34

2 Answers2

2

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
2

If you are using one of the latest Plastic SCM releases (> 4.1.10.359) you will be able to perform something like the following:

cm ci -a

All the changed/moved/deleted items will be committed.

If you have changed items by time-stamp and the content is the same (result of build process) the Plastic SCM server will discard them in order to prevent duplicated content revisions.

MrCatacroquer
  • 2,038
  • 3
  • 16
  • 21