equal
deleted
inserted
replaced
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: |