Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / avahiserve

Avahi mercurial extension. Works only on Linux.

Clone this repository (size: 23.4 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/avahiserve
hg clone ssh://hg@bitbucket.org/nolith/avahiserve

avahiserve / aserve / __init__.py

commit
cf105dccad3d
parent
769e1d8004b0
branch
default

new folder structure.

1
cf105dccad3d
##   avahiserve - Mercurial serve command with avahi publishing
2
cf105dccad3d
##   Copyright (C) 2008  Alessio Caiazza
3
cf105dccad3d
##   
4
cf105dccad3d
##   This program is free software: you can redistribute it and/or modify
5
cf105dccad3d
##   it under the terms of the GNU General Public License as published by
6
cf105dccad3d
##   the Free Software Foundation, either version 3 of the License, or
7
cf105dccad3d
##   any later version.
8
cf105dccad3d
##   
9
cf105dccad3d
##   This program is distributed in the hope that it will be useful,
10
cf105dccad3d
##   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
cf105dccad3d
##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
cf105dccad3d
##   GNU General Public License for more details.
13
cf105dccad3d
##   
14
cf105dccad3d
##   You should have received a copy of the GNU General Public License
15
cf105dccad3d
##   along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
cf105dccad3d
17
cf105dccad3d
18
cf105dccad3d
from mercurial import hg
19
cf105dccad3d
from avahiserve import *
20
cf105dccad3d
21
cf105dccad3d
cmdtable = {
22
cf105dccad3d
	# cmd name        function call
23
cf105dccad3d
	"aserve": (avahi_serve,
24
cf105dccad3d
		commands.table['^serve'][1],
25
cf105dccad3d
		"hg aserve [OPTION]...")
26
cf105dccad3d