Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Augie Fackler
- Mon, 24 Jun 2013 18:02:01
Show More
contrib/casesmash.py
0
+1
-1
@@
-1,4
+1,4
b''
1
import sys, os , __builtin__
1
import os , __builtin__
2
from mercurial import util
2
from mercurial import util
3
3
4
def lowerwrap ( scope , funcname ):
4
def lowerwrap ( scope , funcname ):
contrib/perf.py
0
+1
-1
@@
-1,7
+1,7
b''
1
# perf.py - performance test routines
1
# perf.py - performance test routines
2
'''helper extension to measure performance'''
2
'''helper extension to measure performance'''
3
3
4
from mercurial import cmdutil , scmutil , util , match, commands , obsolete
4
from mercurial import cmdutil , scmutil , util , commands , obsolete
5
from mercurial import repoview , branchmap , merge , copies
5
from mercurial import repoview , branchmap , merge , copies
6
import time , os , sys
6
import time , os , sys
7
7
contrib/synthrepo.py
0
+1
-1
@@
-36,7
+36,7
b' A few obvious properties that are not cu'
36
'''
36
'''
37
37
38
import bisect , collections , json , os , random , time , sys
38
import bisect , collections , json , os , random , time , sys
39
from mercurial import cmdutil , context , patch , scmutil , url, util , hg
39
from mercurial import cmdutil , context , patch , scmutil , util , hg
40
from mercurial.i18n import _
40
from mercurial.i18n import _
41
from mercurial.node import nullrev , nullid
41
from mercurial.node import nullrev , nullid
42
42
doc/gendoc.py
0
0
-1
@@
-4,7
+4,6
b' sys.path.insert(0, "..")'
4
# fall back to pure modules if required C extensions are not available
4
# fall back to pure modules if required C extensions are not available
5
sys . path . append ( os . path . join ( '..' , 'mercurial' , 'pure' ))
5
sys . path . append ( os . path . join ( '..' , 'mercurial' , 'pure' ))
6
from mercurial import demandimport ; demandimport . enable ()
6
from mercurial import demandimport ; demandimport . enable ()
7
from mercurial import encoding
8
from mercurial import minirst
7
from mercurial import minirst
9
from mercurial.commands import table , globalopts
8
from mercurial.commands import table , globalopts
10
from mercurial.i18n import gettext , _
9
from mercurial.i18n import gettext , _
doc/hgrc.5.txt
0
+2
-2
@@
-16,8
+16,8
b' configuration files for Mercurial'
16
:class: htmlonly
16
:class: htmlonly
17
17
18
18
19
Synopsis
19
Description
20
========
20
===========
21
21
22
.. include:: ../mercurial/help/config.txt
22
.. include:: ../mercurial/help/config.txt
23
23
mercurial/changegroup.py
0
+2
-1
@@
-364,10
+364,11
b' class bundle10(object):'
364
364
365
if fastpathlinkrev :
365
if fastpathlinkrev :
366
ln , llr = filerevlog . node , filerevlog . linkrev
366
ln , llr = filerevlog . node , filerevlog . linkrev
367
needed = set ( cl . rev ( x ) for x in clnodes )
367
def genfilenodes ():
368
def genfilenodes ():
368
for r in filerevlog :
369
for r in filerevlog :
369
linkrev = llr ( r )
370
linkrev = llr ( r )
370
if linkrev not in commonrevs:
371
if linkrev in needed :
371
yield filerevlog . node ( r ), cl . node ( linkrev )
372
yield filerevlog . node ( r ), cl . node ( linkrev )
372
fnodes [ fname ] = dict ( genfilenodes ())
373
fnodes [ fname ] = dict ( genfilenodes ())
373
374
mercurial/pathencode.c
0
+2
-1
@@
-585,7
+585,8
b' static PyObject *hashmangle(const char *'
585
in a space or dot, which are unportable. */
585
in a space or dot, which are unportable. */
586
if ( d == '.' || d == ' ' )
586
if ( d == '.' || d == ' ' )
587
dest [ destlen - 1 ] = '_' ;
587
dest [ destlen - 1 ] = '_' ;
588
if ( destlen > maxshortdirslen )
588
/* The + 3 is to account for "dh/" in the beginning */
589
if ( destlen > maxshortdirslen + 3 )
589
break ;
590
break ;
590
charcopy ( dest , & destlen , destsize , src [ i ]);
591
charcopy ( dest , & destlen , destsize , src [ i ]);
591
p = -1 ;
592
p = -1 ;
tests/run-tests.py
0
0
-1
@@
-56,7
+56,6
b' import random'
56
import re
56
import re
57
import threading
57
import threading
58
import killdaemons as killmod
58
import killdaemons as killmod
59
import cPickle as pickle
60
import Queue as queue
59
import Queue as queue
61
60
62
processlock = threading . Lock ()
61
processlock = threading . Lock ()
tests/test-pathencode.py
0
+2
-2
@@
-5,7
+5,6
b''
5
# that have proven likely to expose bugs and divergent behaviour in
5
# that have proven likely to expose bugs and divergent behaviour in
6
# different encoding implementations.
6
# different encoding implementations.
7
7
8
from mercurial import parsers
9
from mercurial import store
8
from mercurial import store
10
import binascii , itertools , math , os , random , sys , time
9
import binascii , itertools , math , os , random , sys , time
11
import collections
10
import collections
@@
-125,7
+124,8
b' def makepart(rng, k):'
125
p = pickfrom ( rng , firsttable )( rng )
124
p = pickfrom ( rng , firsttable )( rng )
126
l = len ( p )
125
l = len ( p )
127
ps = [ p ]
126
ps = [ p ]
128
while l <= k :
127
maxl = rng . randint ( 1 , k )
128
while l < maxl :
129
p = pickfrom ( rng , resttable )( rng )
129
p = pickfrom ( rng , resttable )( rng )
130
l += len ( p )
130
l += len ( p )
131
ps . append ( p )
131
ps . append ( p )
tests/test-rebase-cache.t
0
0
-21
@@
-396,27
+396,6
b' Make sure rebase does not break for phas'
396
> [ ui ]
396
> [ ui ]
397
> logtemplate = { rev } { desc } { phase } \ n
397
> logtemplate = { rev } { desc } { phase } \ n
398
> EOF
398
> EOF
399
$ cat $ HGRCPATH
400
[ ui ]
401
slash = True
402
interactive = False
403
[ defaults ]
404
backout = - d "0 0"
405
commit = - d "0 0"
406
tag = - d "0 0"
407
[ extensions ]
408
graphlog =
409
rebase =
410
mq =
411
412
[ phases ]
413
publish = False
414
415
[ alias ]
416
tglog = log - G -- template " {rev} : ' {desc} ' {branches} \n "
417
theads = heads -- template " {rev} : ' {desc} ' {branches} \n "
418
[ ui ]
419
logtemplate = { rev } { desc } { phase } \ n
420
399
421
400
422
$ hg init c4
401
$ hg init c4
tests/test-ui-color.py
0
+1
-1
@@
-1,4
+1,4
b''
1
import os , sys
1
import os
2
from hgext import color
2
from hgext import color
3
from mercurial import dispatch , ui
3
from mercurial import dispatch , ui
4
4
contrib/setup3k.py
0
removed
0
-373
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