mercurial/subrepo.py
changeset 14999 f6a737357195
parent 14963 c035f1c53e39
parent 14994 a115b5ee9c63
child 15061 86380f24e697
equal deleted inserted replaced
14995:8d928799dab5 14999:f6a737357195
   604             props = s[0].getAttribute('props')
   604             props = s[0].getAttribute('props')
   605             path = e.getAttribute('path')
   605             path = e.getAttribute('path')
   606             if item == 'external':
   606             if item == 'external':
   607                 externals.append(path)
   607                 externals.append(path)
   608             if (item not in ('', 'normal', 'unversioned', 'external')
   608             if (item not in ('', 'normal', 'unversioned', 'external')
   609                 or props not in ('', 'none')):
   609                 or props not in ('', 'none', 'normal')):
   610                 changes.append(path)
   610                 changes.append(path)
   611         for path in changes:
   611         for path in changes:
   612             for ext in externals:
   612             for ext in externals:
   613                 if path == ext or path.startswith(ext + os.sep):
   613                 if path == ext or path.startswith(ext + os.sep):
   614                     return True, True
   614                     return True, True