Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Matt Mackall
- Tue, 25 Mar 2014 21:17:16
Show More
mercurial/dispatch.py
0
+9
-5
@@
-108,13
+108,17
b' def _runcatch(req):'
108
108
109
109
# if we are in HGPLAIN mode, then disable custom debugging
110
110
debugger = ui . config ( "ui" , "debugger" )
111
debugmod = pdb
111
112
if not debugger or ui . plain ():
112
113
debugger = 'pdb'
113
114
try :
115
debugmod = __import__ ( debugger )
116
except ImportError :
117
debugmod = pdb
114
elif '--debugger' in req . args :
115
# This import can be slow for fancy debuggers, so only
116
# do it when absolutely necessary, i.e. when actual
117
# debugging has been requested
118
try :
119
debugmod = __import__ ( debugger )
120
except ImportError :
121
pass # Leave debugmod = pdb
118
122
119
123
debugtrace [ debugger ] = debugmod . set_trace
120
124
debugmortem [ debugger ] = debugmod . post_mortem
mercurial/hg.py
0
+3
-1
@@
-230,8
+230,10
b' def copystore(ui, srcrepo, destpath):'
230
230
dstvfs . mkdir ( dstbase )
231
231
if srcvfs . exists ( f ):
232
232
if f . endswith ( 'data' ):
233
# 'dstbase' may be empty (e.g. revlog format 0)
234
lockfile = os . path . join ( dstbase , "lock" )
233
235
# lock to avoid premature writing to the target
234
destlock = lock . lock ( dstvfs , dstbase + "/lock")
236
destlock = lock . lock ( dstvfs , lockfile )
235
237
hardlink , n = util . copyfiles ( srcvfs . join ( f ), dstvfs . join ( f ),
236
238
hardlink )
237
239
num += n
mercurial/revset.py
0
+4
0
@@
-1594,6
+1594,10
b' def _substringmatcher(pattern):'
1594
1594
def tag ( repo , subset , x ):
1595
1595
"""``tag([name])``
1596
1596
The specified tag by name, or all tagged revisions if no name is given.
1597
1598
If `name` starts with `re:`, the remainder of the name is treated as
1599
a regular expression. To match a tag that actually starts with `re:`,
1600
use the prefix `literal:`.
1597
1601
"""
1598
1602
# i18n: "tag" is a keyword
1599
1603
args = getargs ( x , 0 , 1 , _ ( "tag takes one or no arguments" ))
tests/test-clone.t
0
+14
0
@@
-621,3
+621,17
b' re-enable perm to allow deletion'
621
621
#endif
622
622
623
623
$ cd ..
624
625
Test clone from the repository in ( emulated ) revlog format 0 ( issue4203 ):
626
627
$ mkdir issue4203
628
$ mkdir - p src /. hg
629
$ echo foo > src / foo
630
$ hg - R src add src / foo
631
$ hg - R src commit - m '#0'
632
$ hg - R src log - q
633
0: e1bab28bca43
634
$ hg clone - U - q src dst
635
$ hg - R dst log - q
636
0: e1bab28bca43
637
$ cd ..
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