Executable flagging patch
Gustavo Niemeyer
gustavo at niemeyer.net
Tue Oct 4 17:52:46 BST 2005
> I've merged in the two patches - adjusted to fit with the symlink patch.
> I didn't take the generate_cset_optimised->generate_changeset part of
> the change at this point, but all tests are passing.
Because the "optimization" is killing entry.metadata_change, which
contains the mode changes, by setting it to None. I have not removed
it because that "optimization" seems so strange that I must
be missing something.
% mkdir repos1
% cd repos1
% bzr init
% touch file1
% chmod +x file1
% bzr add file1
added file1
% bzr commit -m "Adding file1"
added file1
% cd ..
% bzr branch repos1 repos2
% cd repos2
% ls -l file1
-rw-r--r-- 1 niemeyer niemeyer 0 2005-10-04 13:28 file1
^^^^^^^^^^
% cd ..
% rm -rf repos2
% sed 's/cset_optimized,/changeset,/' bzrlib/merge.py > bzrlib/merge.py.tmp
% mv -f bzrlib/merge.py{.tmp,}
% bzr branch repos1 repos2
% cd repos2
% ls -l file1
-rwxr-xr-x 1 niemeyer niemeyer 0 2005-10-04 13:34 file1
^^^^^^^^^^
--
Gustavo Niemeyer
http://niemeyer.net
More information about the bazaar
mailing list