--- a/hgext/shelve.py Tue Oct 01 12:20:31 2013 +0200
+++ b/hgext/shelve.py Thu Aug 29 09:22:15 2013 -0700
@@ -156,7 +156,11 @@
# check modified, added, removed, deleted only
for flist in repo.status(match=match)[:4]:
shelvedfiles.extend(flist)
- return repo.commit(message, user, opts.get('date'), match)
+ saved, repo.mq.checkapplied = repo.mq.checkapplied, False
+ try:
+ return repo.commit(message, user, opts.get('date'), match)
+ finally:
+ repo.mq.checkapplied = saved
if parent.node() != nullid:
desc = parent.description().split('\n', 1)[0]