changeset 13224:0a1eefaf98f2 stable

strip: typo bugfix related to '--nobackup -> --no-backup' rename (issue2377) '--no-backup' in cmdline means *'no_backup'* in code'
author Jacek Sowiński <mruwek.gentoo@vcf.pl>
date Fri, 31 Dec 2010 15:14:51 +0100
parents 1fb95537ca58
children e3bf16703e26
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Sat Jan 01 18:15:17 2011 -0600
+++ b/hgext/mq.py	Fri Dec 31 15:14:51 2010 +0100
@@ -2504,7 +2504,7 @@
     backup = 'all'
     if opts.get('backup'):
         backup = 'strip'
-    elif opts.get('no-backup') or opts.get('nobackup'):
+    elif opts.get('no_backup') or opts.get('nobackup'):
         backup = 'none'
 
     cl = repo.changelog