third_party/sqlite/scripts/sqlite_cherry_picker.py
def _update_manifests(self):
        """Update the SQLite's Fossil manifest files.

        This isn't strictly necessary as the manifest isn't used during
        any build, and manifest.uuid is the Fossil commit ID (which
        has no meaning in a Git repo). However, keeping these updated
        helps make it more obvious that a commit originated in
        Git and not Fossil.
        """
        manifest = ManifestSerializer.read_file('manifest')
        files_not_in_manifest = ('manifest', 'manifest.uuid')
        for fname in Git.get_staged_changes():
            if fname in files_not_in_manifest:
                continue
            entry = manifest.find_file_entry(fname)
            if not entry:
                print(
                    'Cannot find manifest entry for "{}"'.format(fname),
                    file=sys.stderr)
                sys.exit(1)
            manifest.find_file_entry(fname).update_file_hash()
        ManifestSerializer.write_file(manifest, 'manifest')
        cmd = ['git', 'add', 'manifest']
        if self._print_cmds:
            _print_command(' '.join(cmd))
        subprocess.check_call(cmd)
        # manifest.uuid contains the hash from the Fossil repository which
        # doesn't make sense in a Git branch. Just write all zeros.
        with open('manifest.uuid', 'w') as output_file:
            print('0' * 64, file=output_file)
        cmd = ['git', 'add', 'manifest.uuid']
        if self._print_cmds:
            _print_command(' '.join(cmd))
        subprocess.check_call(cmd)
Update the SQLite's Fossil manifest files.

        This isn't strictly necessary as the manifest isn't used during
        any build, and manifest.uuid is the Fossil commit ID (which
        has no meaning in a Git repo). However, keeping these updated
        helps make it more obvious that a commit originated in
        Git and not Fossil.
        
Update the SQLite's Fossil manifest files.
This isn't strictly necessary as the manifest isn't used during
any build, and manifest.uuid is the Fossil commit ID (which
has no meaning in a Git repo). However, keeping these updated
helps make it more obvious that a commit originated in
Git and not Fossil.
Update the SQLite ' s Fossil manifest files . This isn ' t strictly necessary as the manifest isn ' t used during any build and manifest . uuid is the Fossil commit ID ( which has no meaning in a Git repo ) . However keeping these updated helps make it more obvious that a commit originated in Git and not Fossil .
def _update_manifests(self):
        manifest = ManifestSerializer.read_file('manifest')
        files_not_in_manifest = ('manifest', 'manifest.uuid')
        for fname in Git.get_staged_changes():
            if fname in files_not_in_manifest:
                continue
            entry = manifest.find_file_entry(fname)
            if not entry:
                print(
                    'Cannot find manifest entry for "{}"'.format(fname),
                    file=sys.stderr)
                sys.exit(1)
            manifest.find_file_entry(fname).update_file_hash()
        ManifestSerializer.write_file(manifest, 'manifest')
        cmd = ['git', 'add', 'manifest']
        if self._print_cmds:
            _print_command(' '.join(cmd))
        subprocess.check_call(cmd)
        with open('manifest.uuid', 'w') as output_file:
            print('0' * 64, file=output_file)
        cmd = ['git', 'add', 'manifest.uuid']
        if self._print_cmds:
            _print_command(' '.join(cmd))
        subprocess.check_call(cmd)
def _update_manifests ( self ) : manifest = ManifestSerializer . read_file ( 'manifest' ) files_not_in_manifest = ( 'manifest' , 'manifest.uuid' ) for fname in Git . get_staged_changes ( ) : if fname in files_not_in_manifest : continue entry = manifest . find_file_entry ( fname ) if not entry : print ( 'Cannot find manifest entry for "{}"' . format ( fname ) , file = sys . stderr ) sys . exit ( 1 ) manifest . find_file_entry ( fname ) . update_file_hash ( ) ManifestSerializer . write_file ( manifest , 'manifest' ) cmd = [ 'git' , 'add' , 'manifest' ] if self . _print_cmds : _print_command ( ' ' . join ( cmd ) ) subprocess . check_call ( cmd ) with open ( 'manifest.uuid' , 'w' ) as output_file : print ( '0' * 64 , file = output_file ) cmd = [ 'git' , 'add' , 'manifest.uuid' ] if self . _print_cmds : _print_command ( ' ' . join ( cmd ) ) subprocess . check_call ( cmd )
Update the SQLite's Fossil manifest files.
Update the SQLite ' s Fossil manifest files .
"""Update the SQLite's Fossil manifest files.

        This isn't strictly necessary as the manifest isn't used during
        any build, and manifest.uuid is the Fossil commit ID (which
        has no meaning in a Git repo). However, keeping these updated
        helps make it more obvious that a commit originated in
        Git and not Fossil.
        """ # manifest.uuid contains the hash from the Fossil repository which # doesn't make sense in a Git branch. Just write all zeros.
self