mercurial/hg.py
changeset 34805 c4a0480d1951
parent 34705 23ed47a895d5
child 34815 68e0bcb90357
equal deleted inserted replaced
34804:149109c96904 34805:c4a0480d1951
   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