##// END OF EJS Templates
put license and copyright info into comment blocks
Martin Geisler -
r8226:8b2cd04a default
parent child Browse files
Show More
@@ -1,14 +1,12 b''
1 """
2 bundlerepo.py - repository class for viewing uncompressed bundles
3
4 This provides a read-only repository interface to bundles as if
5 they were part of the actual repository.
6
7 Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
8
9 This software may be used and distributed according to the terms of the
10 GNU General Public License version 2, incorporated herein by reference.
11 """
1 # bundlerepo.py - repository class for viewing uncompressed bundles
2 #
3 # This provides a read-only repository interface to bundles as if
4 # they were part of the actual repository.
5 #
6 # Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
7 #
8 # This software may be used and distributed according to the terms of the
9 # GNU General Public License version 2, incorporated herein by reference.
12 10
13 11 from node import nullid
14 12 from i18n import _
@@ -1,11 +1,9 b''
1 """
2 changegroup.py - Mercurial changegroup manipulation functions
3
4 Copyright 2006 Matt Mackall <mpm@selenic.com>
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # changegroup.py - Mercurial changegroup manipulation functions
2 #
3 # Copyright 2006 Matt Mackall <mpm@selenic.com>
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 from i18n import _
11 9 import struct, os, bz2, zlib, util, tempfile
@@ -1,11 +1,9 b''
1 """
2 dirstate.py - working directory tracking for mercurial
3
4 Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # dirstate.py - working directory tracking for mercurial
2 #
3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 from node import nullid
11 9 from i18n import _
@@ -1,11 +1,9 b''
1 """
2 encoding.py - character transcoding support for Mercurial
3
4 Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # encoding.py - character transcoding support for Mercurial
2 #
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 import sys, unicodedata, locale, os, error
11 9
@@ -1,13 +1,11 b''
1 """
2 error.py - Mercurial exceptions
3
4 This allows us to catch exceptions at higher levels without forcing imports
5
6 Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
7
8 This software may be used and distributed according to the terms of the
9 GNU General Public License version 2, incorporated herein by reference.
10 """
1 # error.py - Mercurial exceptions
2 #
3 # This allows us to catch exceptions at higher levels without forcing imports
4 #
5 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
6 #
7 # This software may be used and distributed according to the terms of the
8 # GNU General Public License version 2, incorporated herein by reference.
11 9
12 10 # Do not import anything here, please
13 11
@@ -1,11 +1,9 b''
1 """
2 i18n.py - internationalization support for mercurial
3
4 Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # i18n.py - internationalization support for mercurial
2 #
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 import gettext, sys, os, encoding
11 9
@@ -1,11 +1,9 b''
1 """
2 node.py - basic nodeid manipulation for mercurial
3
4 Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # node.py - basic nodeid manipulation for mercurial
2 #
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 import binascii
11 9
@@ -1,11 +1,9 b''
1 """
2 posix.py - Posix utility function implementations for Mercurial
3
4 Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # posix.py - Posix utility function implementations for Mercurial
2 #
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 from i18n import _
11 9 import os, sys, osutil, errno, stat, getpass, pwd, grp
@@ -1,14 +1,12 b''
1 """
2 revlog.py - storage back-end for mercurial
3
4 This provides efficient delta storage with O(1) retrieve and append
5 and O(changes) merge between branches
6
7 Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
8
9 This software may be used and distributed according to the terms of the
10 GNU General Public License version 2, incorporated herein by reference.
11 """
1 # revlog.py - storage back-end for mercurial
2 #
3 # This provides efficient delta storage with O(1) retrieve and append
4 # and O(changes) merge between branches
5 #
6 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
7 #
8 # This software may be used and distributed according to the terms of the
9 # GNU General Public License version 2, incorporated herein by reference.
12 10
13 11 # import stuff from node for others to import from revlog
14 12 from node import bin, hex, nullid, nullrev, short #@UnusedImport
@@ -1,16 +1,14 b''
1 """
2 util.py - Mercurial utility functions and platform specfic implementations
3
4 Copyright 2005 K. Thananchayan <thananck@yahoo.com>
5 Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
6 Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
7
8 This software may be used and distributed according to the terms of the
9 GNU General Public License version 2, incorporated herein by reference.
10
11 This contains helper routines that are independent of the SCM core and hide
12 platform-specific details from the core.
13 """
1 # util.py - Mercurial utility functions and platform specfic implementations
2 #
3 # Copyright 2005 K. Thananchayan <thananck@yahoo.com>
4 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
5 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
6 #
7 # This software may be used and distributed according to the terms of the
8 # GNU General Public License version 2, incorporated herein by reference.
9 #
10 # This contains helper routines that are independent of the SCM core and hide
11 # platform-specific details from the core.
14 12
15 13 from i18n import _
16 14 import cStringIO, errno, re, shutil, sys, tempfile, traceback, error
@@ -1,16 +1,14 b''
1 '''
2 win32.py - utility functions that use win32 API
3
4 Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8
9 Mark Hammond's win32all package allows better functionality on
10 Windows. this module overrides definitions in util.py. if not
11 available, import of this module will fail, and generic code will be
12 used.
13 '''
1 # win32.py - utility functions that use win32 API
2 #
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
7 #
8 # Mark Hammond's win32all package allows better functionality on
9 # Windows. this module overrides definitions in util.py. if not
10 # available, import of this module will fail, and generic code will be
11 # used.
14 12
15 13 import win32api
16 14
@@ -1,11 +1,9 b''
1 """
2 windows.py - Windows utility function implementations for Mercurial
3
4 Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
5
6 This software may be used and distributed according to the terms of the
7 GNU General Public License version 2, incorporated herein by reference.
8 """
1 # windows.py - Windows utility function implementations for Mercurial
2 #
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
4 #
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2, incorporated herein by reference.
9 7
10 8 from i18n import _
11 9 import errno, msvcrt, os, osutil, re, sys, error
General Comments 0
You need to be logged in to leave comments. Login now