Show More
@@ -3128,6 +3128,9 b' def debugrebuilddirstate(ui, repo, rev, ' | |||
|
3128 | 3128 | """ |
|
3129 | 3129 | ctx = scmutil.revsingle(repo, rev) |
|
3130 | 3130 | with repo.wlock(): |
|
3131 | if repo.currenttransaction() is not None: | |
|
3132 | msg = b'rebuild the dirstate outside of a transaction' | |
|
3133 | raise error.ProgrammingError(msg) | |
|
3131 | 3134 | dirstate = repo.dirstate |
|
3132 | 3135 | changedfiles = None |
|
3133 | 3136 | # See command doc for what minimal does. |
General Comments 0
You need to be logged in to leave comments.
Login now