##// END OF EJS Templates
branch: pass current transaction when writing branch in import
marmoute -
r51158:798e4314 default
parent child Browse files
Show More
@@ -2031,7 +2031,9 b' def tryimportone(ui, repo, patchdata, pa'
2031 repo.setparents(p1.node(), p2.node())
2031 repo.setparents(p1.node(), p2.node())
2032
2032
2033 if opts.get(b'exact') or importbranch:
2033 if opts.get(b'exact') or importbranch:
2034 repo.dirstate.setbranch(branch or b'default')
2034 repo.dirstate.setbranch(
2035 branch or b'default', repo.currenttransaction()
2036 )
2035
2037
2036 partial = opts.get(b'partial', False)
2038 partial = opts.get(b'partial', False)
2037 files = set()
2039 files = set()
General Comments 0
You need to be logged in to leave comments. Login now