Mercurial > hg
comparison COPYING @ 26858:9f272bf3b342 stable
hooks: always include HG_PENDING
Previously we would only include HG_PENDING in the hook args if the
transaction's writepending() actually wrote something. This is a bad criteria,
since it's possible that a previous call to writepending() wrote stuff and the
hooks want to still see that.
The solution is to always have hooks execute within the scope of the pending
changes by always putting HG_PENDING in the environment.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 03 Nov 2015 16:58:13 -0800 |
parents | 8c8b55733cbd |
children |
comparison
equal
deleted
inserted
replaced
26857:e5a1df51bb25 | 26858:9f272bf3b342 |
---|