changeset 50263 | 798e4314ddd9 |
parent 50203 | ee7a7155de10 |
child 50370 | 4fafc6642bee |
--- a/mercurial/cmdutil.py Thu Mar 02 14:45:29 2023 +0100 +++ b/mercurial/cmdutil.py Thu Mar 02 14:45:39 2023 +0100 @@ -2031,7 +2031,9 @@ repo.setparents(p1.node(), p2.node()) if opts.get(b'exact') or importbranch: - repo.dirstate.setbranch(branch or b'default') + repo.dirstate.setbranch( + branch or b'default', repo.currenttransaction() + ) partial = opts.get(b'partial', False) files = set()