Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Martin Geisler
- Fri, 04 Nov 2011 09:31:38
Show More
hgext/largefiles/lfutil.py
0
+3
-1
@@
-110,7
+110,9
b' def findfile(repo, hash):'
110
repo . ui . note ( _ ( 'Found %s in store \n ' ) % hash )
110
repo . ui . note ( _ ( 'Found %s in store \n ' ) % hash )
111
elif inusercache ( repo . ui , hash ):
111
elif inusercache ( repo . ui , hash ):
112
repo . ui . note ( _ ( 'Found %s in system cache \n ' ) % hash )
112
repo . ui . note ( _ ( 'Found %s in system cache \n ' ) % hash )
113
link(usercachepath(repo.ui, hash), storepath ( repo , hash ))
113
path = storepath ( repo , hash )
114
util . makedirs ( os . path . dirname ( path ))
115
link ( usercachepath ( repo . ui , hash ), path )
114
else :
116
else :
115
return None
117
return None
116
return storepath ( repo , hash )
118
return storepath ( repo , hash )
mercurial/ignore.py
0
+1
0
@@
-78,6
+78,7
b' def ignore(root, files, warn):'
78
pats [ f ] = []
78
pats [ f ] = []
79
fp = open ( f )
79
fp = open ( f )
80
pats [ f ], warnings = ignorepats ( fp )
80
pats [ f ], warnings = ignorepats ( fp )
81
fp . close ()
81
for warning in warnings :
82
for warning in warnings :
82
warn ( " %s : %s \n " % ( f , warning ))
83
warn ( " %s : %s \n " % ( f , warning ))
83
except IOError , inst :
84
except IOError , inst :
mercurial/revlog.py
0
+1
0
@@
-800,6
+800,7
b' class revlog(object):'
800
readahead = max ( 65536 , length )
800
readahead = max ( 65536 , length )
801
df . seek ( offset )
801
df . seek ( offset )
802
d = df . read ( readahead )
802
d = df . read ( readahead )
803
df . close ()
803
self . _addchunk ( offset , d )
804
self . _addchunk ( offset , d )
804
if readahead > length :
805
if readahead > length :
805
return d [: length ]
806
return d [: length ]
mercurial/ui.py
0
+1
0
@@
-79,6
+79,7
b' class ui(object):'
79
79
80
try :
80
try :
81
cfg . read ( filename , fp , sections = sections , remap = remap )
81
cfg . read ( filename , fp , sections = sections , remap = remap )
82
fp . close ()
82
except error . ConfigError , inst :
83
except error . ConfigError , inst :
83
if trusted :
84
if trusted :
84
raise
85
raise
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