hgext/mq.py
branchstable
changeset 13224 0a1eefaf98f2
parent 13035 f08df4d38442
child 13228 d18a748d9c33
child 13369 69238d0ca60f
equal deleted inserted replaced
13223:1fb95537ca58 13224:0a1eefaf98f2
  2502     Return 0 on success.
  2502     Return 0 on success.
  2503     """
  2503     """
  2504     backup = 'all'
  2504     backup = 'all'
  2505     if opts.get('backup'):
  2505     if opts.get('backup'):
  2506         backup = 'strip'
  2506         backup = 'strip'
  2507     elif opts.get('no-backup') or opts.get('nobackup'):
  2507     elif opts.get('no_backup') or opts.get('nobackup'):
  2508         backup = 'none'
  2508         backup = 'none'
  2509 
  2509 
  2510     cl = repo.changelog
  2510     cl = repo.changelog
  2511     revs = set(cmdutil.revrange(repo, revs))
  2511     revs = set(cmdutil.revrange(repo, revs))
  2512     if not revs:
  2512     if not revs: