Mercurial > hg-stable
changeset 8251:7fc30044b514
highlight: add copyright and license header
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 26 Apr 2009 01:48:43 +0200 |
parents | 1b60efdb8bc5 |
children | 9674d64b6416 |
files | hgext/highlight/__init__.py hgext/highlight/highlight.py |
diffstat | 2 files changed, 16 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/highlight/__init__.py Sun Apr 26 01:47:44 2009 +0200 +++ b/hgext/highlight/__init__.py Sun Apr 26 01:48:43 2009 +0200 @@ -1,3 +1,13 @@ +# highlight - syntax highlighting in hgweb, based on Pygments +# +# Copyright 2008, 2009 Patrick Mezard <pmezard@gmail.com> and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2, incorporated herein by reference. +# +# The original module was split in an interface and an implementation +# file to defer pygments loading and speedup extension setup. + """syntax highlighting in hgweb, based on Pygments It depends on the pygments syntax highlighting library:
--- a/hgext/highlight/highlight.py Sun Apr 26 01:47:44 2009 +0200 +++ b/hgext/highlight/highlight.py Sun Apr 26 01:48:43 2009 +0200 @@ -1,4 +1,9 @@ -# highlight extension implementation file +# highlight.py - highlight extension implementation file +# +# Copyright 2007-2009 Adam Hupp <adam@hupp.org> and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2, incorporated herein by reference. # # The original module was split in an interface and an implementation # file to defer pygments loading and speedup extension setup.