Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Thomas Arendsen Hein
- Wed, 19 Apr 2006 19:39:51
Show More
contrib/convert-repo
0
+1
-1
@@
-73,7
+73,7
b' class convert_git:'
73
if n == "parent": parents.append(v)
73
if n == "parent": parents.append(v)
74
74
75
tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
75
tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
76
tz = int(tzs) * (int(tzh) * 3600 + int(tzm))
76
tz = - int(tzs) * (int(tzh) * 3600 + int(tzm))
77
date = tm + " " + str(tz)
77
date = tm + " " + str(tz)
78
return (parents, author, date, message)
78
return (parents, author, date, message)
79
79
hgext/mq.py
0
+2
-1
@@
-1108,7
+1108,8
b' def refresh(ui, repo, **opts):'
1108
1108
1109
def diff ( ui , repo , * files , ** opts ):
1109
def diff ( ui , repo , * files , ** opts ):
1110
"""diff of the current patch"""
1110
"""diff of the current patch"""
1111
repomap [ repo ] . diff ( repo , files )
1111
# deep in the dirstate code, the walkhelper method wants a list, not a tuple
1112
repomap [ repo ] . diff ( repo , list ( files ))
1112
return 0
1113
return 0
1113
1114
1114
def lastsavename ( path ):
1115
def lastsavename ( path ):
mercurial/commands.py
0
+3
-5
@@
-3249,11
+3249,9
b' def parse(ui, args):'
3249
return ( cmd , cmd and i [ 0 ] or None , args , options , cmdoptions )
3249
return ( cmd , cmd and i [ 0 ] or None , args , options , cmdoptions )
3250
3250
3251
def dispatch ( args ):
3251
def dispatch ( args ):
3252
signal . signal ( signal . SIGTERM , catchterm )
3252
for name in 'SIGTERM' , 'SIGHUP' , 'SIGBREAK' :
3253
try :
3253
num = getattr ( signal , name , None )
3254
signal . signal ( signal.SIGHUP, catchterm )
3254
if num : signal . signal ( num , catchterm )
3255
except AttributeError :
3256
pass
3257
3255
3258
try :
3256
try :
3259
u = ui . ui ()
3257
u = ui . ui ()
mercurial/hgweb.py
0
+2
-1
@@
-419,7
+419,8
b' class hgweb(object):'
419
mt = mimetypes . guess_type ( f )[ 0 ]
419
mt = mimetypes . guess_type ( f )[ 0 ]
420
rawtext = text
420
rawtext = text
421
if util . binary ( text ):
421
if util . binary ( text ):
422
text = "(binary: %s )" % mt
422
text = "(binary: %s )" % ( mt or 'data' )
423
mt = mt or 'text/plain'
423
424
424
def lines ():
425
def lines ():
425
for l , t in enumerate ( text . splitlines ( 1 )):
426
for l , t in enumerate ( text . splitlines ( 1 )):
mercurial/util.py
0
+4
0
@@
-20,8
+20,12
b' def pipefilter(s, cmd):'
20
'''filter string S through command CMD, returning its output'''
20
'''filter string S through command CMD, returning its output'''
21
( pout , pin ) = popen2 . popen2 ( cmd , - 1 , 'b' )
21
( pout , pin ) = popen2 . popen2 ( cmd , - 1 , 'b' )
22
def writer ():
22
def writer ():
23
try :
23
pin . write ( s )
24
pin . write ( s )
24
pin . close ()
25
pin . close ()
26
except IOError , inst :
27
if inst . errno != errno . EPIPE :
28
raise
25
29
26
# we should use select instead on UNIX, but this will work on most
30
# we should use select instead on UNIX, but this will work on most
27
# systems, including Windows
31
# systems, including Windows
templates/map-raw
0
+1
-1
@@
-8,7
+8,7
b" diffline = '#line#'"
8
changesetparent = '# parent: #node#'
8
changesetparent = '# parent: #node#'
9
changesetchild = '# child: #node#'
9
changesetchild = '# child: #node#'
10
filenodelink = ''
10
filenodelink = ''
11
filerevision = filerevision-raw.tmpl
11
filerevision = 'Content-Type: #mimetype#\nContent-Disposition: filename=#file#\n\n#raw#'
12
fileline = '#line#'
12
fileline = '#line#'
13
diffblock = '#lines#'
13
diffblock = '#lines#'
14
filediff = filediff-raw.tmpl
14
filediff = filediff-raw.tmpl
templates/filerevision-raw.tmpl
0
removed
0
-4
1
NO CONTENT: file was removed
NO CONTENT: file was removed
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