# HG changeset patch # User Martin Geisler # Date 2009-04-25 23:13:08 # Node ID 8b2cd04a6e9779af164f9c83a612b7fa5d3aef88 # Parent 46293a0c7e9ff247fa033b7fb37b34b148ac1ea6 put license and copyright info into comment blocks diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -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 - -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 +# +# 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 _ diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -1,11 +1,9 @@ -""" -changegroup.py - Mercurial changegroup manipulation functions - - Copyright 2006 Matt Mackall - -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 +# +# 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 diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -1,11 +1,9 @@ -""" -dirstate.py - working directory tracking for mercurial - -Copyright 2005-2007 Matt Mackall - -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 +# +# 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 _ diff --git a/mercurial/encoding.py b/mercurial/encoding.py --- a/mercurial/encoding.py +++ b/mercurial/encoding.py @@ -1,11 +1,9 @@ -""" -encoding.py - character transcoding support for Mercurial - - Copyright 2005-2009 Matt Mackall 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 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 diff --git a/mercurial/error.py b/mercurial/error.py --- a/mercurial/error.py +++ b/mercurial/error.py @@ -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 - -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 +# +# 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 diff --git a/mercurial/i18n.py b/mercurial/i18n.py --- a/mercurial/i18n.py +++ b/mercurial/i18n.py @@ -1,11 +1,9 @@ -""" -i18n.py - internationalization support for mercurial - -Copyright 2005, 2006 Matt Mackall - -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 +# +# 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 diff --git a/mercurial/node.py b/mercurial/node.py --- a/mercurial/node.py +++ b/mercurial/node.py @@ -1,11 +1,9 @@ -""" -node.py - basic nodeid manipulation for mercurial - -Copyright 2005, 2006 Matt Mackall - -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 +# +# 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 diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -1,11 +1,9 @@ -""" -posix.py - Posix utility function implementations for Mercurial - - Copyright 2005-2009 Matt Mackall 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 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 diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -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 - -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 +# +# 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 diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1,16 +1,14 @@ -""" -util.py - Mercurial utility functions and platform specfic implementations - - Copyright 2005 K. Thananchayan - Copyright 2005-2007 Matt Mackall - Copyright 2006 Vadim Gelfer - -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 +# Copyright 2005-2007 Matt Mackall +# Copyright 2006 Vadim Gelfer +# +# 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 diff --git a/mercurial/win32.py b/mercurial/win32.py --- a/mercurial/win32.py +++ b/mercurial/win32.py @@ -1,16 +1,14 @@ -''' -win32.py - utility functions that use win32 API - -Copyright 2005-2009 Matt Mackall 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 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 diff --git a/mercurial/windows.py b/mercurial/windows.py --- a/mercurial/windows.py +++ b/mercurial/windows.py @@ -1,11 +1,9 @@ -""" -windows.py - Windows utility function implementations for Mercurial - - Copyright 2005-2009 Matt Mackall 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 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