HomeFreeBSD

etcupdate: Don't rotate trees for a dry run.

Description

etcupdate: Don't rotate trees for a dry run.

When performing a dry run, remove the temporary tree created rather
than rotating the trees. Rotating the trees meant that etcupdate
thought the latest changes were already merged and would not merge
them on the next real run.

PR: 260281
Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Fixes: 0611aec3cf3a etcupdate: Always extract to a temporary tree.
MFC after: 1 week

Details

Provenance
jhbAuthored on May 25 2022, 9:02 PM
Parents
rG4682ac697ce9: unix: turn check in unp_externalize() into assertion
Branches
Unknown
Tags
Unknown