403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/mercurial/admin/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/mercurial/admin/__pycache__/chainsaw.cpython-313.pyc
�

6�hg��(�SrSSKJr SSKrSSKJr SSKJrJrJ	r	J
r
Jr SSKJ
r
 0r\R"\5r\"SS	S
S\"S54S	S
S\"S54S	SS	\"S54S	SS	\"S54S	SS	\"S54S	SS\"S54/\"S5SSS9S5rg)a'chainsaw is a collection of single-minded and dangerous tools. (EXPERIMENTAL)

  "Don't use a chainsaw to cut your food!"

The chainsaw is a collection of commands that are so much geared towards a
specific use case in a specific context or environment that they are totally
inappropriate and **really dangerous** in other contexts.

The help text of each command explicitly summarizes its context of application
and the wanted end result.

It is recommended to run these commands with the ``HGPLAIN`` environment
variable (see :hg:`help scripting`).
�)�annotationsN�)�_)�cmdutil�commands�error�	localrepo�	registrar)�urlutilsadmin::chainsaw-update�s
purge-unknownTsxRemove unversioned files before update. Disabling this can in some cases interfere with the update.See also :hg:`purge`.s
purge-ignoreds|Remove ignored files before update. Disable this for instance to reuse previous compiler object files. See also :hg:`purge`.srevsrevision to update tossourcesrepository to clone fromsdests.repository to update to REV (possibly cloning)sinitial-clone-minimalFs�Pull only the prescribed revision upon initial cloning. This has the side effect of ignoring clone-bundles, which if often slower on the client side and stressful to the server than applying available clone bundles.sHhg admin::chainsaw-update [OPTION] --rev REV --source SOURCE --dest DEST)�	helpbasic�norepoc��USnUSnUSnU(d[R"[S55eU(d[R"[S55eU(d[R"[S55e[R"U5n[
R"XSS9nSnUR[S	U-55 URRS5(aUR[S55 URRS5(aUR[S55 UR5 UR!5 UR[S55 UR#5 UR[S5U-5 U(aUR%S5(d/nOU/nSS
0nUR&R)US5 [*R,"S[.R05SSn	U	"UR&UUUSS9n
U
(aU
sSSS5 sSSS5 sSSS5 $SSS5 [*R,"S[.R05SSnU"UUS
UR%S5UR%S5SS9n
U
(aU
sSSS5 sSSS5 $UR[S 5U-5 [*R,"S![.R05SSnU"XUS
S"9n
U
(aU
sSSS5 sSSS5 $UR[S#5X%R24-5 SSS5 SSS5 g![Ra� [R"U5 UR[S
U-55 O-![a  UR[SU-55 Of=fUR[SU-55 [
R"XS
S9nS
nGNMf=f!,(df   GN�=f!,(df   N�=f!,(df   g=f)$aupull and update to a given revision, no matter what, (EXPERIMENTAL)

Context of application: *some* Continuous Integration (CI) systems,
packaging or deployment tools.

Wanted end result: local repository at the given REPO_PATH, having the
latest changes to the given revision and with a clean working directory
updated at the given revision.

chainsaw-update pulls from one source, then updates the working directory
to the given revision, overcoming anything that would stand in the way.

By default, it will:

- clone if the local repo does not exist yet, **removing any directory
  at the given path** that would not be a Mercurial repository.
  The initial clone is full by default, so that clonebundles can be
  applied. Use the --initial-clone-minimal flag to avoid this.
- break locks if needed, leading to possible corruption if there
  is a concurrent write access.
- perform recovery actions if needed
- revert any local modification.
- purge unknown and ignored files.
- go as far as to reclone if everything else failed (not implemented yet).

DO NOT use it for anything else than performing a series
of unattended updates, with full exclusive repository access each time
and without any other local work than running build scripts.
In case the local repository is a share (see :hg:`help share`), exclusive
write access to the share source is also mandatory.

It is recommended to run these commands with the ``HGPLAIN`` environment
variable (see :hg:`scripting`).

Motivation: in Continuous Integration and Delivery systems (CI/CD), the
occasional remnant or bogus lock are common sources of waste of time (both
working time and calendar time). CI/CD scripts tend to grow with counter-
measures, often done in urgency. Also, whilst it is neat to keep
repositories from one job to the next (especially with large
repositories), an exceptional recloning is better than missing a release
deadline.
�rev�source�dests$specify a target revision with --revs!specify a pull path with --sourcesspecify a repo path with --destF)�createsloaded repository at "%s"
s0removed non-repository file or directory at "%s"sno such directory: "%s"
screating repository at "%s"
Tslockshad to break store lock
swlockshad to break working copy lock
s1recovering after interrupted transaction, if any
spulling from %s
�initial_clone_minimal)suisquietschainsaw-updatespull�r)r�
remote_hiddenNspurge�
purge_ignored�
purge_unknown)�dirs�all�files�confirmsupdating to revision '%s'
supdate)r�cleans=chainsaw-update to revision '%s' for repository at '%s' done
)r�
InputErrorrr�urllocalpathr	�instance�status�	RepoError�shutil�rmtree�FileNotFoundError�svfs�	tryunlink�vfs�wlock�lock�recover�get�ui�configoverrider�findcmdr�table�root)
r-�optsrr�	repo_path�repo�repo_created�	pull_revs�	overrides�pull�ret�purge�updates
             �:/usr/lib/python3/dist-packages/mercurial/admin/chainsaw.pyr;r;*s���L�u�+�C�
�(�^�F��V��I�����q�!H�I�J�J�����q�!E�F�G�G�����q�!C�D�E�E��$�$�Y�/�I���!�!�"��>����
�	�	�!�2�Y�>�?�@�$�y�y���7�#�#�
�	�	�!�0�1�2��x�x���(�#�#�
�	�	�!�7�8�9�
����t�y�y�{�
�	�	�!�I�J�K�����
�	�	�!�(�)�F�2�3�����)@� A� A��I���I�&��-�	�
�W�W�
#�
#�I�/A�
B��?�?�7�H�N�N�;�A�>�q�A�D��������#��C���C�
B�#�{���&�C�����(�.�.�9�!�<�Q�?����������)��(�(�?�+��

����A#�{���D	�	�	�!�4�5��;�<�����H�N�N�;�A�>�q�A���R�3�d�3����M#�{���P	�	�	�
�3�
��I�I��	
�	
�Q#����/�?�?��
	��M�M�)�$�
�I�I���!*�+��
��!�	C��I�I�a�4�y�@�A�B�	C��	�	�	�!�4�y�@�A�B��!�!�"��=������BC�
B��#�{����s��4M-�Q�"BP0�-AP�5	P0�>	Q�A$P0�6	Q�	AP0�!	Q�4(P0�Q�-P�N6�P�6'O �P�O � 7P�P�
P-�(P0�0
P>	�:Q�
Q)�__doc__�
__future__rr#�i18nr�rrrr	r
�utilsr�cmdtable�commandr;�rr<�<module>rEs��
�#�
�������
�
�
�H�
%��	��
���
�)�
�			
�
���
�)�
�			
�
���
�&�'�		
�
���
�)�*�		
�
���
�?�@�		
�
�$��
�H�
�	
	
�O2�f�S����s:�v
�w:�v
r

Youez - 2016 - github.com/yon3zu
LinuXploit