§ |<ˆj.ãóø—dZddlmZddlTddlmZddlmZddlmZm Z m Z m Z m Z ddl mZe rddlmZGd „d e¦«ZGd „d e¦«ZGd „de¦«ZGd„dee¦«ZGd„de¦«ZGd„de¦«ZGd„de¦«ZGd„de¦«ZGd„de¦«ZGd„de¦«ZGd„de¦«ZGd„d e¦«ZGd!„d"e¦«ZGd#„d$e¦«Z d%S)&zE Module containing all exceptions thrown throughout the git package, é)ÚBadName)Ú*©Ú safe_decode)Úremove_password_if_present)ÚListÚSequenceÚTupleÚUnionÚ TYPE_CHECKING)ÚPathLike)ÚRepocó—eZdZdZdS)ÚGitErrorz%Base class for all package exceptionsN©Ú__name__Ú __module__Ú __qualname__Ú__doc__©óúY/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/git/exc.pyrrs€€€€€Ø/Ð/Ð/Ð/rrcó—eZdZdZdS)ÚInvalidGitRepositoryErrorzAThrown if the given repository appears to have an invalid format.Nrrrrrrs€€€€€ØKÐKÐKÐKrrcó—eZdZdZdS)ÚWorkTreeRepositoryUnsupportedz9Thrown to indicate we can't handle work tree repositoriesNrrrrrr s€€€€€ØCÐCÐCÐCrrcó—eZdZdZdS)ÚNoSuchPathErrorz3Thrown if a path could not be access by the system.Nrrrrrr$s€€€€€Ø=Ð=Ð=Ð=rrcó—eZdZdZdS)ÚUnsafeProtocolErrorzGThrown if unsafe protocols are passed without being explicitly allowed.Nrrrrr r (s€€€€€ØQÐQÐQÐQrr có—eZdZdZdS)ÚUnsafeOptionErrorzEThrown if unsafe options are passed without being explicitly allowed.Nrrrrr"r",s€€€€€ØOÐOÐOÐOrr"c ó¬—eZdZdZdZ d deeeeedfefdeee de fdee edfdee edfd df d „Z d efd „Z dS) Ú CommandErrorzŸBase class for exceptions thrown at every stage of `Popen()` execution. :param command: A non-empty list of argv comprising the command-line. zCmd('%s') failed%sNÚcommand.ÚstatusÚstderrÚstdoutÚreturncó—t|ttf¦«s| ¦«}t |¦«|_||_|r­t|t¦«r5t|¦«j ›dtt|¦«¦«›d�}nc dt|¦«z}nO#ttf$r;tt|¦«¦«}t|t¦«rd|zn|}YnwxYwt|jd¦«|_d d„|jD¦«¦«|_|rd|zpd |_t|¦«}t|¦«}|rd |zpd |_|rd |zpd |_dS) Nz('z')z exit code(%s)z'%s'rú c3ó4K—|]}t|¦«V—ŒdS©Nr)Ú.0Úis rú z(CommandError.__init__..Rs(èè€Ð FÐ F°A¥¨Q¡¤Ð FÐ FÐ FÐ FÐ FÐ Frz due to: %sú!z stdout: '%s'Úz stderr: '%s')Ú isinstanceÚtupleÚlistÚsplitrr%r&Ú ExceptionÚtyperrÚstrÚintÚ ValueErrorÚ TypeErrorÚ_cmdÚjoinÚ_cmdlineÚ_causer(r')Úselfr%r&r'r(ÚsÚ stdout_decodeÚ stderr_decodes rÚ__init__zCommandError.__init__<s”€õ˜'¥E­4 =Ñ1Ô1ð &Ø—m’m‘o”oˆGÝ1°'Ñ:Ô:ˆŒ ؈Œ Ø ð Jݘ&¥)Ñ,Ô,ð JÝ'+¨F¡|¤|Ô'<Ð'<Ð'<½kÍ#ÈfÉ+Ì+Ñ>VÔ>VÐ>VÐ>VÐW��ðJØ,­s°6©{¬{Ñ:�F�FøÝ"¥IÐ.ðJðJðJÝ#¥C¨¡K¤KÑ0Ô0�AÝ+5°f½cÑ+BÔ+BÐI˜V a™Z˜ZÈ�F�F�FðJøøøõ  ¤ ¨Q¤Ñ0Ô0ˆŒ ØŸšÐ FÐ F¸¼Ð FÑ FÔ FÑFÔFˆŒ ØÐ7 °Ñ!7Ð>¸3ˆŒ Ý# FÑ+Ô+ˆ Ý# FÑ+Ô+ˆ Ø#ÐJÐ(:¸]Ñ(JÐPÈbˆŒ Ø#ÐJÐ(:¸]Ñ(JÐPÈbˆŒ ˆ ˆ sÂB,Â,A C8Ã7C8cóX—|jdz|j|j|j|j|jfzS)Nz cmdline: %s%s%s)Ú_msgr=r@r?r(r'©rAs rÚ__str__zCommandError.__str__Ys5€Ø” Ð1Ñ1Ø ŒIØ ŒKØ ŒMØ ŒKØ ŒKð 6 ñ ð r©NNN)rrrrrGr rr9r r:r7ÚbytesrErIrrrr$r$0sÜ€€€€€ððð €Dð 48Ø*.Ø*.ð QðQà�t˜C”y %¨¨S¨¤/°3Ð6Ô7ðQð�c˜3  iÐ/Ô0ðQð�e˜S $Ð&Ô'ð Qð �e˜S $Ð&Ô'ð Qð ð QðQðQðQð: ˜ð ð ð ð ð ð rr$cój‡—eZdZdZdeeeeeefdeeefddfˆfd„ Z ˆxZ S)ÚGitCommandNotFoundzˆThrown if we cannot find the `git` executable in the PATH or at the path given by the GIT_PYTHON_GIT_EXECUTABLE environment variabler%Úcauser)Ncóh•—tt|¦« ||¦«d|_dS)NzCmd('%s') not found%s)ÚsuperrMrErG)rAr%rNÚ __class__s €rrEzGitCommandNotFound.__init__gs/ø€Ý Õ  $Ñ'Ô'×0Ò0°¸%Ñ@Ô@Ð@Ø+ˆŒ ˆ ˆ r) rrrrr rr9r r7rEÚ __classcell__©rQs@rrMrMcs}ø€€€€€ð:ð:ð,  d¨3¤i°°s´¸SÐ&@Ô Að,È%ÐPSÐU^ÐP^ÔJ_ð,Ðdhð,ð,ð,ð,ð,ð,ð,ð,ð,ð,rrMc 󦇗eZdZdZ d deeeeedfefdeeede fdee edfdee edfddf ˆfd „ Z ˆxZ S) ÚGitCommandErrorzGThrown if execution of the git command fails with non-zero status code.Nr%.r&r'r(r)có^•—tt|¦« ||||¦«dSr-)rPrUrE©rAr%r&r'r(rQs €rrEzGitCommandError.__init__os/ø€õ �o˜tÑ$Ô$×-Ò-¨g°v¸vÀvÑNÔNÐNÐNÐNrrJ© rrrrr rr9r r:r7rKrErRrSs@rrUrUlsÑø€€€€€ØQÐQð 48Ø*.Ø*.ð OðOà�t˜C”y %¨¨S¨¤/°3Ð6Ô7ðOð�c˜3  iÐ/Ô0ðOð�e˜S $Ð&Ô'ð Oð �e˜S $Ð&Ô'ð Oð ð OðOðOðOðOðOðOðOðOðOrrUc ó^—eZdZdZdedeedeedeeddf d„Zdefd „Z dS) Ú CheckoutErroraThrown if a file could not be checked out from the index as it contained changes. The .failed_files attribute contains a list of relative paths that failed to be checked out as they contained changes that did not exist in the index. The .failed_reasons attribute contains a string informing about the actual cause of the issue. The .valid_files attribute contains a list of relative paths to files that were checked out successfully and hence match the version stored in the indexÚmessageÚ failed_filesÚ valid_filesÚfailed_reasonsr)Ncóf—t ||¦«||_||_||_dSr-)r7rEr\r^r])rAr[r\r]r^s rrEzCheckoutError.__init__‡s8€õ ×Ò˜4 Ñ)Ô)Ð)Ø(ˆÔØ,ˆÔØ&ˆÔÐÐrcóL—t |¦«d|jzzS)Nz:%s)r7rIr\rHs rrIzCheckoutError.__str__”s#€Ý× Ò  Ñ&Ô&¨°Ô1BÑ)BÑBÐBr) rrrrr9r r rrErIrrrrZrZys’€€€€€ð  ð  ð 'àð 'ð˜xÔ(ð 'ð˜hÔ'ð 'ð ˜Sœ ð 'ð ð 'ð 'ð 'ð 'ðC˜ðCðCðCðCðCðCrrZcó—eZdZdZdS)Ú CacheErrorzNBase for all errors related to the git index, which is called cache internallyNrrrrrbrb˜s€€€€€àXÐXÐXÐXrrbcó—eZdZdZdS)ÚUnmergedEntriesErrorzZThrown if an operation cannot proceed as there are still unmerged entries in the cacheNrrrrrdrd�s€€€€€ððððrrdc 󤇗eZdZdZ d deeeeedfefdeeede fdee edfdee edfddf ˆfd „ Z ˆxZ S) ÚHookExecutionErrorz…Thrown if a hook exits with a non-zero exit code. It provides access to the exit code and the string returned via standard outputNr%.r&r'r(r)cól•—tt|¦« ||||¦«d|_dS)NzHook('%s') failed%s)rPrfrErGrWs €rrEzHookExecutionError.__init__¦s5ø€õ Õ  $Ñ'Ô'×0Ò0°¸&À&È&ÑQÔQÐQØ)ˆŒ ˆ ˆ r)NNrXrSs@rrfrf¢sÂø€€€€€ððð+/Ø*.ð *ð *à�t˜C”y %¨¨S¨¤/°3Ð6Ô7ð *ð�c˜3  iÐ/Ô0ð *ð�e˜S $Ð&Ô'ð *ð �e˜S $Ð&Ô'ð *ð ð *ð *ð *ð *ð *ð *ð *ð *ð *ð *rrfcó2—eZdZdZdddeddfd„Zdefd„ZdS) ÚRepositoryDirtyErrorzjThrown whenever an operation on a repository fails as it has uncommitted changes that would be overwrittenÚreporr[r)Ncó"—||_||_dSr-©rjr[)rArjr[s rrEzRepositoryDirtyError.__init__µs€ØˆŒ ؈Œ ˆ ˆ rcó&—d|j›d|j›�S)Nz!Operation cannot be performed on z: rlrHs rrIzRepositoryDirtyError.__str__¹s€€Ø<@¼I¸I¸IÀtÄ|À|ÐTÐTr)rrrrr9rErIrrrriri²se€€€€€ØtÐtð˜Vð¨cð°dðððððU˜ðUðUðUðUðUðUrriN)!rÚ gitdb.excrÚ git.compatrÚgit.utilrÚtypingrr r r r Ú git.typesr Ú git.repo.baserr7rrrÚOSErrorrr r"r$rMrUrZrbrdrfrirrrúrusDðð LÐKàÐÐÐÐÐØÐÐÐØ"Ð"Ð"Ð"Ð"Ð"Ø/Ð/Ð/Ð/Ð/Ð/ð?Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>Ð>ØÐÐÐÐÐàð#Ø"Ð"Ð"Ð"Ð"Ð"ð 0ð0ð0ð0ð0ˆyñ0ô0ð0ðLðLðLðLðL ñLôLðLðDðDðDðDðDÐ$=ñDôDðDð>ð>ð>ð>ð>�h ñ>ô>ð>ðRðRðRðRðR˜(ñRôRðRðPðPðPðPðP˜ñPôPðPð0 ð0 ð0 ð0 ð0 �8ñ0 ô0 ð0 ðf,ð,ð,ð,ð,˜ñ,ô,ð,ð Oð Oð Oð Oð O�lñ Oô Oð OðCðCðCðCðC�HñCôCðCð>YðYðYðYðY�ñYôYðYð ðððð˜:ñôðð *ð *ð *ð *ð *˜ñ *ô *ð *ð UðUðUðUðU˜8ñUôUðUðUðUr