comparison mercurial/util.py @ 2953:3d5547845158

fix issue 322. do not allow to add files that shadow files or directories already in dirstate.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 18 Aug 2006 21:03:29 -0700
parents c2932ad5476a
children 494521a3f142
comparison
equal deleted inserted replaced
2949:7356fa3cff2c 2953:3d5547845158
993 if path.startswith(sc): 993 if path.startswith(sc):
994 path = path[len(sc):] 994 path = path[len(sc):]
995 if path.startswith('//'): 995 if path.startswith('//'):
996 path = path[2:] 996 path = path[2:]
997 return path 997 return path
998