-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
Ì\,Tc @ 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
( ( s/ /usr/lib/python2.7/dist-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( ( s/ /usr/lib/python2.7/dist-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]"