equal
deleted
inserted
replaced
577 if len(freeargs) > 1: |
577 if len(freeargs) > 1: |
578 raise util.Abort( |
578 raise util.Abort( |
579 _('only one repo argument allowed with --outgoing')) |
579 _('only one repo argument allowed with --outgoing')) |
580 else: |
580 else: |
581 revs.extend(freeargs) |
581 revs.extend(freeargs) |
|
582 if len(revs) == 0: |
|
583 histeditdefault = ui.config('histedit', 'defaultrev') |
|
584 if histeditdefault: |
|
585 revs.append(histeditdefault) |
582 if len(revs) != 1: |
586 if len(revs) != 1: |
583 raise util.Abort( |
587 raise util.Abort( |
584 _('histedit requires exactly one ancestor revision')) |
588 _('histedit requires exactly one ancestor revision')) |
585 |
589 |
586 |
590 |