equal
deleted
inserted
replaced
756 |
756 |
757 This returns whether conflict is detected at updating or not. |
757 This returns whether conflict is detected at updating or not. |
758 """ |
758 """ |
759 if updatecheck is None: |
759 if updatecheck is None: |
760 updatecheck = ui.config('commands', 'update.check') |
760 updatecheck = ui.config('commands', 'update.check') |
761 if updatecheck is None: |
|
762 # pre-4.4 compat on the old spelling of this config item |
|
763 updatecheck = ui.config('experimental', 'updatecheck') |
|
764 if updatecheck not in ('abort', 'none', 'linear', 'noconflict'): |
761 if updatecheck not in ('abort', 'none', 'linear', 'noconflict'): |
765 # If not configured, or invalid value configured |
762 # If not configured, or invalid value configured |
766 updatecheck = 'linear' |
763 updatecheck = 'linear' |
767 with repo.wlock(): |
764 with repo.wlock(): |
768 movemarkfrom = None |
765 movemarkfrom = None |