##// END OF EJS Templates
debugsetparents: remove redundant invocations of begin/endparentchange...
liscju -
r28654:5474dc73 default
parent child Browse files
Show More
@@ -3502,9 +3502,7 b' def debugsetparents(ui, repo, rev1, rev2'
3502 r2 = scmutil.revsingle(repo, rev2, 'null').node()
3502 r2 = scmutil.revsingle(repo, rev2, 'null').node()
3503
3503
3504 with repo.wlock():
3504 with repo.wlock():
3505 repo.dirstate.beginparentchange()
3506 repo.setparents(r1, r2)
3505 repo.setparents(r1, r2)
3507 repo.dirstate.endparentchange()
3508
3506
3509 @command('debugdirstate|debugstate',
3507 @command('debugdirstate|debugstate',
3510 [('', 'nodates', None, _('do not display the saved mtime')),
3508 [('', 'nodates', None, _('do not display the saved mtime')),
General Comments 0
You need to be logged in to leave comments. Login now