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