Hello Maxime,
I use
findstr /R /V /C:"^<DAT name=\"UCOMPSTAMP\">" /C:"^<DAT name=\"UTIMESTAMP\">"
to eliminate timestamps in the exported xml files.
Then I calculate the hash from this file and compare it with a list, where I store the old hashes.
Only if the hash differs, the code has really changed and I copy the file to git.
; Hash berechnen
lfileload V_DATEI_HASH, V_INHALT
V_HASH = $encode("HEX", $encode("SHA512", V_INHALT))
if (V_HASH != V_HASH_ALT)
Kind regards
Norbert
------------------------------
Norbert Lauterbach
Infraserv Gmbh & Co. Höchst Kg
Frankfurt DE
------------------------------
Original Message:
Sent: 05-06-2022 03:10
From: Maxime CHAZALVIEL
Subject: Is it possible to turn off....
Hello,
I use your tool to do git versionning on xml files.
UTIMESTAMP and UCOMPSTAMP drive many useless conficts on when merging code.
I think that UTIMESTAMP is generated by save and/or auto save that's why I want to disable autosave.
Maybe at least, Is it possible to manage XML export to not store UTIMESTAMP and UCOMPSTAMP in XML.
Thanks in advance,
Maxime CHAZALVIEL
------------------------------
Maxime CHAZALVIEL
Rocket Forum Shared Account
Original Message:
Sent: 12-08-2021 11:15
From: Daniel Iseli
Subject: Is it possible to turn off....
The autosave logical will automatically save the changes after the specified amount of seconds. If an action is preformed in the Editor, like e.g. compiling or closing it, then a "normal" save is done (unrelated to autosave).
Here's some more info about this topic:
Uniface IDE > Working with Development Objects > Save New and Modified Objects
There is a story on the product backlog to introduce a visual indicator or something similar that informs the developer that the object opened in an editor has been changed. I currently don't have any info if and when this can be picked up. Sorry.
I hope this helps.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
Original Message:
Sent: 12-08-2021 10:52
From: David Pontius
Subject: Is it possible to turn off....
How does the autosave logical work? I tried it and it's not working as I expected.
I added autosave=60
I put a change in the script (just added a variable declaration).
I closed the component and got no warning or option to save/discard.
I went back into the component and my change was there.
This is Uniface 10.3.
------------------------------
David Pontius
Systems Analyst
AFS Technologies Inc
Tampa FL US
Original Message:
Sent: 04-21-2021 17:00
From: Knut Dybendahl
Subject: Is it possible to turn off....
the most annoying thing (for the time being) in Uniface 10?
The autosave. Lordy. Who on earth thought that was a good idea?
Do I just blow it out to 99999 to 'disable' it? or?
Regards,
Knut