author | Siddharth Agarwal <sid0@fb.com> |
Mon, 30 Nov 2015 10:05:09 -0800 | |
changeset 27129 | 1bf1a7c3df43 |
parent 27128 | efceacd6a0c6 |
child 27130 | 6f045b563fa5 |
--- a/mercurial/merge.py Mon Nov 30 18:47:33 2015 +0000 +++ b/mercurial/merge.py Mon Nov 30 10:05:09 2015 -0800 @@ -288,6 +288,8 @@ @util.propertycache def otherctx(self): + if self._other is None: + raise RuntimeError("localctx accessed but self._local isn't set") return self._repo[self._other] def active(self):