Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/trac/upgrades/__pycache__/ |
Upload File : |
o �k�`� � @ s d dl mZ dd� ZdS )� )�CACHE_YOUNGEST_REVc C sr d}|� d� |D ]\}|�d�r#|� d� |�� }|r |d p!d}q td� q |� dtf� |� dt|f� d S ) z�Modify the repository cache scheme (if needed) Now we use the 'youngest_rev' entry in the system table to explicitly store the youngest rev in the cache. � z4SELECT value FROM system WHERE name='repository_dir'zsvn:z@SELECT rev FROM revision ORDER BY -LENGTH(rev), rev DESC LIMIT 1r z8Please perform a "repository resync" after this upgrade.z DELETE FROM system WHERE name=%sz0INSERT INTO system (name, value) VALUES (%s, %s)N)�execute� startswith�fetchone�printr )�env�ver�cursor�youngest�repository_dir�row� r �4/usr/lib/python3/dist-packages/trac/upgrades/db20.py� do_upgrade s ��r N)�trac.versioncontrol.cacher r r r r r �<module> s