Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Matt Mackall
- Sat, 10 Sep 2011 22:56:42
Show More
mercurial/commands.py
0
+1
-1
@@
-3352,7
+3352,7
def locate(ui, repo, *pats, **opts):
3352
3352
_ ( 'show changesets within the given named branch' ), _ ( 'BRANCH' )),
3353
3353
( 'P' , 'prune' , [],
3354
3354
_ ( 'do not display revision or any of its ancestors' ), _ ( 'REV' )),
3355
( 'h' , 'hidden' , False , _ ( 'show hidden changesets' )),
3355
( '' , 'hidden' , False , _ ( 'show hidden changesets' )),
3356
3356
] + logopts + walkopts ,
3357
3357
_ ( '[OPTION]... [FILE]' ))
3358
3358
def log ( ui , repo , * pats , ** opts ):
mercurial/url.py
0
+9
-7
@@
-93,13
+93,15
class proxyhandler(urllib2.ProxyHandler)
93
93
proxies = {}
94
94
95
95
# urllib2 takes proxy values from the environment and those
96
# will take precedence if found, so drop them
97
for env in [ "HTTP_PROXY" , "http_proxy" , "no_proxy" ]:
98
try :
99
if env in os . environ :
100
del os . environ [ env ]
101
except OSError :
102
pass
96
# will take precedence if found. So, if there's a config entry
97
# defining a proxy, drop the environment ones
98
if ui . config ( "http_proxy" , "host" ):
99
for env in [ "HTTP_PROXY" , "http_proxy" , "no_proxy" ]:
100
try :
101
if env in os . environ :
102
del os . environ [ env ]
103
except OSError :
104
pass
103
105
104
106
urllib2 . ProxyHandler . __init__ ( self , proxies )
105
107
self . ui = ui
mercurial/util.py
0
+7
-4
@@
-1460,6
+1460,8
class url(object):
1460
1460
<url path: 'c:\\foo\\bar'>
1461
1461
>>> url(r'\\blah\blah\blah')
1462
1462
<url path: '\\\\blah\\blah\\blah'>
1463
>>> url(r'\\blah\blah\blah#baz')
1464
<url path: '\\\\blah\\blah\\blah', fragment: 'baz'>
1463
1465
1464
1466
Authentication credentials:
1465
1467
@@
-1488,6
+1490,11
class url(object):
1488
1490
self . _hostport = ''
1489
1491
self . _origpath = path
1490
1492
1493
if parsefragment and '#' in path :
1494
path , self . fragment = path . split ( '#' , 1 )
1495
if not path :
1496
path = None
1497
1491
1498
# special case for Windows drive letters and UNC paths
1492
1499
if hasdriveletter ( path ) or path . startswith ( r ' \\ ' ):
1493
1500
self . path = path
@@
-1515,10
+1522,6
class url(object):
1515
1522
self . path = ''
1516
1523
return
1517
1524
else :
1518
if parsefragment and '#' in path :
1519
path , self . fragment = path . split ( '#' , 1 )
1520
if not path :
1521
path = None
1522
1525
if self . _localpath :
1523
1526
self . path = path
1524
1527
return
tests/test-keyword.t
0
+4
0
@@
-444,6
+444,8
record added file alone
444
444
r
445
445
committed changeset 3 : 899491280810
446
446
overwriting r expanding keywords
447
- status call required for dirstate . normallookup () check
448
$ hg status r
447
449
$ hg -- verbose rollback
448
450
repository tip rolled back to revision 2 ( undo commit )
449
451
working directory now based on revision 2
@@
-834,6
+836,8
kwexpand/kwshrink on selected files
834
836
$ hg copy a x / a
835
837
$ hg -- verbose kwshrink a
836
838
overwriting a shrinking keywords
839
- sleep required for dirstate . normal () check
840
$ sleep 1
837
841
$ hg status a
838
842
$ hg -- verbose kwexpand a
839
843
overwriting a expanding keywords
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