diff hgext/closehead.py @ 40097:12a72729678e

closehead: fix close-head -r listification Differential Revision: https://phab.mercurial-scm.org/D4908
author Joerg Sonnenberger <joerg@bec.de>
date Mon, 08 Oct 2018 20:07:13 +0200
parents cd5f2e615262
children a17c07793dcd
line wrap: on
line diff
--- a/hgext/closehead.py	Thu Aug 23 12:25:54 2018 +0900
+++ b/hgext/closehead.py	Mon Oct 08 20:07:13 2018 +0200
@@ -28,7 +28,7 @@
 
 commitopts = cmdutil.commitopts
 commitopts2 = cmdutil.commitopts2
-commitopts3 = [('r', 'rev', '',
+commitopts3 = [('r', 'rev', [],
                _('revision to check'), _('REV'))]
 
 @command('close-head|close-heads', commitopts + commitopts2 + commitopts3,