§
    cÌc'
  ã                   ó"   — d Z ddlmZ d„ Zd„ ZdS )z*Routines for reading/writing a marks file.é   )Úwarningc                 óÄ  — 	 t          | d¦  «        }n!# t          $ r t          d| ¦  «         Y dS w xY w	 i }|                     ¦   «         }|dk    r�i }|                     ¦   «                              d¦  «                             d¦  «        D ]0}|sŒ|                     dd¦  «        \  }}t          |¦  «        ||<   Œ1|                     ¦   «         }|r^|                     d¦  «        }|                     d	d¦  «        \  }}	|                     d
¦  «        }|	||<   |                     ¦   «         }|°^| 	                    ¦   «          n# | 	                    ¦   «          w xY w|S )zÚRead the mapping of marks to revision-ids from a file.

    :param filename: the file to read from
    :return: None if an error is encountered or a dictionary with marks
        as keys and revision-ids as values
    Úrbz4Could not import marks file %s - not importing marksNs	   format=1
ó   
ó    ó   .é   ó    ó   :)
ÚopenÚOSErrorr   ÚreadlineÚrstripÚsplitÚrsplitÚintÚlstripÚclose)
ÚfilenameÚfÚrevision_idsÚlineÚbranch_namesÚstringÚnameÚintegerÚmarkÚrevids
             úF/usr/lib/python3/dist-packages/breezy/plugins/fastimport/marks_file.pyÚimport_marksr       s{  € ðÝ�˜4Ñ Ô ˆˆøÝð ð ð ÝÐFØñ	ô 	ð 	àˆtˆtðøøøð
àˆà�zŠz‰|Œ|ˆØ�=Ò Ð ð ˆLØŸ*š*™,œ,×-Ò-¨eÑ4Ô4×:Ò:¸5ÑAÔAð 2ð 2�Øð ØØ &§¢¨d°AÑ 6Ô 6‘��gÝ%(¨¡\¤\�˜TÑ"Ð"Ø—:’:‘<”<ˆDàð 	 Ø—;’;˜uÑ%Ô%ˆDØŸ*š* T¨1Ñ-Ô-‰KˆD�%Ø—;’;˜tÑ$Ô$ˆDØ!&ˆL˜ÑØ—:’:‘<”<ˆDð ð 	 ð 	
�Š‰	Œ	ˆ	ˆ	øˆ�Š‰	Œ	ˆ	ˆ	øøøØÐs   ‚ “1°1µC=E ÅEc                 ór  — 	 t          | d¦  «        }n!# t          $ r t          d| ¦  «         Y dS w xY w	 t          |                     ¦   «         ¦  «        D ]2\  }}|                     d|                     d¦  «        |fz  ¦  «         Œ3	 |                     ¦   «          dS # |                     ¦   «          w xY w)z�Save marks to a file.

    :param filename: filename to save data to
    :param revision_ids: dictionary mapping marks -> bzr revision-ids
    Úwbz9Could not open export-marks file %s - not exporting marksNs   :%s %s
r   )r   r   r   ÚsortedÚitemsÚwriter   r   )r   r   r   r   r   s        r   Úexport_marksr&   ?   sÓ   € ðÝ�˜4Ñ Ô ˆˆøÝð ð ð ÝÐKØñ	ô 	ð 	àˆˆðøøøð
å! ,×"4Ò"4Ñ"6Ô"6Ñ7Ô7ð 	>ð 	>‰KˆD�%Ø�GŠG�K 4§;¢;¨tÑ#4Ô#4°eÐ"<Ñ<Ñ=Ô=Ð=Ð=ð	>ð 	
�Š‰	Œ	ˆ	ˆ	ˆ	øˆ�Š‰	Œ	ˆ	ˆ	øøøs   ‚ “1°1µAB  Â B6N)Ú__doc__Útracer   r    r&   © ó    r   ú<module>r+      sH   ðð  1Ð 0à Ð Ð Ð Ð Ð ð'ð 'ð 'ðTð ð ð ð r*   