changeset 15909 | 8435fa20dff9 |
parent 15905 | 634d49a8b6db |
parent 15900 | 29defa7d20f6 |
child 16231 | ce292f1379ba |
--- a/hgext/largefiles/lfcommands.py Wed Jan 18 14:56:52 2012 -0600 +++ b/hgext/largefiles/lfcommands.py Wed Jan 18 15:07:15 2012 -0600 @@ -466,7 +466,7 @@ # largefile is converted back to a normal file: the standin # disappears, but a new (normal) file appears as the lfile. if os.path.exists(abslfile) and lfile not in repo[None]: - os.unlink(abslfile) + util.unlinkpath(abslfile) ret = -1 state = repo.dirstate[lfutil.standin(lfile)] if state == 'n':