comparison hg_delta_editor.py @ 111:5497d1264b4d

fetch_command: Fix mis-converted executable when svn:executable was set to the empty string.
author Augie Fackler <durin42@gmail.com>
date Tue, 25 Nov 2008 09:45:38 -0600
parents 0d3a2a7cefa3
children 30580c05dccc
comparison
equal deleted inserted replaced
110:a4dcffaa6538 111:5497d1264b4d
625 self.copies.update(copies) 625 self.copies.update(copies)
626 626
627 @stash_exception_on_self 627 @stash_exception_on_self
628 def change_file_prop(self, file_baton, name, value, pool=None): 628 def change_file_prop(self, file_baton, name, value, pool=None):
629 if name == 'svn:executable': 629 if name == 'svn:executable':
630 self.current_files_exec[self.current_file] = bool(value) 630 self.current_files_exec[self.current_file] = bool(value is not None)
631 elif name == 'svn:special': 631 elif name == 'svn:special':
632 self.current_files_symlink[self.current_file] = bool(value) 632 self.current_files_symlink[self.current_file] = bool(value is not None)
633 633
634 @stash_exception_on_self 634 @stash_exception_on_self
635 def open_directory(self, path, parent_baton, base_revision, dir_pool=None): 635 def open_directory(self, path, parent_baton, base_revision, dir_pool=None):
636 if self._is_path_valid(path): 636 if self._is_path_valid(path):
637 p_, branch = self._path_and_branch_for_path(path) 637 p_, branch = self._path_and_branch_for_path(path)