equal
deleted
inserted
replaced
1417 start = None |
1417 start = None |
1418 |
1418 |
1419 closed = opts.get('closed') |
1419 closed = opts.get('closed') |
1420 hideinactive, _heads = opts.get('active'), None |
1420 hideinactive, _heads = opts.get('active'), None |
1421 if not branchrevs: |
1421 if not branchrevs: |
1422 if closed: |
|
1423 raise error.Abort(_('you must specify a branch to use --closed')) |
|
1424 # Assume we're looking repo-wide heads if no revs were specified. |
|
1425 heads = repo.heads(start) |
1422 heads = repo.heads(start) |
1426 |
1423 |
1427 else: |
1424 else: |
1428 if hideinactive: |
1425 if hideinactive: |
1429 dagheads = repo.heads(start) |
1426 dagheads = repo.heads(start) |