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 : /lib64/python2.7/site-packages/hgext/ |
Upload File : |
� Hq�Qc @ s d Z d d l m Z d d l m Z m Z d d l m Z m Z m Z m Z m Z d d l Z d d l Z d d l Z d d l m Z d Z d Z e j e d � r� e j e � n d Z d Z d e f d � � YZ d e f d � � YZ d d d � Z d S( s: hooks for integrating with the CIA.vc notification service This is meant to be run as a changegroup or incoming hook. To configure it, set the following options in your hgrc:: [cia] # your registered CIA user name user = foo # the name of the project in CIA project = foo # the module (subproject) (optional) #module = foo # Append a diffstat to the log message (optional) #diffstat = False # Template to use for log messages (optional) #template = {desc}\n{baseurl}{webroot}/rev/{node}-- {diffstat} # Style to use (optional) #style = foo # The URL of the CIA notification service (optional) # You can use mailto: URLs to send by email, e.g. # mailto:cia@cia.vc # Make sure to set email.from if you do this. #url = http://cia.vc/ # print message instead of sending it (optional) #test = False # number of slashes to strip for url paths #strip = 0 [hooks] # one of these: changegroup.cia = python:hgcia.hook #incoming.cia = python:hgcia.hook [web] # If you want hyperlinks (optional) baseurl = http://server/path/to/repo i����( t _( t bint short( t cmdutilt patcht templatert utilt mailN( t saxutilst internali t setdefaulttimeouts 0.1s$ http://hg.kublai.com/mercurial/hgciat ciamsgc B sS e Z d Z d � Z d � Z d � Z d d d � Z d � Z d � Z d � Z RS( s A CIA message c C sF | | _ | | _ | j j | _ | j rB | j | j j 7_ n d S( N( t ciat ctxt urlt root( t selfR R ( ( s1 /usr/lib64/python2.7/site-packages/hgext/hgcia.pyt __init__A s c C s? | r d t j | � } n d | t j | � t j | � f S( Ns uri=%ss <file%s action=%s>%s</file>( R t quoteattrt escape( R t patht urit action( ( s1 /usr/lib64/python2.7/site-packages/hgext/hgcia.pyt fileelemH s c C sL | j j � } | j j j | j j � j � | � } | j pB d } | rh | d d k rh | d } n g } xM | d D]A } d | t | � | f } | j | j | | o� | d � � qy WxM | d D]A } d | t | � | f } | j | j | | o | d � � q� Wx. | d D]"