Mercurial > hg-stable
comparison tests/test-log.t @ 22407:d259322a394b
dirstate: add exception when calling setparent without begin/end (API)
Adds an exception when calling dirstate.setparent without having first called
dirstate.beginparentchange. This will prevent people from writing code that
modifies the dirstate parent without considering the transactionality of their
change.
This will break third party extensions that call setparents.
author | Durham Goode <durham@fb.com> |
---|---|
date | Fri, 05 Sep 2014 11:37:44 -0700 |
parents | 739095270f48 |
children | fab9dda0f2a3 |
comparison
equal
deleted
inserted
replaced
22406:2e47e461d2ca | 22407:d259322a394b |
---|