[BUG] bzr revert doesn't preserve the executable bit

John Arbash Meinel john at arbash-meinel.com
Wed Dec 6 20:42:01 GMT 2006


On IRC, jdong just brought up this bug to me:
https://bugs.launchpad.net/products/bzr/+bug/74697

Basically, 'bzr revert' seems to be forgetting the executable bit.

jdong came across it, because he modified an executable file, and after
doing revert, the backup file was executable, but the reverted file was not.

But since I can show that a plain 'revert' is failing to detect the
executable bit change, I think our 'revert' code is just failing to
chmod the output file.

Aaron, do you have any time to look at this? It seems like a possible
regression, and certainly an important bug to fix.

Actually, I can confirm that this is a regression. 'bzr revert' does the
right thing in bzr-0.13, but fails in bzr.dev.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061206/2b0e052c/attachment.pgp 


More information about the bazaar mailing list