Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Vadim Gelfer
- Wed, 21 Jun 2006 06:58:21
Show More
mercurial/changegroup.py
0
+1
-2
@@
-6,10
+6,9
b' changegroup.py - Mercurial changegroup m'
6
6
This software may be used and distributed according to the terms
7
7
of the GNU General Public License, incorporated herein by reference.
8
8
"""
9
import struct
10
9
from i18n import gettext as _
11
10
from demandload import *
12
demandload ( globals (), "util" )
11
demandload ( globals (), "struct util" )
13
12
14
13
def getchunk ( source ):
15
14
"""get a chunk from a changegroup"""
mercurial/dirstate.py
0
+1
-2
@@
-7,11
+7,10
b' This software may be used and distribute'
7
7
of the GNU General Public License, incorporated herein by reference.
8
8
"""
9
9
10
import struct , os
11
10
from node import *
12
11
from i18n import gettext as _
13
12
from demandload import *
14
demandload ( globals (), "time bisect stat util re errno" )
13
demandload ( globals (), "struct os time bisect stat util re errno" )
15
14
16
15
class dirstate ( object ):
17
16
format = ">cllll"
mercurial/filelog.py
0
+1
-2
@@
-5,10
+5,9
b''
5
5
# This software may be used and distributed according to the terms
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
import os
9
8
from revlog import *
10
9
from demandload import *
11
demandload ( globals (), "bdiff" )
10
demandload ( globals (), "bdiff os " )
12
11
13
12
class filelog ( revlog ):
14
13
def __init__ ( self , opener , path , defversion = REVLOG_DEFAULT_VERSION ):
mercurial/localrepo.py
0
+2
-3
@@
-5,14
+5,13
b''
5
5
# This software may be used and distributed according to the terms
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
import os , util
9
import filelog , manifest , changelog , dirstate , repo
10
8
from node import *
11
9
from i18n import gettext as _
12
10
from demandload import *
13
11
demandload ( globals (), "appendfile changegroup" )
12
demandload ( globals (), "changelog dirstate filelog manifest repo" )
14
13
demandload ( globals (), "re lock transaction tempfile stat mdiff errno ui" )
15
demandload ( globals (), "revlog" )
14
demandload ( globals (), "os revlog util " )
16
15
17
16
class localrepository ( object ):
18
17
capabilities = ()
mercurial/manifest.py
0
+1
-2
@@
-5,11
+5,10
b''
5
5
# This software may be used and distributed according to the terms
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
import struct
9
8
from revlog import *
10
9
from i18n import gettext as _
11
10
from demandload import *
12
demandload ( globals (), "bisect array" )
11
demandload ( globals (), "array bisect struct " )
13
12
14
13
class manifest ( revlog ):
15
14
def __init__ ( self , opener , defversion = REVLOGV0 ):
mercurial/mdiff.py
0
+2
-2
@@
-6,8
+6,8
b''
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
8
from demandload import demandload
9
import struct, bdiff , util, mpatch
10
demandload ( globals (), "re" )
9
import bdiff , mpatch
10
demandload ( globals (), "re struct util " )
11
11
12
12
def splitnewlines ( text ):
13
13
'''like str.splitlines, but only split on newlines.'''
mercurial/node.py
0
+2
-1
@@
-7,7
+7,8
b' This software may be used and distribute'
7
7
of the GNU General Public License, incorporated herein by reference.
8
8
"""
9
9
10
import binascii
10
from demandload import demandload
11
demandload ( globals (), "binascii" )
11
12
12
13
nullid = " \0 " * 20
13
14
mercurial/templater.py
0
+7
-3
@@
-5,7
+5,6
b''
5
5
# This software may be used and distributed according to the terms
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
import re
9
8
from demandload import demandload
10
9
from i18n import gettext as _
11
10
from node import *
@@
-194,11
+193,16
b' def stringify(thing):'
194
193
walk ( thing )
195
194
return cs . getvalue ()
196
195
196
para_re = None
197
space_re = None
198
199
def fill ( text , width ):
200
'''fill many paragraphs.'''
201
global para_re , space_re
202
if para_re is None :
197
203
para_re = re . compile ( '( \n\n | \n\\ s*[-*] \\ s*)' , re . M )
198
204
space_re = re . compile ( r ' +' )
199
205
200
def fill ( text , width ):
201
'''fill many paragraphs.'''
202
206
def findparas ():
203
207
start = 0
204
208
while True :
mercurial/transaction.py
0
+2
-1
@@
-11,8
+11,9
b''
11
11
# This software may be used and distributed according to the terms
12
12
# of the GNU General Public License, incorporated herein by reference.
13
13
14
import os
14
from demandload import demandload
15
15
from i18n import gettext as _
16
demandload ( globals (), 'os' )
16
17
17
18
class transaction ( object ):
18
19
def __init__ ( self , report , opener , journal , after = None ):
mercurial/ui.py
0
+1
-2
@@
-5,11
+5,10
b''
5
5
# This software may be used and distributed according to the terms
6
6
# of the GNU General Public License, incorporated herein by reference.
7
7
8
import ConfigParser
9
8
from i18n import gettext as _
10
9
from demandload import *
11
10
demandload ( globals (), "errno getpass os re smtplib socket sys tempfile" )
12
demandload ( globals (), "templater traceback util" )
11
demandload ( globals (), "ConfigParser templater traceback util" )
13
12
14
13
class ui ( object ):
15
14
def __init__ ( self , verbose = False , debug = False , quiet = False ,
mercurial/util.py
0
+1
-2
@@
-10,11
+10,10
b' This contains helper routines that are i'
10
10
platform-specific details from the core.
11
11
"""
12
12
13
import os , errno
14
13
from i18n import gettext as _
15
14
from demandload import *
16
15
demandload ( globals (), "cStringIO errno popen2 re shutil sys tempfile" )
17
demandload ( globals (), "threading time" )
16
demandload ( globals (), "os threading time" )
18
17
19
18
class SignalInterrupt ( Exception ):
20
19
"""Exception raised on SIGTERM and SIGHUP."""
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages