[win32] revert operation reset executable flag

Bug #45010 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
John A Meinel

Bug Description

On win32 when I do revert on branch that cotains files with executable flag is set, per example on bzr.dev branch, then after revert executable flag is lost.

Reproduce:

$ bzr branch http://bazaar-vcs.org/bzr/bzr.dev
<branching progress messages>
$ bzr st
<empty output>
$ bzr revert
$ bzr st
modified:
  bzr*
  bzrlib/weave.py*
  generate_docs.py*
  setup.py*
  tools/biobench.py*
  tools/trace-revisions*

Revision history for this message
Alexander Belchenko (bialix) wrote : more details

E:\work\MyCode\bzr\devel\bzr.dev>bzr st

E:\work\MyCode\bzr\devel\bzr.dev>bzr revert

E:\work\MyCode\bzr\devel\bzr.dev>bzr st
modified:
  bzr*
  bzrlib/patiencediff.py*
  bzrlib/weave.py*
  generate_docs.py*
  setup.py*
  tools/biobench.py*
  tools/trace-revisions*

E:\work\MyCode\bzr\devel\bzr.dev>bzr revert

E:\work\MyCode\bzr\devel\bzr.dev>bzr st

Revision history for this message
John A Meinel (jameinel) wrote :

This has to do with how tree transform handles unchanged files, and the execute bit (especially on win32)

Changed in bzr:
assignee: nobody → jameinel
status: Unconfirmed → In Progress
John A Meinel (jameinel)
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.