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