Lines Matching full:exists
135 if not os.path.exists(fpath):
260 if not self.bu.exists('bundle'):
284 if self.bu.exists('nodes'):
400 # Check that the patch's parent changeset exists.
414 if not self.bu.exists('diff'):
446 if not self.bu.exists('renames'):
476 if self.bu.exists('diff'):
493 if self.bu.exists('renames'):
534 files = filter(lambda (name, path): os.path.exists(path),
569 if self.bu.exists(fname):
582 if not self.bu.exists('metadata.tar.gz'):
613 if self.bu.exists('hgrc'):
625 if not os.path.exists(path):
644 if self.bu.exists('metadata.tar.gz'):
807 if os.path.exists(os.path.join(self.backupdir, 'latest')):
837 # If backupdir exists, it must be a directory.
838 if (os.path.exists(backupdir) and not os.path.isdir(backupdir)):
839 raise util.Abort('%s exists but is not a directory' % backupdir)
871 if os.path.exists(fpath):
878 def exists(self, name): member in CdmBackup
879 '''Return boolean indicating wether a given file exists in the
881 return os.path.exists(self.backupfile(name))
890 if not self.generation or not self.exists('dirstate'):
905 if not os.path.exists(self.backupdir):
957 if not os.path.exists(self.backupdir):
962 if not os.path.exists(os.path.join(self.backupdir, str(gen))):
970 if not self.exists('dirstate'):