quilt/revert.py
def _file_in_patch(self, filename, patch):
        """ Checks if a backup file of the filename in the current patch
        exists and raises a QuiltError if not.
        """
        pc_dir = self.quilt_pc + patch.get_name()
        file = pc_dir + File(filename)
        if not file.exists():
            raise QuiltError("File %s is not in patch %s" % (filename,
                             patch.get_name()))
def _file_in_patch(self, filename, patch):
        pc_dir = self.quilt_pc + patch.get_name()
        file = pc_dir + File(filename)
        if not file.exists():
            raise QuiltError("File %s is not in patch %s" % (filename,
                             patch.get_name()))
def _file_in_patch ( self , filename , patch ) : pc_dir = self . quilt_pc + patch . get_name ( ) file = pc_dir + File ( filename ) if not file . exists ( ) : raise QuiltError ( "File %s is not in patch %s" % ( filename , patch . get_name ( ) ) )
Checks if a backup file of the filename in the current patch
        exists and raises a QuiltError if not.
Checks if a backup file of the filename in the current patch exists and raises a QuiltError if not .