MKS Source changes binary files automatically, how to prevent this?
Sep 14, 2012
10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 14, 2012
10:51 AM
MKS Source changes binary files automatically, how to prevent this?
| ||||
We made the experience that MKS Source changes content of binary files, probably since we have upgraded to MKS2009 version. The change of the regarded binary files seems to be triggered by the archive type of these files, which is set automatically to text by the MKS source system. The workaround provided by MKS to prevent change of (binary) files after standard check in and check out actions consists of inclusion of the type of file characterized by the file extension into a policy. This is absolutely not practicable for us, as we cannot check any file by extension whether it is changed by the MKS system or not and include it in a policy. Furthermore the described behaviour is absolutely not what we expect from a version control system. We expect from a version control system that whatever file is put under version control, this file is NEVER changed automatically or non-transparently by the system. Does anyone know a method how we can prevent generally the automated change of whatever files by the MKS Source system ? Please be aware that the same can happen or happens on your MKS source system without that you notice it. |
| |||
Posted By: mlizak Posts: 72 / Registered: Feb, 2011 | |||
Hello Andreas, Please contact Integrity Support so that we can assist you with this issue. Regards, Kael |
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
Kind Regards,
Kael Lizak
Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
1 REPLY 1
Oct 10, 2012
09:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 10, 2012
09:21 AM
For the danger of being off-topic:
- In your files you may use variables that are identified as KEYWORDS in the Integrity-Context.
When you are now using default-settings for some Source-commands like for eg. check in, you are using the functionality "expand keywords". Effect: your file will be changed during check in.
Solution: define a general policy that uses the option "Unexpand keywords" - For existing text-archives you can define an archive-parameter "Store by reference".
Doing this will have two effects:
a. the internal "View Member Differences" won't work any longer.
b. a check in won't store the difference to the previous revision any longer, but every time the complete file. - For the future you can define that every archive created will be a binary archive.
Effects: see 2.
Hopefully this entry is helpful in your context.
