Lines Matching defs:backup

22 Workspace backup
54 Newest backup generation.
56 All files in a given backup generation, with the exception of
102 "which the backup was taken.\n" % (msg, n))
108 def __init__(self, backup, ws):
110 self.bu = backup
123 def backup(self):
153 '''Restore committed changes from backup'''
175 '''Compare backup of committed changes to workspace'''
186 raise util.Abort("couldn't open backup node list: %s" % e)
210 def __init__(self, backup, ws):
212 self.bu = backup
232 def backup(self):
236 raise util.Abort("Unable to backup an uncommitted merge.\n"
275 '''Return the desired working copy node from the backup'''
371 '''Compare backup of uncommitted changes to workspace'''
386 raise util.Abort("couldn't open backup diff %s\n"
428 def __init__(self, backup, ws):
429 self.bu = backup
433 def backup(self):
462 raise util.Abort("couldn't backup metadata to %s:\n"
471 '''Restore workspace metadata from an pre-tar backup'''
485 '''Restore workspace metadata (from a tar-style backup)'''
594 '''A backup of a given workspace'''
624 '''Find the path to an appropriate backup directory based on NAME'''
643 'find backup path')
645 backupbase = os.path.join(home, 'cdm.backup')
656 '''return full path to backup file FILE at GEN'''
669 '''Create a new backup generation'''
674 raise util.Abort("Couldn't create backup generation %s: %s" %
680 # If there's no current backup generation, or the last backup was
681 # invalid (lacking the dirstate file), we need a backup regardless
694 def backup(self):
695 '''Take a backup of the current workspace
704 raise util.Abort('Could not create backup directory %s: %s' %
712 x.backup()
727 # backup also fails, and raises a second exception.
747 '''Restore workspace from backup
749 Restores from backup generation GEN (defaulting to the latest)