Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Matt Mackall
- Tue, 15 Nov 2011 20:33:06
Show More
mercurial/dirstate.py
0
+1
-1
@@
-376,7
+376,7
b' class dirstate(object):'
376
del self . _map [ f ]
376
del self . _map [ f ]
377
377
378
def _normalize ( self , path , isknown ):
378
def _normalize ( self , path , isknown ):
379
normed = os.path. normcase ( path )
379
normed = util . normcase ( path )
380
folded = self . _foldmap . get ( normed , None )
380
folded = self . _foldmap . get ( normed , None )
381
if folded is None :
381
if folded is None :
382
if isknown or not os . path . lexists ( os . path . join ( self . _root , path )):
382
if isknown or not os . path . lexists ( os . path . join ( self . _root , path )):
mercurial/posix.py
0
+4
0
@@
-164,6
+164,10
b' def samedevice(fpath1, fpath2):'
164
st2 = os . lstat ( fpath2 )
164
st2 = os . lstat ( fpath2 )
165
return st1 . st_dev == st2 . st_dev
165
return st1 . st_dev == st2 . st_dev
166
166
167
# os.path.normcase is a no-op, which doesn't help us on non-native filesystems
168
def normcase ( path ):
169
return path . lower ()
170
167
if sys . platform == 'darwin' :
171
if sys . platform == 'darwin' :
168
import fcntl # only needed on darwin, missing on jython
172
import fcntl # only needed on darwin, missing on jython
169
def realpath ( path ):
173
def realpath ( path ):
mercurial/util.py
0
+1
0
@@
-44,6
+44,7
b' lookupreg = platform.lookupreg'
44
makedir = platform . makedir
44
makedir = platform . makedir
45
nlinks = platform . nlinks
45
nlinks = platform . nlinks
46
normpath = platform . normpath
46
normpath = platform . normpath
47
normcase = platform . normcase
47
nulldev = platform . nulldev
48
nulldev = platform . nulldev
48
openhardlinks = platform . openhardlinks
49
openhardlinks = platform . openhardlinks
49
oslink = platform . oslink
50
oslink = platform . oslink
mercurial/windows.py
0
+2
0
@@
-131,6
+131,8
b' def localpath(path):'
131
def normpath ( path ):
131
def normpath ( path ):
132
return pconvert ( os . path . normpath ( path ))
132
return pconvert ( os . path . normpath ( path ))
133
133
134
normcase = os . path . normcase
135
134
def realpath ( path ):
136
def realpath ( path ):
135
'''
137
'''
136
Returns the true, canonical file system path equivalent to the given
138
Returns the true, canonical file system path equivalent to the given
tests/test-convert-bzr-directories.t
0
+3
-3
@@
-165,15
+165,15
b' divergent nested renames (issue3089)'
165
a => b
165
a => b
166
$ mkdir a
166
$ mkdir a
167
$ bzr add a
167
$ bzr add a
168
adding a
168
add ( ed | ing ) a ( re )
169
$ bzr mv b / c a / c
169
$ bzr mv b / c a / c
170
b / c => a / c
170
b / c => a / c
171
$ bzr status
171
$ bzr status
172
added :
172
added :
173
a /
173
a /
174
renamed :
174
renamed :
175
a / => b /
175
a / ? => b / ? ( re )
176
a / c / => a / c /
176
a / c / ? => a / c / ? ( re )
177
$ bzr commit - q - m 'Divergent renames'
177
$ bzr commit - q - m 'Divergent renames'
178
$ cd ..
178
$ cd ..
179
$ hg convert source source - hg
179
$ hg convert source source - hg
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