o ö]LbÁ ã@sBddlmZmZmZdd„ZdddddddœZd d „Zd d „Zd S)é)Úabsolute_importÚdivisionÚprint_functioncCs,d}| d¡D] }|d}|t|ƒ}q|S)NrÚ.iè)ÚsplitÚint)ÚvstrÚresÚn©r úI/usr/lib/python3/dist-packages/hgext/fsmonitor/pywatchman/capabilities.pyÚ parse_version!s r z3.1.1z3.1z3.3z3.7)zcmd-watch-del-allzcmd-watch-projectÚ relative_rootz term-dirnamez term-idirnameÚ wildmatchcCs|tvr |tt|ƒkSdS)NF)Ú cap_versionsr )ÚversionÚnamer r r Úcheck3srcCspt|dƒ}i|d<|dD] }t||ƒ|d|<q|dD]}t||ƒ}||d|<|s5d|d|d<q|S)z}Synthesize a capability enabled version response This is a very limited emulation for relatively recent feature sets rÚ capabilitiesÚoptionalÚrequiredzclient required capability `z!` is not supported by this serverÚerror)r r)ÚversÚoptsÚparsed_versionrÚhaver r r Ú synthesize9s     ÿþÿ€rN)Ú __future__rrrr rrrr r r r Ús ú