KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/hgext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/hgext/interhg.pyo
�
Hq�Qc@s�dZddlZddlmZddlmZmZddlmZdZ	gZ
d�Zd�Zej
ejd	e�dS(
s�expand expressions into changelog and summaries

This extension allows the use of a special syntax in summaries, which
will be automatically expanded into links or any other arbitrary
expression, much like InterWiki does.

A few example patterns (link to bug tracking, etc.) that may be used
in your hgrc::

  [interhg]
  issues = s!issue(\d+)!<a href="http://bts/issue\1">issue\1</a>!
  bugzilla = s!((?:bug|b=|(?=#?\d{4,}))(?:\s*#?)(\d+))!<a..=\2">\1</a>!i
  boldify = s!(^|\s)#(\d+)\b! <b>#\2</b>!
i����N(t	hgweb_mod(ttemplatefilterst
extensions(t_tinternalcs-tjd��fd�}|tjd<dS(Ntescapecs9�|�}x&tD]\}}|j||�}qW|S(N(t
interhg_tabletsub(txtescstrtregexptformat(torig_escape(s3/usr/lib64/python2.7/site-packages/hgext/interhg.pytinterhg_escape&s(Rtfilters(tuiR
((Rs3/usr/lib64/python2.7/site-packages/hgext/interhg.pytuisetup#s
cOs�gt(x||jjjd�D]e\}}|d}tj|�}tjd|||f|�}|s�|jjjtd�||f�qntj	d|�}	|	j
||jd��}
|	j
||jd��}|jd�}d}
|rx(|j�D]}|
tj
|O}
qWny)tj	|
|
�}
tj|
|f�Wqtjk
r�|jjjtd	�||
f�qXqW||||�S(
Ntinterhgis1^s%s(.+)(?:(?<=\\\\)|(?<!\\))%s(.*)%s([ilmsux])*$s$interhg: invalid pattern for %s: %s
s(?<!\\)\\%siiis#interhg: invalid regexp for %s: %s
(RtrepoRtconfigitemstreRtmatchtwarnRtcompileRtgrouptuppert__dict__tappendterror(torigtselftargstkwargstkeytpatterntunesctdelimRtdelim_reR
Rtflagintflagstflag((s3/usr/lib64/python2.7/site-packages/hgext/interhg.pytinterhg_refresh.s2"
	trefresh(t__doc__Rtmercurial.hgwebRt	mercurialRRtmercurial.i18nRt
testedwithRRR)twrapfunctionthgweb(((s3/usr/lib64/python2.7/site-packages/hgext/interhg.pyt<module>s		%

Anon7 - 2021