##// END OF EJS Templates
mq: use `set_tracked` in `qrename`...
marmoute -
r48398:305356a7 default
parent child Browse files
Show More
@@ -3641,7 +3641,7 b' def rename(ui, repo, patch, name=None, *'
3641 with r.wlock():
3641 with r.wlock():
3642 if r.dirstate[patch] == b'a':
3642 if r.dirstate[patch] == b'a':
3643 r.dirstate.drop(patch)
3643 r.dirstate.drop(patch)
3644 r.dirstate.add(name)
3644 r.dirstate.set_tracked(name)
3645 else:
3645 else:
3646 wctx.copy(patch, name)
3646 wctx.copy(patch, name)
3647 wctx.forget([patch])
3647 wctx.forget([patch])
General Comments 0
You need to be logged in to leave comments. Login now