/[rdiff-backup]/rdiff-backup/rdiff_backup/Main.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/Main.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.90 by bescoto, Thu Oct 20 19:34:51 2005 UTC revision 1.91 by bescoto, Thu Oct 20 20:20:29 2005 UTC
# Line 450  def backup_set_fs_globals(rpin, rpout): Line 450  def backup_set_fs_globals(rpin, rpout):
450          SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs)          SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs)
451          SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership)
452          SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote)          SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote)
453            if not dest_fsa.high_perms:
454                    SetConnections.UpdateGlobal('permission_mask', 0777)
455          if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals()          if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals()
456                    
457  def backup_touch_curmirror_local(rpin, rpout):  def backup_touch_curmirror_local(rpin, rpout):
# Line 555  def restore_set_fs_globals(target): Line 557  def restore_set_fs_globals(target):
557          if Globals.preserve_hardlinks != 0:          if Globals.preserve_hardlinks != 0:
558                  SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks)                  SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks)
559          SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership)
560            if not target_fsa.high_perms:
561                    SetConnections.UpdateGlobal('permission_mask', 0777)
562    
563          if Globals.chars_to_quote is None: # otherwise already overridden          if Globals.chars_to_quote is None: # otherwise already overridden
564                  if mirror_fsa.chars_to_quote:                  if mirror_fsa.chars_to_quote:
# Line 735  def single_set_fs_globals(rbdir): Line 739  def single_set_fs_globals(rbdir):
739                  SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks)                  SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks)
740          SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs)          SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs)
741          SetConnections.UpdateGlobal('change_ownership', fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', fsa.ownership)
742            if not fsa.high_perms: SetConnections.UpdateGlobal('permission_mask', 0777)
743          SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote)          SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote)
744          if Globals.chars_to_quote:          if Globals.chars_to_quote:
745                  for conn in Globals.connections:                  for conn in Globals.connections:

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26