comparison fetch_command.py @ 187:68e506bc3a43

fetch_command: fix file exclusion in very stupid mode
author Patrick Mezard <pmezard@gmail.com>
date Wed, 21 Jan 2009 20:10:32 -0600
parents 6266ba36ee15
children f48cd62a9de4
comparison
equal deleted inserted replaced
186:6266ba36ee15 187:68e506bc3a43
495 else: 495 else:
496 branchprefix = branchpath + '/' 496 branchprefix = branchpath + '/'
497 for path, e in r.paths.iteritems(): 497 for path, e in r.paths.iteritems():
498 if not path.startswith(branchprefix): 498 if not path.startswith(branchprefix):
499 continue 499 continue
500 if not hg_editor._is_path_valid(branchprefix + path): 500 if not hg_editor._is_path_valid(path):
501 continue 501 continue
502 kind = svn.checkpath(path, r.revnum) 502 kind = svn.checkpath(path, r.revnum)
503 path = path[len(branchprefix):] 503 path = path[len(branchprefix):]
504 if kind == 'f': 504 if kind == 'f':
505 files.append(path) 505 files.append(path)