Fix for #262450. To ensure that permissions for .bzr are copied to backup.bzr, we do a stat on .bzr and pass the mode bits to target.mkdir.
Test modifies permissions for .bzr to be 0700 and ensures that the permissions for backup.bzr are 0700 after upgrade.
« Back to merge proposal
Fix for #262450.
To ensure that permissions for .bzr are copied to backup.bzr,
we do a stat on .bzr and pass the mode bits to target.mkdir.
Test modifies permissions for .bzr to be 0700 and ensures that
the permissions for backup.bzr are 0700 after upgrade.