/opt/cloudlinux/venv/lib/python3.11/site-packages/git/index/__pycache__
NameSizeModeActions
base.cpython-311.pyc659690644editdlrm
fun.cpython-311.pyc184700644editdlrm
typ.cpython-311.pyc101240644editdlrm
util.cpython-311.pyc62650644editdlrm
__init__.cpython-311.pyc3120644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/git/index/__pycache__/base.cpython-311.pyc (65969B)
§ óAÝËÏ®«¡ãó—ddlmZddlZddlZddlmZddlZddlmZddl Z ddl Z ddl m Z m Z ddlmZmZmZmZddlmZmZmZmZmZddlmZdd lmZmZmZmZm Z m!Z!m"Z"dd l#m$Z$dd l%m&Z&ddl'm(Z)ddl*m+Z,d d l-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5d dl6m7Z7m8Z8m9Z9d dl:m;Z;mZ>ddl?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMddlNmOZOmPZPeJrddl mQZQddlRmSZSddlTmUZUddlmVZVeMeeeWeXfZYdZZGd„dee)j[e¦«Z\dS)é)Ú ExitStackN)ÚBytesIO)ÚS_ISLNK)Ú force_bytesÚdefenc)ÚGitCommandErrorÚ CheckoutErrorÚGitErrorÚInvalidGitRepositoryError)ÚBlobÚ SubmoduleÚTreeÚObjectÚCommit)Ú Serializable)Ú LazyMixinÚLockedFDÚjoin_path_nativeÚfile_contents_roÚto_native_path_linuxÚ unbare_repoÚ to_bin_sha)ÚIStream)ÚMemoryDBé)Ú entry_keyÚ write_cacheÚ read_cacheÚaggressive_tree_mergeÚwrite_tree_from_cacheÚstat_mode_to_index_modeÚ S_IFGITLINKÚrun_commit_hook)ÚBaseIndexEntryÚ IndexEntryÚ StageType)ÚTemporaryFileSwapÚpost_clear_cacheÚ default_indexÚgit_working_dir)ÚAnyÚBinaryIOÚCallableÚDictÚIOÚIterableÚIteratorÚListÚNoReturnÚSequenceÚ TYPE_CHECKINGÚTupleÚTypeÚUnion)Ú Commit_ishÚPathLike)ÚPopen)ÚRepo)Ú Reference)ÚActor)Ú IndexFiler r&cóx‡—eZdZdZdZdZeZdhdddeedfddfd „Z d e ddfˆfd „ Z defd „Z e defd „¦«Zdid„Zdeddfd„Zdeefd„Zdjdededdfd„Z dkdedefdeddfd„Zeedhdededefddfd„¦«¦«Zedddee efddfd„¦«Zedddededdfd„¦«Z e!ddde"ede#efd „¦«Z$ dld"d#d$ed%ed&e%d'e&fd(e%eeegdfd)edede ffd*„Z'd+„fd,e%e(e)e*fgefde#e(e)e*ffd-„Z+de,eee(e)e*fffd.„Z-ed/ee.ee)fde(ee)ffd0„¦«Z/d1e#e*ddfd2„Z0dmd3„Z1defd4„Z2d5eee d6e3d7fdeee d6e3d7ffd8„Z4d9edefd:„Z5d;e"eee*e.d„Z7e!e8dee d?e%d(e%d@ee.dee.f dA„¦«¦«Z9d!dB„dd!dfd;e"eee*e.d dndLe dMee?dfdNedOedPdQedPdRee@j@e dfdSee@j@e dfdTedeAfdU„ZBdLe ddfdV„ZCdidW„ZDde fdX„ZEde fdY„ZFdjd"dZd[edeGfd\„ZHeddd]„fdedeIefdCed(e%dedede#ee"eff d^„¦«ZJe dod`eeAdae fdHededeIefdNededdf db„¦«ZKeLjMjNddfdcee3d7dddee dfdeeeee(ed'fdfdfededeLjOf ˆfdg„ ZPˆxZQS)pr?ad Implements an Index that can be manipulated using a native implementation in order to save git command function calls wherever possible. It provides custom merging facilities allowing to merge without actually changing your index or your working tree. This way you can perform own test-merges based on the index only without having to deal with the working copy. This is useful in case of partial working trees. ``Entries`` The index contains an entries dict whose keys are tuples of type IndexEntry to facilitate access. You may read the entries dict or manipulate it using IndexEntry instance, i.e.:: index.entries[index.entry_key(index_entry_instance)] = index_entry_instance Make sure you use index.write() once you are done manipulating the index directly before operating on it using the git command)ÚrepoÚversionÚentriesÚ_extension_dataÚ _file_pathéNrAr<Ú file_pathÚreturncóp—||_|j|_d|_|p| ¦«|_dS)aInitialize this Index instance, optionally from the given ``file_path``. If no file_path is given, we will be created from the current index file. If a stream is not given, the stream will be initialized from the current repository's index on demand.óN)rAÚ_VERSIONrBrDÚ _index_pathrE)ÚselfrArGs ú`/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/git/index/base.pyÚ__init__zIndexFile.__init__|s8€ð ˆŒ Ø”}ˆŒ Ø"ˆÔØ$-Ð$C°×1AÒ1AÑ1CÔ1CˆŒˆˆrJÚattrcó�•—|dkr– tj|jtj¦«}n#t$r i|_YdSwxYw t |dd¬¦«}tj|¦«n#tj|¦«wxYw| |¦«dStt|¦«  |¦«dS)NrCT)ÚstreamÚ allow_mmap) ÚosÚopenrEÚO_RDONLYÚOSErrorrCrÚcloseÚ _deserializeÚsuperr?Ú _set_cache_)rMrPÚfdrRÚ __class__s €rNr[zIndexFile._set_cache_‡sËø€Ø �9Ò Ð ð Ý”W˜Tœ_­b¬kÑ:Ô:��øÝð ð ð àMO�” Ø�t�tð øøøð  Ý)¨"°TÀdÐKÑKÔK�唘‘ ” � � ø•”˜‘ ” � � øøøà × Ò ˜fÑ %Ô %Ð %Ð %Ð %å •)˜TÑ "Ô "× .Ò .¨tÑ 4Ô 4Ð 4Ð 4Ð 4s‰$.®AÁAÁA.Á.Bcól—|jjrt|jjd¦«Std¦«‚)NÚindexz)No git directory given to join index path)rAÚgit_dirrr©rMs rNrLzIndexFile._index_pathšs4€Ø Œ9Ô ð OÝ# D¤IÔ$5°wÑ?Ô?Ð ?å!Ð"MÑNÔNÐ NrJcó—|jS)z3:return: Path to the index file we are representing)rEras rNÚpathzIndexFile.path s €ðŒÐrJcó.— |`dS#t$rYdSwxYw)z5Safely clear the entries cache so it can be recreatedN)rCÚAttributeErrorras rNÚ_delete_entries_cachezIndexFile._delete_entries_cache¥s2€ð Ø� � � øÝð ð ð à ˆDˆDð øøøs ‚† “rRcóL—t|¦«\|_|_|_}|S)zEInitialize this instance with index values read from the given stream)rrBrCrD)rMrRÚ _conten_shas rNrYzIndexFile._deserialize°s%€åHRÐSYÑHZÔHZÑEˆŒ �d”l DÔ$8¸+؈ rJcóT—t|j ¦«d„¬¦«S)zK:return: list of entries, in a sorted fashion, first by path, then by stagecó—|j|jfS©N©rcÚstage©Úes rNúz+IndexFile._entries_sorted..·s€¸A¼FÀAÄGÐ;L€rJ)Úkey)ÚsortedrCÚvaluesras rNÚ_entries_sortedzIndexFile._entries_sortedµs'€å�d”l×)Ò)Ñ+Ô+Ð1LÐ1LÐMÑMÔMÐMrJFÚignore_extension_datacóf—| ¦«}|j}|rd}t|||¦«|Srk)rtrDr)rMrRrurCÚextension_datas rNÚ _serializezIndexFile._serialize¹s?€Ø×&Ò&Ñ(Ô(ˆØÔ-ˆØ ð "Ø!ˆNÝ�G˜V ^Ñ4Ô4Ð4؈ rJcóH—|jt|p|j¦«}| dd¬¦«}d} | ||¦«d}|s| ¦«n#|s| ¦«wwxYw| ¦«|� ||_dSdS)aåWrite the current state to our file path or to the given one :param file_path: If None, we will write to our stored file path from which we have been initialized. Otherwise we write to the given file path. Please note that this will change the file_path of this index to the one you gave. :param ignore_extension_data: If True, the TREE type extension data read in the index will not be written to disk. NOTE that no extension data is actually written. Use this if you have altered the index and would like to use git-write-tree afterwards to create a tree representing your written changes. If this data is present in the written index, git-write-tree will instead write the stored/cached tree. Alternatively, use IndexFile.write_tree() to handle this case automatically :return: self # does it? or returns None?T)ÚwriterRFN)rCrrErUrxÚrollbackÚcommit)rMrGruÚlfdrRÚoks rNrzzIndexFile.writeÃsº€ð8 Œ ˆ Ý�yÐ3 D¤OÑ4Ô4ˆØ—’ ¨T�Ñ2Ô2ˆà ˆð Ø �OŠO˜FÐ$9Ñ :Ô :Ð :؈Bàð Ø— ’ ‘”�øøðð Ø— ’ ‘”��ð øøøð � Š ‰ Œ ˆ ð Ð Ø'ˆDŒOˆOˆOð !Ð s ¸A'Á'BÚrhsÚbasecó¤—gd¢}|�| |¦«| |¦«|jj |¦«|S)aÙMerge the given rhs treeish into the current index, possibly taking a common base treeish into account. As opposed to the :func:`IndexFile.from_tree` method, this allows you to use an already existing tree as the left side of the merge :param rhs: treeish reference pointing to the 'other' side of the merge. :param base: optional treeish reference pointing to the common base of 'rhs' and this index which equals lhs :return: self ( containing the merge and possibly unmerged entries in case of conflicts ) :raise GitCommandError: If there is a merge conflict. The error will be raised at the first conflicting path. If you want to have proper merge resolution to be done by yourself, you have to commit the changed index ( or make a valid tree from it ) and retry with a three-way index.from_tree call.)ú --aggressivez-iz-m)ÚappendrAÚgitÚ read_tree)rMrr€Úargss rNÚ merge_treezIndexFile.merge_treeñsW€ð:+GÐ*FÐ*FˆØ Ð Ø �KŠK˜Ñ Ô Ð Ø � Š �CÑÔÐà Œ Œ ×Ò Ñ%Ô%Ð%؈ rJÚtree_shacóΗd„|D¦«}t|j|¦«}||¦«}ttd„|D¦«d„|D¦«¦«¦«}||_|S)añMerge the given treeish revisions into a new index which is returned. This method behaves like git-read-tree --aggressive when doing the merge. :param repo: The repository treeish are located in. :param tree_sha: 20 byte or 40 byte tree sha or tree objects :return: New IndexFile instance. Its path will be undefined. If you intend to write such a merged Index, supply an alternate file_path to its 'write' method.cóF—g|]}tt|¦«¦«‘ŒS©)rÚstr)Ú.0Úts rNú z!IndexFile.new..$s&€Ð&LÐ&LÐ&L¸a¥zµ#°a±&´&Ñ'9Ô'9Ð&LÐ&LÐ&LrJc3ó2K—|]}|j|jfV—ŒdSrkrl©r�ros rNú z IndexFile.new..+s+èè€Ð9Ð9 q�!”&˜!œ'Ð"Ð9Ð9Ð9Ð9Ð9Ð9rJc3ó>K—|]}tj|¦«V—ŒdSrk)r%Ú from_baser‘s rNr’z IndexFile.new..,s-èè€Ð?Ð?¨Q•Ô% aÑ(Ô(Ð?Ð?Ð?Ð?Ð?Ð?rJ)rÚodbÚdictÚziprC)ÚclsrArˆÚtree_sha_bytesÚ base_entriesÚinstrCs rNÚnewz IndexFile.news‚€ð'MÐ&LÀ8Ð&LÑ&LÔ&LˆÝ,¨T¬X°~ÑFÔFˆ àˆs�4‰yŒyˆå:>Ý Ø9Ð9¨LÐ9Ñ9Ô9Ø?Ð?°,Ð?Ñ?Ô?ñ ô ñ; ô; ˆðˆŒ ؈ rJÚtreeishÚkwargsc óÚ—t|¦«dkst|¦«dkrtdt|¦«z¦«‚g}t|¦«dkr*| d¦«| d¦«t¦«5}| t j|j¬¦«¦«}| d|jz¦«|  |¦«| tt|jd ¦«¦«¦«|j j |i|¤Ž|||j¦«}|j|cd d d ¦«S#1swxYwYd S) aSMerge the given treeish revisions into a new index which is returned. The original index will remain unaltered :param repo: The repository treeish are located in. :param treeish: One, two or three Tree Objects, Commits or 40 byte hexshas. The result changes according to the amount of trees. If 1 Tree is given, it will just be read into a new index If 2 Trees are given, they will be merged into a new index using a two way merge algorithm. Tree 1 is the 'current' tree, tree 2 is the 'other' one. It behaves like a fast-forward. If 3 Trees are given, a 3-way merge will be performed with the first tree being the common ancestor of tree 2 and tree 3. Tree 2 is the 'current' tree, tree 3 is the 'other' one :param kwargs: Additional arguments passed to git-read-tree :return: New IndexFile instance. It will point to a temporary index location which does not exist anymore. If you intend to write such a merged Index, supply an alternate file_path to its 'write' method. :note: In the three-way merge case, --aggressive will be specified to automatically resolve more cases in a commonly correct manner. Specify trivial=True as kwarg to override that. As the underlying git-read-tree command takes into account the current index, it will be temporarily moved out of the way to assure there are no unsuspected interferences.réz.Please specify between 1 and 3 treeish, got %irz--resetr‚)Údirz--index-output=%sr_N)ÚlenÚ ValueErrorrƒrÚ enter_contextÚtempfileÚNamedTemporaryFiler`ÚnameÚextendr'rr„r…rC)r˜rAr�ržÚarg_listÚstackÚ tmp_indexr_s rNÚ from_treezIndexFile.from_tree3sž€õF ˆw‰<Œ<˜1Ò Ð ¥ G¡ ¤ ¨qÒ 0Ð 0ÝÐMÕPSÐT[ÑP\ÔP\Ñ\Ñ]Ô]Ð ]à.0ˆå ˆw‰<Œ<˜!Ò Ð à �OŠO˜IÑ &Ô &Ð &à �OŠO˜NÑ +Ô +Ð +õ ‰[Œ[ð ˜EØ×+Ò+­HÔ,GÈDÌLÐ,YÑ,YÔ,YÑZÔZˆIØ �OŠOÐ/°)´.Ñ@Ñ AÔ AÐ AØ �OŠO˜GÑ $Ô $Ð $ð × Ò Õ 1Õ2BÀ4Ä<ÐQXÑ2YÔ2YÑ ZÔ ZÑ [Ô [Ð [Ø ˆDŒHÔ  Ð 3¨FÐ 3Ð 3Ð 3Ø�C˜˜iœnÑ-Ô-ˆEØ ŒMˆMØð ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð sÂCE Å E$Å'E$rMÚpathsc #ó¸K—dtdtfd„}t|jj¦«}|t jz}|D�]™}t|¦«}tj|¦«stj ||¦«} t j |¦«}t|j ¦«r|  |d¦«V—Œ}n#t$rYnwxYwt j |¦«sud|vsd|vsd|vrit#j|¦«}||vrQ| t#j|¦«¦«D]'} t| ¦«  |d¦«V—Œ(�Œ" t j||¬¦«D]6\} } } | D]-} tj |   |d¦«| ¦«V—Œ.Œ7�Œr#t$r|  |d¦«V—Y�Œ—wxYwd S) aExpand the directories in list of paths to the corresponding paths accordingly, Note: git will add items multiple times even if a glob overlapped with manually specified paths or if paths where specified multiple times - we respect that and do not prunerorHcó—|‚rkr‹rns rNÚ raise_excz/IndexFile._iter_expand_paths..raise_exc~s€ØˆGrJÚú?Ú*ú[)ÚonerrorN)Ú Exceptionr3rŒrAÚworking_tree_dirrTÚsepÚospÚisabsÚjoinÚlstatrÚst_modeÚreplacerWrcÚexistsÚglobÚ_iter_expand_pathsÚwalk)rMr­r°ÚrÚrsrcÚabs_pathÚstÚresolved_pathsÚfÚrootÚ_dirsÚfilesÚ rela_files rNrÁzIndexFile._iter_expand_pathsvsKèè€ð �ð ¥xð ð ð ð õ �” Ô*Ñ +Ô +ˆØ •”‰ZˆØð( /ñ( /ˆDݘ4‘y”yˆHÝ”9˜XÑ&Ô&ð -Ýœ8 A tÑ,Ô,�ð Ý”X˜hÑ'Ô'�õ ˜2œ:Ñ&Ô&ðØ"×*Ò*¨2¨rÑ2Ô2Ð2Ð2Ð2Øðøõ ð ð ð à�ð øøøõ”7—>’> (Ñ+Ô+ð °¸°°ÀCÈ8ÀOÀOÐWZÐ^fÐWfÐWfÝ!%¤¨8Ñ!4Ô!4�ð >Ð1Ð1Ø!×4Ò4µT´Y¸xÑ5HÔ5HÑIÔIð5ð5˜Ý! !™fœfŸnšn¨R°Ñ4Ô4Ð4Ð4Ð4Ð4Ùð /Ý*,¬'°(ÀIÐ*NÑ*NÔ*NðHðHÑ&�D˜% Ø%*ðHðH˜ å!œh t§|¢|°B¸Ñ';Ô';¸YÑGÔGÐGÐGÐGÐGðHñHøõ ð /ð /ð /à×&Ò& r¨2Ñ.Ô.Ð.Ð.Ð.Ð.Ñ.ð /øøøðM( /ð( /s%Á;B=Â= C à C Å"A F1Æ1"GÇGTÚprocr;ÚfilepathÚitemÚfmakeexc.Ú fprogressÚread_from_stdoutcóŽ—||d|¦«d}|j�m |j d|z t¦«¦«n#t$r}|¦«|‚d}~wwxYw|j ¦«|r2|j�+|j ¦« ¦«}||d|¦«|S)aiWrite path to proc.stdin and make sure it processes the item, including progress. :return: stdout string :param read_from_stdout: if True, proc.stdout will be read after the item was sent to stdin. In that case, it will return None :note: There is a bug in git-update-index that prevents it from sending reports just in time. This is why we have a version that tries to read stdout and one which doesn't. In fact, the stdout is not important as the piped-in files are processed anyway and just in time :note: Newlines are essential here, gits behaviour is somewhat inconsistent on this depending on the version, hence we try our best to deal with newlines carefully. Usually the last newline will not be sent, instead we will close stdin to break the pipe.FNz%s T) ÚstdinrzÚencoderÚIOErrorÚflushÚstdoutÚreadlineÚstrip) rMrÍrÎrÏrÐrÑrÒÚrvalros rNÚ_write_path_to_stdinzIndexFile._write_path_to_stdin¯sà€ð. ˆ �(˜E 4Ñ(Ô(Ð(Ø!%ˆà Œ:Ð !ð (Ø” × Ò  &¨8Ñ"3×!;Ò!;½FÑ!CÔ!CÑDÔDÐDÐDøÝð (ð (ð (à�h‘j”j aÐ'øøøøð (øøøð ŒJ× Ò Ñ Ô Ð à ð 2 ¤ Ð 7Ø”;×'Ò'Ñ)Ô)×/Ò/Ñ1Ô1ˆD؈ �(˜D $Ñ'Ô'Ð'؈ s˜5AÁ A(Á A#Á#A(có—dS)NTr‹©rŽs rNrpzIndexFile.Øs€Èd€rJÚ predicatec#ó¾K—|j ¦«D]@}| |j¦«}|j|_|j|f}||¦«r|V—ŒAdS)aR :return: Iterator yielding tuples of Blob objects and stages, tuple(stage, Blob) :param predicate: Function(t) returning True if tuple(stage, Blob) should be yielded by the iterator. A default filter, the BlobFilter, allows you to yield blobs only if they match a given list of paths.N)rCrsÚto_blobrAÚsizerm)rMrßÚentryÚblobÚoutputs rNÚ iter_blobszIndexFile.iter_blobs×ssèè€ð”\×(Ò(Ñ*Ô*ð ð ˆEØ—=’= ¤Ñ+Ô+ˆDØœ ˆDŒIØ”k 4Ð(ˆF؈y˜Ñ Ô ð Ø� � � øð  ð rJcóü—d„}i}| |¦«D]5\}}| |jg¦« ||f¦«Œ6| ¦«D]}| ¦«Œ|S)aº :return: Dict(path : list( tuple( stage, Blob, ...))), being a dictionary associating a path in the index with a list containing sorted stage/blob pairs :note: Blobs that have been removed in one side simply do not exist in the given stage. I.e. a file removed on the 'other' branch whose entries are at stage 3 will not have a stage 3 entry. có—|ddkS)Nrr‹rÞs rNrpz*IndexFile.unmerged_blobs..ös€ Q q¤T¨Q¢Y€rJ)ræÚ setdefaultrcrƒrsÚsort)rMÚis_unmerged_blobÚpath_maprmräÚlines rNÚunmerged_blobszIndexFile.unmerged_blobsésŽ€ð/Ð.ÐØACˆØŸ?š?Ð+;Ñ<Ô<ð Eð E‰KˆE�4Ø × Ò  ¤ ¨2Ñ .Ô .× 5Ò 5°u¸d°mÑ DÔ DÐ DÐ Dà—O’OÑ%Ô%ð ð ˆDØ �IŠI‰KŒKˆKˆKàˆrJrãcó—t|ŽSrk)r)r˜rãs rNrzIndexFile.entry_keys €å˜%Ð Ð rJræcóþ—|D]y}|jdf}||jvr$tdt|j¦«z¦«‚dD]"} |j|j|f=Œ#t$rYŒwxYwt j|¦«|j|<Œz|S)aFResolve the blobs given in blob iterator. This will effectively remove the index entries of the respective path at all non-null stages and add the given blob as new stage null blob. For each path there may only be one blob, otherwise a ValueError will be raised claiming the path is already at stage 0. :raise ValueError: if one of the blobs already existed at stage 0 :return: self :note: You will have to write the index manually once you are done, i.e. index.resolve_blobs(blobs).write() rz!Path %r already exists at stage 0)rrFr )rcrCr£rŒÚKeyErrorr%Ú from_blob)rMræräÚstage_null_keyrms rNÚ resolve_blobszIndexFile.resolve_blobss¶€ðð Fð FˆDØ"œi¨˜^ˆNØ ¤Ð-Ð-Ý Ð!DÅsÈ4Ì9Á~Ä~Ñ!UÑVÔVÐVð#ð ð �ðØœ  d¤i°Ð%7Ð8Ð8øÝðððØ�Dðøøøõ ,6Ô+?ÀÑ+EÔ+EˆDŒL˜Ñ (Ð (ðˆ sÁAÁ AÁAcó.—| ¦«|S)zëReread the contents of our index file, discarding all cached information we might have. :note: This is a possibly dangerious operations as it will discard your changes to index.entries :return: self)rfras rNÚupdatezIndexFile.update's€ð ×"Ò"Ñ$Ô$Ð$àˆ rJc óH—t¦«}| ¦«}t||tdt |¦«¦«¦«\}}| | ¦«|jj¦«t|j|d¬¦«}||_ |S)aàWrites this index to a corresponding Tree object into the repository's object database and return it. :return: Tree object representing this index :note: The tree will be written even if one or more objects the tree refers to does not yet exist in the object database. This could happen if you added Entries to the index directly. :raise ValueError: if there are no entries in the cache :raise UnmergedEntriesError:rr±©rc) rrtr Úslicer¢Ú stream_copyÚsha_iterrAr•rÚ_cache)rMÚmdbrCÚbinshaÚ tree_itemsÚ root_trees rNÚ write_treezIndexFile.write_tree2sŒ€õ‰jŒjˆØ×&Ò&Ñ(Ô(ˆÝ2°7¸CÅÀqÍ#ÈgÉ,Ì,ÑAWÔAWÑXÔXш� ð �Š˜Ÿ š ™œ¨¬ ¬ Ñ6Ô6Ð6õ˜œ F°Ð4Ñ4Ô4ˆ Ø%ˆ ÔØÐrJr†zgit_diff.Diffablezgit_diff.Diffable.Indexcóz— | | |¦«¦«n#t$rYnwxYw|Srk)Úpopr_Ú IndexError)rMr†s rNÚ_process_diff_argszIndexFile._process_diff_argsKsO€ð Ø �HŠH�T—Z’Z Ñ%Ô%Ñ &Ô &Ð &Ð &øÝð ð ð Ø ˆDð øøøðˆ s ‚(+« 8·8rccóh—tj|¦«s|S|jjrt d¦«‚t |¦« t |jj¦«¦«std|›d|jj›�¦«‚tj   ||jj¦«S)z… :return: Version of path relative to our git directory or raise ValueError if it is not within our git directoryzrequire non-bare repositoryzAbsolute path z is not in git repository at ) r¹rºrAÚbarer rŒÚ startswithr·r£rTrcÚrelpath)rMrcs rNÚ_to_relative_pathzIndexFile._to_relative_pathVs €õŒy˜‰Œð ؈KØ Œ9Œ>ð KÝ+Ð,IÑJÔJÐ JÝ�4‰yŒy×#Ò#¥C¨¬ Ô(BÑ$CÔ$CÑDÔDð uÝ�*ÐRVÐRVÐRVÐX\ÔXaÔXrÐXrÐsÑtÔtÐ tÝŒw�Š˜t T¤YÔ%?Ñ@Ô@Ð@rJÚitemsr cóø—g}g}t|ttjf¦«r|g}|D]Ì}t|ttjf¦«r)| | |¦«¦«ŒLt|t tf¦«r(| tj |¦«¦«Œ�t|t¦«r| |¦«Œ»td|z¦«‚||fS)z?Split the items into two lists of path strings and BaseEntries.zInvalid Type: %r) Ú isinstancerŒrTr:rƒr r r r$ròÚ TypeError)rMr r­rCrÏs rNÚ_preprocess_add_itemszIndexFile._preprocess_add_itemsbsõ€ðˆØˆå �e�c¥2¤;Ð/Ñ 0Ô 0ð Ø�GˆEàð ;ð ;ˆDݘ$¥¥b¤kÐ 2Ñ3Ô3ð ;Ø— ’ ˜T×3Ò3°DÑ9Ô9Ñ:Ô:Ð:Ð:ݘD¥4­Ð"3Ñ4Ô4ð ;Ø—’�~Ô7¸Ñ=Ô=Ñ>Ô>Ð>Ð>ݘD¥.Ñ1Ô1ð ;Ø—’˜tÑ$Ô$Ð$Ð$åÐ 2°TÑ 9Ñ:Ô:Ð:à�gˆ~ÐrJcóʇ—tj‰¦«}t|j¦«rˆfd„}nˆfd„}|¦«5}|‰d‰¦«|jj ttj |j |¦«¦«}|‰d‰¦«ddd¦«n #1swxYwYtt|j¦«|j dt‰¦«f¦«S)z¤Store file at filepath in the database and return the base index entry Needs the git_working_dir decorator active ! This must be assured in the calling codecón•—tttj‰¦«t¬¦«¦«S)N)Úencoding)rrrTÚreadlinkr©rÎs€rNrpz'IndexFile._store_path..~s(ø€½'Å+ÍbÌkÐZbÑNcÔNcÕntÐBuÑBuÔBuÑ:vÔ:v€rJcó$•—t‰d¦«S©NÚrb)rUrs€rNrpz'IndexFile._store_path..€sø€¥$ x°Ñ"6Ô"6€rJFTNr)rTr¼rr½rAr•Ústorerr ÚtypeÚst_sizer$r!rþr)rMrÎrÑrÆÚ open_streamrRÚistreams ` rNÚ _store_pathzIndexFile._store_pathxs*ø€õŒX�hÑ Ô ˆÝ �2”:Ñ Ô ð 7à2vÐ2vÐ2vÐ2vˆKˆKà6Ð6Ð6Ð6ˆKØ ˆ[‰]Œ]ð 0˜fØ ˆI�h  xÑ 0Ô 0Ð 0Ø”i”m×)Ò)­'µ$´)¸R¼ZÈÑ*PÔ*PÑQÔQˆGØ ˆI�h  hÑ /Ô /Ð /ð 0ð 0ð 0ñ 0ô 0ð 0ð 0ð 0ð 0ð 0ð 0øøøð 0ð 0ð 0ð 0õå'¨¬ Ñ3Ô3Ø”ØÝ$ XÑ.Ô.ð  ñ ô ð s¿AB#Â#B'Â*B'Ú path_rewriterrCc óª—g}|rø|D]ð}tj|¦«r4|}|tt|jj¦«¦«dzd…}n-|}|jjrtj|jj|¦«}t|jtjttj |¦«j ¦«t|¦«¦«} | tj| ¦«¦«Œñ|dd…=t|¦«dksJ‚| |¦«D]+} | | | |¦«¦«Œ,|S)Nrr)r¹rºr¢rŒrAr·r»r Ú NULL_BIN_SHAr!rTÚstatr½rrƒr$ròrÁr) rMr­rrÑrCÚ entries_addedrcÚabspathÚgitrelative_pathrärÎs rNÚ_entries_for_pathszIndexFile._entries_for_pathsŽsf€ð/1ˆ Ø ð Øð ?ð ?�Ý”9˜T‘?”?ðYØ"�GØ'+­Cµ°D´IÔ4NÑ0OÔ0OÑ,PÔ,PÐSTÑ,TÐ,VÐ,VÔ'WÐ$Ð$à'+Ð$Ø”yÔ1ðYÝ"%¤(¨4¬9Ô+EÐGWÑ"XÔ"X˜õØ”IÝÔ%Ý+­B¬G°GÑ,<Ô,<Ô,DÑEÔEÝ(Ð)9Ñ:Ô:ñ ô�ð—’�~Ô7¸Ñ=Ô=Ñ>Ô>Ð>Ð>à�a�a�a�õ�=Ñ!Ô! QÒ&Ð&Ð&Ð&Ø×/Ò/°Ñ6Ô6ð Hð HˆHØ × Ò  ×!1Ò!1°(¸IÑ!FÔ!FÑ GÔ GÐ GÐ GðÐrJcó—dSrkr‹©r†s rNrpzIndexFile.»ó€¨D€rJÚforcerzÚwrite_extension_datac 󇇇—| |¦«\}Šg}|r+| | ||‰‰¦«¦«‰rñd„‰D¦«} | rtd¦«‚d„t ‰¦«D¦«Š‰r t d ˆˆˆfd„ ¦«} | |¦«|rCt ‰¦«D]3\} } t | j| j| j || ¦«f¦«‰| <Œ4t ‰¦«D]/\} } | ‰v}|s$‰| j d | ¦«‰| j d | ¦«Œ0| ‰¦«|D]%} tj | ¦«|j | j d f<Œ&|r| | ¬ ¦«|S)a5Add files from the working tree, specific blobs or BaseIndexEntries to the index. :param items: Multiple types of items are supported, types can be mixed within one call. Different types imply a different handling. File paths may generally be relative or absolute. - path string strings denote a relative or absolute path into the repository pointing to an existing file, i.e. CHANGES, lib/myfile.ext, '/home/gitrepo/lib/myfile.ext'. Absolute paths must start with working tree directory of this index's repository to be considered valid. For example, if it was initialized with a non-normalized path, like `/root/repo/../repo`, absolute paths to be added must start with `/root/repo/../repo`. Paths provided like this must exist. When added, they will be written into the object database. PathStrings may contain globs, such as 'lib/__init__*' or can be directories like 'lib', the latter ones will add all the files within the directory and subdirectories. This equals a straight git-add. They are added at stage 0 - Blob or Submodule object Blobs are added as they are assuming a valid mode is set. The file they refer to may or may not exist in the file system, but must be a path relative to our repository. If their sha is null ( 40*0 ), their path must exist in the file system relative to the git repository as an object will be created from the data at the path. The handling now very much equals the way string paths are processed, except that the mode you have set will be kept. This allows you to create symlinks by settings the mode respectively and writing the target of the symlink directly into the file. This equals a default Linux-Symlink which is not dereferenced automatically, except that it can be created on filesystems not supporting it as well. Please note that globs or directories are not allowed in Blob objects. They are added at stage 0 - BaseIndexEntry or type Handling equals the one of Blob objects, but the stage may be explicitly set. Please note that Index Entries require binary sha's. :param force: **CURRENTLY INEFFECTIVE** If True, otherwise ignored or excluded files will be added anyway. As opposed to the git-add command, we enable this flag by default as the API user usually wants the item to be added even though they might be excluded. :param fprogress: Function with signature f(path, done=False, item=item) called for each path to be added, one time once it is about to be added where done==False and once after it was added where done=True. item is set to the actual item we handle, either a Path or a BaseIndexEntry Please note that the processed path is not guaranteed to be present in the index already as the index is currently being processed. :param path_rewriter: Function with signature (string) func(BaseIndexEntry) function returning a path for each passed entry which is the path to be actually recorded for the object created from entry.path. This allows you to write an index which is not identical to the layout of the actual files on your hard-disk. If not None and ``items`` contain plain paths, these paths will be converted to Entries beforehand and passed to the path_rewriter. Please note that entry.path is relative to the git repository. :param write: If True, the index will be written once it was altered. Otherwise the changes only exist in memory and are not available to git commands. :param write_extension_data: If True, extension data will be written back to the index. This can lead to issues in case it is containing the 'TREE' extension, which will cause the `git commit` command to write an old tree, instead of a new one representing the now changed index. This doesn't matter if you use `IndexFile.commit()`, which ignores the `TREE` extension altogether. You should set it to True if you intend to use `IndexFile.commit()` exclusively while maintaining support for third-party extensions. Besides that, you can usually safely ignore the built-in extensions when using GitPython on repositories that are not handled manually at all. All current built-in extensions are listed here: http://opensource.apple.com/source/Git/Git-26/src/git-htmldocs/technical/index-format.txt :return: List(BaseIndexEntries) representing the entries just actually added. :raise OSError: if a supplied Path did not exist. Please note that BaseIndexEntry Objects that do not have a null sha will be added even if their paths do not exist. có(—g|]}|jdk¯ |‘ŒS)r)Úmoder‘s rNr�z!IndexFile.add../s€Ð CÐ CÐ C q°q´vÀ²{°{ °{°{°{rJzXAt least one Entry has a null-mode - please use index.remove to remove files for claritycóB—g|]\}}|jtjk¯|‘ŒSr‹)rþrr )r�Úiros rNr�z!IndexFile.add..8s,€Ð#hÐ#hÐ#h©$¨!¨QÈÌÕTZÔTgÒHgÐHg AÐHgÐHgÐHgrJrMr?rHNc󬕗‰D]O}‰|}| |j‰¦«}t|j|j|j|jf¦«‰|<ŒPdSrk)rrcr$r-rþrm)rMÚeiÚ null_entryÚ new_entryrCrÑÚnull_entries_indicess €€€rNÚhandle_null_entriesz*IndexFile.add..handle_null_entries;snø€à2ð ð ˜Ø%,¨R¤[˜ Ø$(×$4Ò$4°Z´_ÀiÑ$PÔ$P˜ õ'5à *¤Ø )Ô 0Ø *Ô 0Ø *¤ð ñ'ô'˜ ™ ˜ ð ð rJFTr)ru)rMr?rHN)rr¨r%r£Ú enumerater*r$r-rþrmrcr%r”rCrz)rMr r)rÑrrzr*r­r"Únull_mode_entriesr5r/rorãÚ progress_sentrCr4s ` @@rNÚaddz IndexFile.add·s#øøø€ð\×3Ò3°EÑ:Ô:‰ˆˆwØ.0ˆ ð ð dØ × Ò  ×!8Ò!8¸À ÈyÐZaÑ!bÔ!bÑ cÔ cÐ cð ð3 *Ø CÐ C¨GÐ CÑ CÔ CÐ Ø ð Ý Ønñôðð$iÐ#hµ)¸GÑ2DÔ2DÐ#hÑ#hÔ#hÐ Ø#ð *å ð ð ð ð ð ð ð ñ!”ð ð"$Ð# DÑ)Ô)Ð)ð ð _Ý% gÑ.Ô.ð_ð_‘D�A�qÝ!/°´¸¼À1Ä7ÈMÈMÐZ[ÑL\ÔL\Ð0]Ñ!^Ô!^�G˜A‘J�Jõ & gÑ.Ô.ð 7ð 7‘��5Ø !Ð%9Ð 9� Ø$ð7Ø�I˜eœj¨%°Ñ7Ô7Ð7Ø�I˜eœj¨$°Ñ6Ô6Ð6øð × Ò  Ñ )Ô )Ð )ð #ð Hð HˆEÝ,6Ô,@ÀÑ,GÔ,GˆDŒL˜%œ* a˜Ñ )Ð )à ð GØ �JŠJÐ1EÐ-EˆJÑ FÔ FÐ FðÐrJcóœ—g}t|ttjf¦«r|g}|D]¢}t|tt t ff¦«r.| | |j ¦«¦«ŒSt|t¦«r)| | |¦«¦«Œ‘td|z¦«‚|S)z|Returns a list of repo-relative paths from the given items which may be absolute or relative paths, entries or blobszInvalid item type: %r) r rŒrTr:r$r r rƒr rcr)rMr r­rÏs rNÚ_items_to_rela_pathszIndexFile._items_to_rela_pathsosË€ð ˆå �e�c¥2¤;Ð/Ñ 0Ô 0ð Ø�GˆEàð @ð @ˆDݘ$¥µ$½ Ð1BÐ CÑDÔDð @Ø— ’ ˜T×3Ò3°D´IÑ>Ô>Ñ?Ô?Ð?Ð?ݘD¥#Ñ&Ô&ð @Ø— ’ ˜T×3Ò3°DÑ9Ô9Ñ:Ô:Ð:Ð:åÐ 7¸$Ñ >Ñ?Ô?Ð?àˆ rJÚ working_treec óö—g}|s| d¦«| d¦«| |¦«}|jjj||fi|¤Ž ¦«}d„|D¦«S)aÞRemove the given items from the index and optionally from the working tree as well. :param items: Multiple types of items are supported which may be be freely mixed. - path string Remove the given path at all stages. If it is a directory, you must specify the r=True keyword argument to remove all file entries below it. If absolute paths are given, they will be converted to a path relative to the git repository directory containing the working tree The path string may include globs, such as \*.c. - Blob Object Only the path portion is used in this case. - BaseIndexEntry or compatible type The only relevant information here Yis the path. The stage is ignored. :param working_tree: If True, the entry will also be removed from the working tree, physically removing the respective file. This may fail if there are uncommitted changes in it. :param kwargs: Additional keyword arguments to be passed to git-rm, such as 'r' to allow recursive removal of :return: List(path_string, ...) list of repository relative paths that have been removed effectively. This is interesting to know in case you have provided a directory or globs. Paths are relative to the repository.z--cachedz--có"—g|] }|dd…‘Œ S)ééÿÿÿÿr‹)r�Úps rNr�z$IndexFile.remove..ºs €Ð/Ð/Ð/˜A��!�B�$”Ð/Ð/Ð/rJ)rƒr;rAr„ÚrmÚ splitlines)rMr r<ržr†r­Ú removed_pathss rNÚremovezIndexFile.remove„s�€ðVˆØð $Ø �KŠK˜ Ñ #Ô #Ð #Ø � Š �DÑÔÐð×)Ò)¨%Ñ0Ô0ˆØ(˜œ œ Ô(¨¨uÐ?Ð?¸Ð?Ð?×JÒJÑLÔLˆ ð0Ð/ Ð/Ñ/Ô/Ð/rJÚ skip_errorsc ó—g}|r| d¦«| |¦«}t|¦«dkrtd¦«‚| d| dd¦«¦«}d|d<g}|jjj||fi|¤Ž ¦«}ttt|¦«dz ¦«t|¦«¦«D]n} ||   d¦«} t| ¦«dksJd || z¦«‚| | d d d…| d f¦«Œo|r|S| d¦«|jjj||fi|¤Ž|S) aMRename/move the items, whereas the last item is considered the destination of the move operation. If the destination is a file, the first item ( of two ) must be a file as well. If the destination is a directory, it may be preceded by one or more directories or files. The working tree will be affected in non-bare repositories. :parma items: Multiple types of items are supported, please see the 'remove' method for reference. :param skip_errors: If True, errors such as ones resulting from missing source files will be skipped. :param kwargs: Additional arguments you would like to pass to git-mv, such as dry_run or force. :return: List(tuple(source_path_string, destination_path_string), ...) A list of pairs, containing the source file moved as well as its actual destination. Relative to the repository root. :raise ValueError: If only one item was given :raise GitCommandError: If git could not handle your requestz-krFzLPlease provide at least one source and one destination of the move operationÚdry_runÚnNTz to zToo many tokens in %sré r) rƒr;r¢r£rrAr„ÚmvrCÚrangeÚintÚsplit) rMr rFržr†r­Ú was_dry_runÚoutÚmvlinesÚlnÚtokenss rNÚmovezIndexFile.move¼s›€ð>ˆØ ð Ø �KŠK˜Ñ Ô Ð à×)Ò)¨%Ñ0Ô0ˆÝ ˆu‰:Œ:˜Š>ˆ>ÝÐkÑlÔlÐ là—j’j ¨F¯JªJ°s¸DÑ,AÔ,AÑBÔBˆ Ø ˆˆyÑðˆØ"�$”)”-Ô" 4¨Ð9Ð9°&Ð9Ð9×DÒDÑFÔFˆõ��C ™LœL¨1Ñ,Ñ-Ô-­s°7©|¬|Ñ<Ô<ð 3ð 3ˆBؘR”[×&Ò& vÑ.Ô.ˆFÝ�v‘;”; !Ò#Ð#Ð#Ð%<¸wÀr¼{Ñ%JÑ#Ô#Ð#ð �JŠJ˜˜qœ  ! " "œ  v¨a¤yÐ1Ñ 2Ô 2Ð 2Ð 2ð ð ØˆJð � Š �9ÑÔÐØˆŒ Œ Ô˜˜uÐ/Ð/¨Ð/Ð/Ð/àˆ rJÚmessageÚparent_commitsÚheadÚauthor)Nr>Ú committerÚ author_dateÚ commit_dateÚ skip_hooksc óz—|sptd|¦«| |¦«td|| ¦«¦«| ¦«}| ¦«| ¦«} t j|j| |||||||¬¦ « } |std|¦«| S)aàCommit the current default index file, creating a commit object. For more information on the arguments, see Commit.create_from_tree(). :note: If you have manually altered the .entries member of this instance, don't forget to write() your changes to disk beforehand. Passing skip_hooks=True is the equivalent of using `-n` or `--no-verify` on the command line. :return: Commit object representing the new commitz pre-commitz commit-msg)rXrYrZr[z post-commit) r#Ú_write_commit_editmsgÚ_commit_editmsg_filepathÚ_read_commit_editmsgÚ_remove_commit_editmsgrrÚcreate_from_treerA) rMrUrVrWrXrYrZr[r\ÚtreerÛs rNr|zIndexFile.commitsÓ€ð&ð *Ý ˜L¨$Ñ /Ô /Ð /à × &Ò & wÑ /Ô /Ð /Ý ˜L¨$°×0MÒ0MÑ0OÔ0OÑ PÔ PÐ PØ×/Ò/Ñ1Ô1ˆGØ × 'Ò 'Ñ )Ô )Ð )Ø�ŠÑ Ô ˆÝÔ&Ø ŒIØ Ø Ø Ø ØØØ#Ø#ð  ñ  ô  ˆðð 1Ý ˜M¨4Ñ 0Ô 0Ð 0؈ rJcóÖ—t| ¦«d¦«5}| | t¦«¦«ddd¦«dS#1swxYwYdS)NÚwb)rUr_rzrÕr)rMrUÚcommit_editmsg_files rNr^zIndexFile._write_commit_editmsg+s €Ý �$×/Ò/Ñ1Ô1°4Ñ 8Ô 8ð >Ðð >ð >ñ >ô >ð >ð >ð >ð >ð >ð >ð >øøøð >ð >ð >ð >ð >ð >s£.AÁA"Á%A"cóR—tj| ¦«¦«dSrk)rTrEr_ras rNraz IndexFile._remove_commit_editmsg/s$€Ý Œ �$×/Ò/Ñ1Ô1Ñ2Ô2Ð2Ð2Ð2rJcóÒ—t| ¦«d¦«5}| ¦« t¦«cddd¦«S#1swxYwYdSr)rUr_ÚreadÚdecoder)rMrfs rNr`zIndexFile._read_commit_editmsg2s�€Ý �$×/Ò/Ñ1Ô1°4Ñ 8Ô 8ð =ÐÑ?Ô?Ð?rJú Popen[bytes]Ú ignore_stdoutcó—|j}|r(| ¦«| ¦«d}|s |jr|j ¦«}|jr-|j ¦«| ¦«|S)NrJ)rÔr×rXrØriÚwait)r˜rÍroÚstdin_IOrØs rNÚ_flush_stdin_and_waitzIndexFile._flush_stdin_and_wait9sŠ€Ø”:ˆØ ð Ø �NŠNÑ Ô Ð Ø �NŠNÑ Ô Ð àˆØð ( ¤ð (Ø”[×%Ò%Ñ'Ô'ˆFà Œ;ð Ø ŒK× Ò Ñ Ô Ð Ø �IŠI‰KŒKˆK؈ rJcó—dSrkr‹r's rNrpzIndexFile.Mr(rJc óP‡‡‡‡‡—dgŠ|r‰ d¦«gŠgŠgŠdddttddfˆˆˆfd„ }|€�‰ d ¦«d |d <|dd d¦«|jjj‰i|¤ŽŠ‰ ¦«|dd d¦«d„|j ¦«D¦«}|‰|¦«|St|t¦«r|g}|j‰ d¦«d |d <tj |d<|jjj‰fi|¤ŽŠˆˆfd„}g}|D�]} t| | ¦«¦«} d } |j| dfnµ#t$r¨t| ¦«} |  d¦«s| dz } |j ¦«D]b} t| j¦« | ¦«r9| j}| ‰||||d ¬¦«| |¦«d } ŒcYnwxYw| s0| ‰| | ||d ¬¦«| | ¦«�Œ! | ‰d ¬¦«n #t*$rt-d‰g‰¦«‚wxYw|‰|¦«|S)aCheckout the given paths or all files from the version known to the index into the working tree. :note: Be sure you have written pending changes using the ``write`` method in case you have altered the enties dictionary directly :param paths: If None, all paths in the index will be checked out. Otherwise an iterable of relative or absolute paths or a single path pointing to files or directories in the index is expected. :param force: If True, existing files will be overwritten even if they contain local modifications. If False, these will trigger a CheckoutError. :param fprogress: see :func:`IndexFile.add` for signature and explanation. The provided progress information will contain None as path and item if no explicit paths are given. Otherwise progress information will be send prior and after a file has been checked out :param kwargs: Additional arguments to be passed to git-checkout-index :return: iterable yielding paths to files which have been checked out and are guaranteed to match the version stored in the index :raise exc.CheckoutError: If at least one file failed to be checked out. This is a summary, hence it will checkout as many files as it can anyway. If one of files or directories do not exist in the index ( as opposed to the original git command who ignores them ). Raise GitCommandError if error lines could not be parsed - this truly is an exceptional state .. note:: The checkout is limited to checking out the files in the index. Files which are not in the index anymore and exist in the working tree will not be deleted. This behaviour is fundamentally different to *head.checkout*, i.e. if you want git-checkout like behaviour, use head.checkout instead of index.checkout. z--indexz--forcerÍrnÚiter_checked_out_filesrHNc óÈ•—|j}|sdS| ¦«}| t¦«}d}| ¦«D�]¼}| d¦«�sG| d¦«�s1d}d}d} | |¦«rA‰  |dt|¦« …¦«‰  |¦«nÓ| |¦«rS‰  |t|¦«|  d¦«…¦«‰  |¦«nk| | ¦«rA‰  |dt| ¦« …¦«‰  | ¦«n‰ |¦«�Œ`|D]Y} | | ¦«rB‰  |dt| ¦« …¦«‰  | ¦«nŒZ�Œ¾‰rtd d |¦«‚‰ r>tt|¦«t‰ ¦«z ¦«} td ‰ | ‰ ¦«‚dS) N)z already existsz is not in the cachez does not exist at stagez is unmergedzgit checkout-index: zgit-checkout-index: z is a directoryzunable to unlink old 'z already exists, no checkoutú'é©zgit-checkout-indexé€zMSome files could not be checked out from the index due to local modifications)ÚstderrrirjrrCrÚendswithrƒr¢ÚrfindrÚlistÚsetr )rÍrvÚ stderr_IOÚ stderr_bytesr|ÚendingsríÚis_a_dirÚ unlink_issueÚalready_exists_issueroÚ valid_filesÚ failed_filesÚfailed_reasonsÚ unknown_liness €€€rNÚ handle_stderrz)IndexFile.checkout..handle_stderr‚s�ø€Øœ ˆIØð 0Ø�tà(Ÿ~š~Ñ/Ô/� à!×(Ò(­Ñ0Ô0ˆFðˆGð ×)Ò)Ñ+Ô+ð ñ �Ø—’Ð'=Ñ>Ô>ñÀtÇÂÐWmÑGnÔGnñØ0�HØ#;�LØ+IÐ(Ø—}’} XÑ.Ô.ð 3Ø$×+Ò+¨DÐ1AµC¸±M´M°>Ð1AÔ,BÑCÔCÐCØ&×-Ò-¨hÑ7Ô7Ð7Ð7ØŸš¨Ñ6Ô6ð3Ø$×+Ò+¨Dµ°\Ñ1BÔ1BÀTÇZÂZÐPSÁ_Ä_Ð1TÔ,UÑVÔVÐVØ&×-Ò-¨lÑ;Ô;Ð;Ð;ØŸšÐ';Ñ<Ô<ð3Ø$×+Ò+¨DÐ1MµCÐ8LÑ4MÔ4MÐ3MÐ1MÔ,NÑOÔOÐOØ&×-Ò-Ð.BÑCÔCÐCÐCà%×,Ò,¨TÑ2Ô2Ð2Ùð!ðð�AØ—}’} QÑ'Ô'ðØ$×+Ò+¨D°µs¸1±v´v°g°Ô,>Ñ?Ô?Ð?Ø&×-Ò-¨aÑ0Ô0Ð0ؘðùðð LÝ%Ð&=¸sÀFÑKÔKÐKØð Ý"¥3Ð'=Ñ#>Ô#>ÅÀ\ÑARÔARÑ#RÑSÔS� Ý#ØcØ ØØ"ñ ôðð ð rJz--allrÚ as_processFTc3ó$K—|] }|jV—Œ dSrkrør‘s rNr’z%IndexFile.checkout..Às$èè€Ð?Ð? A˜œÐ?Ð?Ð?Ð?Ð?Ð?rJz--stdinrcót•—tdt‰¦«zd‰j ¦«¦«S)Nrzr{)rÚtupler|ri)r†rÍs€€rNrpz$IndexFile.checkout..Ñs0ø€�Ð/FÍÈtÉÌÑ/TÐVYÐ[_Ô[f×[kÒ[kÑ[mÔ[mÑnÔn€rJrú/)rÒ)rozWSome files could not be checked out from the index, probably because they didn't exist.)rƒr0r:rAr„Úcheckout_indexrqrCrsr rŒÚ subprocessÚPIPErr rñr}rcrrÜrsrr )rMr­r)rÑržr‹Ú rval_iterÚmake_excÚchecked_out_filesrcÚco_pathÚpath_is_directoryÚfolderrãrAr†rˆr‰rÍrŠs @@@@@rNÚcheckoutzIndexFile.checkoutHsuøøøøø€ðdˆ{ˆØ ð #Ø �KŠK˜ Ñ "Ô "Ð "àˆ ØˆØˆ ð3  ð3 ÍÕQYÔHZð3 Ð_cð3 ð3 ð3 ð3 ð3 ð3 ð3 ð3 ðn ˆ=Ø �KŠK˜Ñ Ô Ð Ø#$ˆF�<Ñ Ø ˆI�d˜E 4Ñ (Ô (Ð (Ø/�4”9”=Ô/°Ð@¸Ð@Ð@ˆDØ �IŠI‰KŒKˆKØ ˆI�d˜D $Ñ 'Ô 'Ð 'Ø?Ð?¨¬×)<Ò)<Ñ)>Ô)>Ð?Ñ?Ô?ˆIØ ˆM˜$  Ñ *Ô *Ð *ØÐ å˜%¥Ñ%Ô%ð Ø˜�ð ŒLˆLà �KŠK˜ Ñ "Ô "Ð "Ø#'ˆF�<Ñ Ý *¤ˆF�9Ñ Ø/�4”9”=Ô/°Ð?Ð?¸Ð?Ð?ˆDànÐnÐnÐnÐnˆHØ02Ð àð 6ñ 6�Ý.¨t×/EÒ/EÀdÑ/KÔ/KÑLÔL�à$)Ð!ð 5Ø”L '¨1 Ô.Ð.Ð.øÝð 5ð 5ð 5Ý  ™\œ\�FØ!Ÿ?š?¨3Ñ/Ô/ð&Ø #™ ˜Ø!%¤×!4Ò!4Ñ!6Ô!6ð5ð5˜Ý˜uœz™?œ?×5Ò5°fÑ=Ô=ð5Ø %¤ ˜AØ ×5Ò5°d¸A¸qÀ(ÈIÐhmÐ5ÑnÔnÐnØ-×4Ò4°QÑ7Ô7Ð7Ø04Ð-øð 5ð5ð 5øøøð)ð6Ø×-Ò-¨d°G¸TÀ8ÈYÐinÐ-ÑoÔoÐoØ%×,Ò,¨WÑ5Ô5Ð5ùð Ø×*Ò*¨4¸tÐ*ÑDÔDÐDÐDøÝ"ð ð ð å#ØmØ ØØ"ñ ôðð øøøð ˆM˜$Ð 1Ñ 2Ô 2Ð 2Ø$Ð $sÅ(E8Å8B/H*È)H*É"I:É:JÚHEADr|r=c ó"—t|¦« |j|¦«}|s |j|_nl|j}|D]b}| |¦«} t |d¦«} || |j| <Œ9#t $r |j| =n#t $rYnwxYwYŒ_wxYw| ¦«|r| |d¬¦«|r<|jj   |j  |¦«d|z¬¦«|S)aäReset the index to reflect the tree at the given commit. This will not adjust our HEAD reference as opposed to HEAD.reset by default. :param commit: Revision, Reference or Commit specifying the commit we should represent. If you want to specify a tree only, use IndexFile.from_tree and overwrite the default index. :param working_tree: If True, the files in the working tree will reflect the changed index. If False, the working tree will not be touched Please note that changes to the working copy will be discarded without warning ! :param head: If True, the head will be set to the given commit. This is False by default, but if True, this method behaves like HEAD.reset. :param paths: if given as an iterable of absolute or repository-relative paths, only these will be reset to their state at the given commit'ish. The paths need to exist at the commit, otherwise an exception will be raised. :param kwargs: Additional keyword arguments passed to git-reset .. note:: IndexFile.reset, as opposed to HEAD.reset, will not delete anyfiles in order to maintain a consistent working tree. Instead, it will just checkout the files according to their state in the index. If you want git-reset like behaviour, use *HEAD.reset* instead. :return: selfrT)r­r)z%s: Updating HEAD)Úlogmsg) rr¬rArCr rrñrzršrWÚ set_commitr|) rMr|r<r­rWržÚnew_instÚniercrqs rNÚresetzIndexFile.resetýsI€õV˜‘:”:×'Ò'¨¬ °6Ñ:Ô:ˆØð Ø#Ô+ˆDŒLˆLàÔ"ˆCØð ð �Ø×-Ò-¨dÑ3Ô3�ðÝ# D¨!Ñ,Ô,�CØ(+¨C¬�D”L Ñ%Ð%øÝððððØ œL¨Ð-Ð-øÝ#ðððØ˜ðøøøøøð øøøð � Š ‰ Œ ˆ à ð 3Ø �MŠM ¨TˆMÑ 2Ô 2Ð 2ð ð eØ ŒIŒN× %Ò % d¤i×&6Ò&6°vÑ&>Ô&>ÐGZÐ]cÑGcÐ %Ñ dÔ dÐ dðˆ s6Á A:Á: B!ÂB B! BÂB!ÂBÂB! B!ÚotherrrÚ create_patchc ó•—|j| ¦«kr$td| ¦«z¦«‚||jurt j¦«St|t¦«r|j   |¦«}t|t¦«r1|  dd¦«}| |d<|j|j||fi|¤ŽS|�td|z¦«‚tt|¦«j|||fi|¤ŽS)aCDiff this index against the working copy or a Tree or Commit object For a documentation of the parameters and return values, see, Diffable.diff :note: Will only work with indices that represent the default git index as they have not been initialized with a stream. zECannot call %r on indices that do not represent the default git indexÚRFNz˜Vð>¨wð>À#ð>È+ð>ð>ð>ñ„[ð>ðDð4/ ð4/°X¸hÔ5Gð4/ÈHÐU]ÔL^ð4/ð4/ð4/ñ„[ð4/ð~"&ð&ð&àð&ðð&ðð &ð ˜3 ˜=Ô)ð &ð ˜X t¨XÐ6¸Ð<Ô=ð &ðð&ð ˆt�SˆyÔ ð&ð&ð&ð&ðRESÀNððØ! 5¨°D¨Ô#9Ð":¸DÐ"@ÔAðà �%˜  4˜Ô(Ô )ððððð$  X¨t°E¸)ÀT¸/Ô4JÔ/KÐ%KÔ Lððððð.ð!˜u ^°X¸yÐ%HÔIð!ÈeÐT\Ð^gÐTgÔNhð!ð!ð!ñ„[ð!ð!¨°¬ð!¸;ð!ð!ð!ð!ðF ð ð ð ð˜Dððððð2 à�5˜Ð1°4Ð8QÔ3RÐRÔSÔTð ð ˆe�CÐ,¨dÐ3LÔ.MÐMÔNÔ Oð ð ð ð ð A hð A°8ð Að Að Að Aðؘe H¨d°NÀKÐ$OÔPÔQðà ˆt�HŒ~˜t NÔ3Ð3Ô 4ððððð,  Hð ¸ð Ànð ð ð ð ð,Øð%à�CŒyð%ð ð%ðð %ð �nÔ%ð %ð ˆnÔ ð %ð%ð%ñ„_ñ„[ð%ðTØ0Ð0Ø>BØØ%*ðvðvà˜˜h¨¨n¸kÐIÔJÔKðvððvðð vð ˜X c¨8 mÔ4°dÐ:Ô;ð vð ð vð#ðvð ˆnÔ ðvðvðvðvðpà�X˜x¨¨h¸ÈÈiÐ.WÔ(XÔYÐYÔZðð ˆhŒððððð*Øð#ð40ð40à˜˜h¨¨n¸kÐIÔJÔKð40ðð40ðð 40ð ˆcŒð 40ð40ð40ñ„]ñÔð40ðlØð"ðAðAà˜˜h¨¨n¸kÐIÔJÔKðAððAðð Að ˆe�C˜�HŒoÔ ð AðAðAñ„]ñÔðAðL37ØØ'+Ø*.Ø;?Ø;?Ø ð(ð(àð(ð˜j¨$Ð.Ô/ð(ðð (ð �mÔ$ð (ð ˜Ô'ð (ð˜8Ô,¨c°4Ð7Ô8ð(ð˜8Ô,¨c°4Ð7Ô8ð(ðð(ð ð(ð(ð(ð(ðT>¨Sð>°Tð>ð>ð>ð>ð3ð3ð3ð3ð= cð=ð=ð=ð=ð@¨#ð@ð@ð@ð@ð ð ¨ð Èð ÐY^ð ð ð ð ðð26ØØ0Ð0ð q%ðq%à�T˜8 HÔ-Ð-Ô.ðq%ððq%ðð q%ð ð q%ð ˆt�X˜hÔ'¨°(Ô);Ð;Ô <ð q%ðq%ðq%ñ„]ðq%ðhð39Ø"Ø15Øð HðHà�f˜k¨3Ð.Ô/ðHððHð�T˜8 HÔ-Ð-Ô.ð Hð ð Hð ð Hð ðHðHðHñ„]ðHðZV^ÔUfÔUlØMQØ"ð +Qð+Qà�TÐ3Ô4°f¸hÈÈTÐQÔRð+Qð�X˜t Hœ~¨u°X¸s°]Ô/CÀTÐIÔJð+Qðð +Qð ð +Qð Ô ð +Qð+Qð+Qð+Qð+Qð+Qð+Qð+Qð+Qð+QrJr?)]Ú contextlibrr·rÀÚiorrTr!rr’r¥Ú git.compatrrÚgit.excrr r r Ú git.objectsr r rrrÚgit.objects.utilrÚgit.utilrrrrrrrÚ gitdb.baserÚgitdb.dbrÚgit.diffr§r©Úos.pathrcr¹Úfunrrrrr r!r"r#Útypr$r%r&Úutilr'r(r)r*Útypingr+r,r-r.r/r0r1r2r3r4r5r6r7r8Ú git.typesr9r:r;Úgit.repor<Úgit.refs.referencer=r>rŒr¸rµÚ__all__r¹r?r‹rJrNúrÎsìðð!РРРРР؀€€Ø € € € ØÐÐÐÐÐØ € € € ØÐÐÐÐÐØÐÐÐØ€€€ðððððððððXÐWÐWÐWÐWÐWÐWÐWÐWÐWÐWÐWððððððððððððððð*Ð)Ð)Ð)Ð)Ð)ðððððððððððððððððððÐÐÐÐÐØÐÐÐÐÐàÐÐÐÐÐØÐÐÐÐÐð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ððððððððððð VÐUÐUÐUÐUÐUÐUÐUÐUÐUÐUÐUððððððððððððððððððððððððððððððððð"+Ð*Ð*Ð*Ð*Ð*Ð*Ð*àðØ Ð Ð Ð Ð Ð ØÐÐÐÐÐØ,Ð,Ð,Ð,Ð,Ð,ØÐÐÐÐÐð ��f˜c 5Ð(Ô )€ð 6€ðSQðSQðSQðSQðSQ� ˜8Ô,¨lñSQôSQðSQðSQðSQrJ