##// END OF EJS Templates
lfconvert: use a `changing_parents` context to clear the dirstate...
marmoute -
r51005:a8602987 default
parent child Browse files
Show More
@@ -219,7 +219,8 b' def lfconvert(ui, src, dest, *pats, **op'
219 success = True
219 success = True
220 finally:
220 finally:
221 if tolfile:
221 if tolfile:
222 with rdst.dirstate.changing_files(rdst):
222 # XXX is this the right context semantically ?
223 with rdst.dirstate.changing_parents(rdst):
223 rdst.dirstate.clear()
224 rdst.dirstate.clear()
224 release(dstlock, dstwlock)
225 release(dstlock, dstwlock)
225 if not success:
226 if not success:
General Comments 0
You need to be logged in to leave comments. Login now