/[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.89 by bescoto, Wed Oct 19 02:45:24 2005 UTC revision 1.89.2.1 by bescoto, Thu Oct 20 20:43:50 2005 UTC
# Line 441  def backup_set_fs_globals(rpin, rpout): Line 441  def backup_set_fs_globals(rpin, rpout):
441          SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs)          SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs)
442          SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership)
443          SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote)          SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote)
444            if not dest_fsa.high_perms:
445                    SetConnections.UpdateGlobal('permission_mask', 0777)
446          if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals()          if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals()
447                    
448  def backup_touch_curmirror_local(rpin, rpout):  def backup_touch_curmirror_local(rpin, rpout):
# Line 546  def restore_set_fs_globals(target): Line 548  def restore_set_fs_globals(target):
548          if Globals.preserve_hardlinks != 0:          if Globals.preserve_hardlinks != 0:
549                  SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks)                  SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks)
550          SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership)
551            if not target_fsa.high_perms:
552                    SetConnections.UpdateGlobal('permission_mask', 0777)
553    
554          if Globals.chars_to_quote is None: # otherwise already overridden          if Globals.chars_to_quote is None: # otherwise already overridden
555                  if mirror_fsa.chars_to_quote:                  if mirror_fsa.chars_to_quote:
# Line 726  def single_set_fs_globals(rbdir): Line 730  def single_set_fs_globals(rbdir):
730                  SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks)                  SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks)
731          SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs)          SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs)
732          SetConnections.UpdateGlobal('change_ownership', fsa.ownership)          SetConnections.UpdateGlobal('change_ownership', fsa.ownership)
733            if not fsa.high_perms: SetConnections.UpdateGlobal('permission_mask', 0777)
734          SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote)          SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote)
735          if Globals.chars_to_quote:          if Globals.chars_to_quote:
736                  for conn in Globals.connections:                  for conn in Globals.connections:

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.89.2.1

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