comparison mercurial/commands.py @ 13235:6bf39d88c857

rename util.unlink to unlinkpath
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 02 Jan 2011 19:34:41 +0100
parents 0935ff767285
children 716ce1ea6fec
comparison
equal deleted inserted replaced
13234:0935ff767285 13235:6bf39d88c857
3248 if repo.dirstate[f] == 'a': 3248 if repo.dirstate[f] == 'a':
3249 repo.dirstate.forget(f) 3249 repo.dirstate.forget(f)
3250 continue 3250 continue
3251 audit_path(f) 3251 audit_path(f)
3252 try: 3252 try:
3253 util.unlink(repo.wjoin(f)) 3253 util.unlinkpath(repo.wjoin(f))
3254 except OSError: 3254 except OSError:
3255 pass 3255 pass
3256 repo.dirstate.remove(f) 3256 repo.dirstate.remove(f)
3257 3257
3258 normal = None 3258 normal = None