changeset 8226:8b2cd04a6e97

put license and copyright info into comment blocks
author Martin Geisler <mg@lazybytes.net>
date Sun, 26 Apr 2009 01:13:08 +0200
parents 46293a0c7e9f
children 0a9542703300
files mercurial/bundlerepo.py mercurial/changegroup.py mercurial/dirstate.py mercurial/encoding.py mercurial/error.py mercurial/i18n.py mercurial/node.py mercurial/posix.py mercurial/revlog.py mercurial/util.py mercurial/win32.py mercurial/windows.py
diffstat 12 files changed, 90 insertions(+), 114 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/bundlerepo.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,14 +1,12 @@
-"""
-bundlerepo.py - repository class for viewing uncompressed bundles
-
-This provides a read-only repository interface to bundles as if
-they were part of the actual repository.
-
-Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# bundlerepo.py - repository class for viewing uncompressed bundles
+#
+# This provides a read-only repository interface to bundles as if
+# they were part of the actual repository.
+#
+# Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 from node import nullid
 from i18n import _
--- a/mercurial/changegroup.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/changegroup.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-changegroup.py - Mercurial changegroup manipulation functions
-
- Copyright 2006 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# changegroup.py - Mercurial changegroup manipulation functions
+#
+#  Copyright 2006 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 from i18n import _
 import struct, os, bz2, zlib, util, tempfile
--- a/mercurial/dirstate.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/dirstate.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-dirstate.py - working directory tracking for mercurial
-
-Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# dirstate.py - working directory tracking for mercurial
+#
+# Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 from node import nullid
 from i18n import _
--- a/mercurial/encoding.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/encoding.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-encoding.py - character transcoding support for Mercurial
-
- Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
-"""
+# encoding.py - character transcoding support for Mercurial
+#
+#  Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
 
 import sys, unicodedata, locale, os, error
 
--- a/mercurial/error.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/error.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,13 +1,11 @@
-"""
-error.py - Mercurial exceptions
-
-This allows us to catch exceptions at higher levels without forcing imports
-
-Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# error.py - Mercurial exceptions
+#
+# This allows us to catch exceptions at higher levels without forcing imports
+#
+# Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 # Do not import anything here, please
 
--- a/mercurial/i18n.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/i18n.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-i18n.py - internationalization support for mercurial
-
-Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# i18n.py - internationalization support for mercurial
+#
+# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 import gettext, sys, os, encoding
 
--- a/mercurial/node.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/node.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-node.py - basic nodeid manipulation for mercurial
-
-Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# node.py - basic nodeid manipulation for mercurial
+#
+# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 import binascii
 
--- a/mercurial/posix.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/posix.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-posix.py - Posix utility function implementations for Mercurial
-
- Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
-"""
+# posix.py - Posix utility function implementations for Mercurial
+#
+#  Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
 
 from i18n import _
 import os, sys, osutil, errno, stat, getpass, pwd, grp
--- a/mercurial/revlog.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/revlog.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,14 +1,12 @@
-"""
-revlog.py - storage back-end for mercurial
-
-This provides efficient delta storage with O(1) retrieve and append
-and O(changes) merge between branches
-
-Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-"""
+# revlog.py - storage back-end for mercurial
+#
+# This provides efficient delta storage with O(1) retrieve and append
+# and O(changes) merge between branches
+#
+# Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
 
 # import stuff from node for others to import from revlog
 from node import bin, hex, nullid, nullrev, short #@UnusedImport
--- a/mercurial/util.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/util.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,16 +1,14 @@
-"""
-util.py - Mercurial utility functions and platform specfic implementations
-
- Copyright 2005 K. Thananchayan <thananck@yahoo.com>
- Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
- Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
-
-This software may be used and distributed according to the terms of the
-GNU General Public License version 2, incorporated herein by reference.
-
-This contains helper routines that are independent of the SCM core and hide
-platform-specific details from the core.
-"""
+# util.py - Mercurial utility functions and platform specfic implementations
+#
+#  Copyright 2005 K. Thananchayan <thananck@yahoo.com>
+#  Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
+#  Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2, incorporated herein by reference.
+#
+# This contains helper routines that are independent of the SCM core and hide
+# platform-specific details from the core.
 
 from i18n import _
 import cStringIO, errno, re, shutil, sys, tempfile, traceback, error
--- a/mercurial/win32.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/win32.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,16 +1,14 @@
-'''
-win32.py - utility functions that use win32 API
-
-Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
-
-Mark Hammond's win32all package allows better functionality on
-Windows.  this module overrides definitions in util.py.  if not
-available, import of this module will fail, and generic code will be
-used.
-'''
+# win32.py - utility functions that use win32 API
+#
+# Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
+#
+# Mark Hammond's win32all package allows better functionality on
+# Windows.  this module overrides definitions in util.py.  if not
+# available, import of this module will fail, and generic code will be
+# used.
 
 import win32api
 
--- a/mercurial/windows.py	Sun Apr 26 01:08:54 2009 +0200
+++ b/mercurial/windows.py	Sun Apr 26 01:13:08 2009 +0200
@@ -1,11 +1,9 @@
-"""
-windows.py - Windows utility function implementations for Mercurial
-
- Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
-"""
+# windows.py - Windows utility function implementations for Mercurial
+#
+#  Copyright 2005-2009 Matt Mackall <mpm@selenic.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.
 
 from i18n import _
 import errno, msvcrt, os, osutil, re, sys, error