--- a/hgext/mq.py Wed Sep 26 22:17:34 2018 -0700
+++ b/hgext/mq.py Wed Sep 26 10:38:37 2018 -0700
@@ -980,10 +980,10 @@
files += mergedsubstate.keys()
match = scmutil.matchfiles(repo, files or [])
- oldtip = repo['tip']
+ oldtip = repo.changelog.tip()
n = newcommit(repo, None, message, ph.user, ph.date, match=match,
force=True)
- if repo['tip'] == oldtip:
+ if repo.changelog.tip() == oldtip:
raise error.Abort(_("qpush exactly duplicates child changeset"))
if n is None:
raise error.Abort(_("repository commit failed"))