Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Matt Mackall
- Tue, 11 May 2010 22:03:44
Show More
mercurial/bundlerepo.py
0
+1
-1
@@
-166,7
+166,7
b' class bundlerepository(localrepo.localre'
166
localrepo . localrepository . __init__ ( self , ui , self . _tempparent )
166
localrepo . localrepository . __init__ ( self , ui , self . _tempparent )
167
167
168
if path :
168
if path :
169
self . _url = 'bundle:' + path + '+' + bundlename
169
self . _url = 'bundle:' + util . expandpath ( path ) + '+' + bundlename
170
else :
170
else :
171
self . _url = 'bundle:' + bundlename
171
self . _url = 'bundle:' + bundlename
172
172
mercurial/hg.py
0
+2
-2
@@
-15,8
+15,8
b' import verify as verifymod'
15
import errno , os , shutil
15
import errno , os , shutil
16
16
17
def _local ( path ):
17
def _local ( path ):
18
return (os. path .isfile( util . drop_scheme ( 'file' , path )) and
18
path = util . expand path( util . drop_scheme ( 'file' , path ))
19
bundlerepo or localrepo )
19
return ( os . path . isfile ( path ) and bundlerepo or localrepo )
20
20
21
def addbranchrevs ( lrepo , repo , branches , revs ):
21
def addbranchrevs ( lrepo , repo , branches , revs ):
22
if not branches :
22
if not branches :
mercurial/localrepo.py
0
+1
-1
@@
-25,7
+25,7
b' class localrepository(repo.repository):'
25
25
26
def __init__ ( self , baseui , path = None , create = 0 ):
26
def __init__ ( self , baseui , path = None , create = 0 ):
27
repo . repository . __init__ ( self )
27
repo . repository . __init__ ( self )
28
self . root = os . path . realpath ( path )
28
self . root = os . path . realpath ( util . expandpath ( path ))
29
self . path = os . path . join ( self . root , ".hg" )
29
self . path = os . path . join ( self . root , ".hg" )
30
self . origroot = path
30
self . origroot = path
31
self . opener = util . opener ( self . path )
31
self . opener = util . opener ( self . path )
tests/test-schemes
0
+4
0
@@
-7,6
+7,7
b' schemes='
7
[schemes]
7
[schemes]
8
l = http://localhost:$HGPORT/
8
l = http://localhost:$HGPORT/
9
parts = http://{1}:$HGPORT/
9
parts = http://{1}:$HGPORT/
10
z = file:\$PWD/
10
EOF
11
EOF
11
12
12
hg init test
13
hg init test
@@
-22,5
+23,8
b' hg incoming l://'
22
echo % check that {1} syntax works
23
echo % check that {1} syntax works
23
hg incoming --debug parts://localhost | sed 's/[0-9]//g'
24
hg incoming --debug parts://localhost | sed 's/[0-9]//g'
24
25
26
echo % check that paths are expanded
27
PWD=`pwd` hg incoming z://
28
25
echo % errors
29
echo % errors
26
cat errors.log
30
cat errors.log
tests/test-schemes.out
0
+4
0
@@
-9,4
+9,8
b' comparing with parts://localhost'
9
sending heads command
9
sending heads command
10
searching for changes
10
searching for changes
11
no changes found
11
no changes found
12
% check that paths are expanded
13
comparing with z://
14
searching for changes
15
no changes found
12
% errors
16
% errors
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