/[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.85 by bescoto, Mon Aug 15 19:20:15 2005 UTC revision 1.86 by bescoto, Thu Aug 18 04:40:29 2005 UTC
# Line 453  def backup_touch_curmirror_local(rpin, r Line 453  def backup_touch_curmirror_local(rpin, r
453          """          """
454          mirrorrp = Globals.rbdir.append("current_mirror.%s.%s" % (Time.curtimestr,          mirrorrp = Globals.rbdir.append("current_mirror.%s.%s" % (Time.curtimestr,
455                                                                                                                            "data"))                                                                                                                            "data"))
456          Log("Touching mirror marker %s" % mirrorrp.path, 6)          Log("Writing mirror marker %s" % mirrorrp.path, 6)
457          mirrorrp.touch()          try: pid = os.getpid()
458            except: pid = "NA"
459            mirrorrp.write_string("PID %s\n" % (pid,))
460          mirrorrp.fsync_with_dir()          mirrorrp.fsync_with_dir()
461    
462  def backup_remove_curmirror_local():  def backup_remove_curmirror_local():

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

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