mercurial/shelve.py
changeset 42777 5c285c8e4f98
parent 42750 d684449eef67
child 43076 2372284d9457
--- a/mercurial/shelve.py	Tue Aug 20 18:35:16 2019 +0300
+++ b/mercurial/shelve.py	Thu Aug 15 20:43:25 2019 +0530
@@ -942,6 +942,8 @@
     if opts.get("name"):
         shelved.append(opts["name"])
 
+    if interactive and opts.get('keep'):
+        raise error.Abort(_('--keep on --interactive is not yet supported'))
     if abortf or continuef:
         if abortf and continuef:
             raise error.Abort(_('cannot use both abort and continue'))