##// END OF EJS Templates
turn some comments back into module docstrings
Martin Geisler -
r8227:0a954270 default
parent child Browse files
Show More
@@ -1,13 +1,16 b''
1 1 # bundlerepo.py - repository class for viewing uncompressed bundles
2 2 #
3 # This provides a read-only repository interface to bundles as if
4 # they were part of the actual repository.
5 #
6 3 # Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
7 4 #
8 5 # This software may be used and distributed according to the terms of the
9 6 # GNU General Public License version 2, incorporated herein by reference.
10 7
8 """Repository class for viewing uncompressed bundles.
9
10 This provides a read-only repository interface to bundles as if they
11 were part of the actual repository.
12 """
13
11 14 from node import nullid
12 15 from i18n import _
13 16 import changegroup, util, os, struct, bz2, zlib, tempfile, shutil, mdiff
@@ -1,12 +1,16 b''
1 1 # error.py - Mercurial exceptions
2 2 #
3 # This allows us to catch exceptions at higher levels without forcing imports
4 #
5 3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
6 4 #
7 5 # This software may be used and distributed according to the terms of the
8 6 # GNU General Public License version 2, incorporated herein by reference.
9 7
8 """Mercurial exceptions.
9
10 This allows us to catch exceptions at higher levels without forcing
11 imports.
12 """
13
10 14 # Do not import anything here, please
11 15
12 16 class RevlogError(Exception):
@@ -1,13 +1,16 b''
1 1 # revlog.py - storage back-end for mercurial
2 2 #
3 # This provides efficient delta storage with O(1) retrieve and append
4 # and O(changes) merge between branches
5 #
6 3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
7 4 #
8 5 # This software may be used and distributed according to the terms of the
9 6 # GNU General Public License version 2, incorporated herein by reference.
10 7
8 """Storage back-end for Mercurial.
9
10 This provides efficient delta storage with O(1) retrieve and append
11 and O(changes) merge between branches.
12 """
13
11 14 # import stuff from node for others to import from revlog
12 15 from node import bin, hex, nullid, nullrev, short #@UnusedImport
13 16 from i18n import _
@@ -6,9 +6,12 b''
6 6 #
7 7 # This software may be used and distributed according to the terms of the
8 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.
9
10 """Mercurial utility functions and platform specfic implementations.
11
12 This contains helper routines that are independent of the SCM core and
13 hide platform-specific details from the core.
14 """
12 15
13 16 from i18n import _
14 17 import cStringIO, errno, re, shutil, sys, tempfile, traceback, error
@@ -4,11 +4,14 b''
4 4 #
5 5 # This software may be used and distributed according to the terms of the
6 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.
7
8 """Utility functions that use win32 API.
9
10 Mark Hammond's win32all package allows better functionality on
11 Windows. This module overrides definitions in util.py. If not
12 available, import of this module will fail, and generic code will be
13 used.
14 """
12 15
13 16 import win32api
14 17
General Comments 0
You need to be logged in to leave comments. Login now