HomeClusterLabs Projects

Refactor: libcrmcommon: Don't set XML private flags without tracking
334b994eed07Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Don't set XML private flags without tracking

Previously, we marked newly a created element, attribute, or comment as
"dirty and created" and marked all of its parents as dirty, regardless
of whether tracking was enabled for the document. Similarly, we marked a
newly created document as "dirty and created," even though tracking
could not have been enabled for it.

This didn't make sense, and it often required committing changes that
were made without tracking enabled, to ensure that those changes didn't
show up in a patchset after tracking was enabled later.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 13 2025, 3:11 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.