branch | stable |
changeset 24822 | 8678b1eafbcf |
parent 24662 | b5cd8c2f6e65 |
child 24961 | 8d81b36fa6ce |
--- a/mercurial/changelog.py Mon Apr 20 15:27:55 2015 +0200 +++ b/mercurial/changelog.py Mon Apr 20 17:16:22 2015 +0200 @@ -267,6 +267,8 @@ self.checkinlinesize(tr) def readpending(self, file): + if not self.opener.exists(file): + return # no pending data for changelog r = revlog.revlog(self.opener, file) self.index = r.index self.nodemap = r.nodemap