diff tests/test-url.py @ 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 56b1f39dd0c1
children 4b0fc75f9403
line wrap: on
line diff