Lines Matching refs:backup

22 Workspace backup
54 Newest backup generation.
56 All files in a given backup generation, with the exception of
96 "which the backup was taken.\n" % (msg, n))
102 def __init__(self, backup, ws):
104 self.bu = backup
117 def backup(self):
147 '''Restore committed changes from backup'''
169 '''Compare backup of committed changes to workspace'''
180 raise util.Abort("couldn't open backup node list: %s" % e)
204 def __init__(self, backup, ws):
206 self.bu = backup
226 def backup(self):
230 raise util.Abort("Unable to backup an uncommitted merge.\n"
269 '''Return the desired working copy node from the backup'''
350 '''Compare backup of uncommitted changes to workspace'''
365 raise util.Abort("couldn't open backup diff %s\n"
407 def __init__(self, backup, ws):
408 self.bu = backup
412 def backup(self):
441 raise util.Abort("couldn't backup metadata to %s:\n"
450 '''Restore workspace metadata from an pre-tar backup'''
464 '''Restore workspace metadata (from a tar-style backup)'''
573 '''A backup of a given workspace'''
603 '''Find the path to an appropriate backup directory based on NAME'''
622 'find backup path')
624 backupbase = os.path.join(home, 'cdm.backup')
635 '''return full path to backup file FILE at GEN'''
648 '''Create a new backup generation'''
653 raise util.Abort("Couldn't create backup generation %s: %s" %
659 # If there's no current backup generation, or the last backup was
660 # invalid (lacking the dirstate file), we need a backup regardless
673 def backup(self):
674 '''Take a backup of the current workspace
683 raise util.Abort('Could not create backup directory %s: %s' %
691 x.backup()
706 # backup also fails, and raises a second exception.
726 '''Restore workspace from backup
728 Restores from backup generation GEN (defaulting to the latest)