comparison mercurial/dirstate.py @ 4081:e6d26e71f049

merge with crew-stable
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 13 Feb 2007 10:25:45 -0200
parents dda03b2d9ef1 31a679ae7eef
children e287d61dd268
comparison
equal deleted inserted replaced
4073:95ffa36d1d2a 4081:e6d26e71f049
387 387
388 if ignored: imatch = match 388 if ignored: imatch = match
389 389
390 # self.root may end with a path separator when self.root == '/' 390 # self.root may end with a path separator when self.root == '/'
391 common_prefix_len = len(self.root) 391 common_prefix_len = len(self.root)
392 if not self.root.endswith('/'): 392 if not self.root.endswith(os.sep):
393 common_prefix_len += 1 393 common_prefix_len += 1
394 # recursion free walker, faster than os.walk. 394 # recursion free walker, faster than os.walk.
395 def findfiles(s): 395 def findfiles(s):
396 work = [s] 396 work = [s]
397 while work: 397 while work: