a —+«b¬ã@sšddlmZddlmZmZmZmZdd„Zdd„efejej fej ej fej ej fdœZd d „Zd d „Zd d„Zdd„ZejZejZdd„Zdd„ZdS)é)Úabsolute_importé)Ú bookmarksÚencodingÚobsoleteÚphasescCs2i}tD] }d||<qt |tj¡s.| d¡|S)Nóóobsolete)Ú _namespacesrÚ isenabledZ exchangeoptÚpop)ÚrepoÚnÚk©rú7/usr/lib64/python3.9/site-packages/mercurial/pushkey.pyÚ_nslists   rcGsdS©NFr©ÚxrrrÚrr)s namespacess bookmarkssphasesr cCs||ft|<dS©N)r )Ú namespaceZpushkeyZlistkeysrrrÚregister#srcCst |dd„dd„f¡S)NcWsdSrrrrrrr(rz_get..cWsiSrrrrrrr(r)r Úget)rrrrÚ_get'srcCst|ƒd}|||||ƒS)z should succeed iff value was oldr©r)r rÚkeyÚoldÚnewZpkrrrÚpush+s r cCst|ƒd}||ƒS)z return a dictrr)r rZlkrrrÚlist1s r!cCsd dd„|Dƒ¡S)zDencode the content of a pushkey namespace for exchange over the wireó cSs$g|]\}}dt|ƒt|ƒf‘qS)s%s %s)Úencode)Ú.0rÚvrrrÚ >rzencodekeys..)Újoin)ÚkeysrrrÚ encodekeys<sr)cCs4i}| ¡D]"}| d¡\}}t|ƒ|t|ƒ<q |S)zEdecode the content of a pushkey namespace from exchange over the wireó )Ú splitlinesÚsplitÚdecode)ÚdataÚresultÚlrr%rrrÚ decodekeysAs  r1N)Z __future__rÚrrrrrZ pushbookmarkZ listbookmarksZ pushphaseZ listphasesZ pushmarkerZ listmarkersr rrr r!Z fromlocalr#Ztolocalr-r)r1rrrrÚs     ü