Show More
@@ -1328,7 +1328,10 def bundle(ui, repo, fname, dest=None, * | |||
|
1328 | 1328 | """ |
|
1329 | 1329 | revs = None |
|
1330 | 1330 | if 'rev' in opts: |
|
1331 |
revs = |
|
|
1331 | revstrings = opts['rev'] | |
|
1332 | revs = scmutil.revrange(repo, revstrings) | |
|
1333 | if revstrings and not revs: | |
|
1334 | raise error.Abort(_('no commits to bundle')) | |
|
1332 | 1335 | |
|
1333 | 1336 | bundletype = opts.get('type', 'bzip2').lower() |
|
1334 | 1337 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now