Follow-up Comment #3, patch #4573 (project cvs):
The data loss you refer to only occurs in the user's sandbox. The change is
committed to the repository. If the original user or another user were to
checkout/update the file in -kb or -ko modes, then they would see the data
they committed. In fact, this could be used as a workaround for the problem
you describe - if only the user in question wants to see their local changes
inside key-values after commit, then they should mark text files -ko on
checkout/update and binaries -kb. If all users should see what the user
committed inside key-values, then `cvs add' or `cvs admin' should be used to
mark the files default keyword mode as -ko or -kb. Either of these is even a
more fine-grained solution than yours, since it allows this behavior to be
selected on a file-by-file basis.
If I recall the documentation correctly, keywords are currently defined as
being updated at checkout time, but I suspect updating them at commit time is
or was considered a feature by some, since it means that no update is needed
after a commit of newly added keywords to have the key-value substituted
correctly locally. If this is not documented behavior, then it probably
should be.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4573>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs