hgext3rd/evolve/utility.py
changeset 3758 131758265150
parent 3697 6aff4bb3970d
child 3899 9a6a767bef9d
equal deleted inserted replaced
3757:2bc60fcac354 3758:131758265150
   150               ui.interactive is not set
   150               ui.interactive is not set
   151     """
   151     """
   152 
   152 
   153     # ui.interactive is not set, fallback to default behavior and avoid showing
   153     # ui.interactive is not set, fallback to default behavior and avoid showing
   154     # the prompt
   154     # the prompt
   155     if not ui.configbool('ui', 'interactive'):
   155     if not ui.interactive():
   156         return None
   156         return None
   157 
   157 
   158     promptmsg = customheader + "\n"
   158     promptmsg = customheader + "\n"
   159     for idx, rev in enumerate(revs):
   159     for idx, rev in enumerate(revs):
   160         curctx = repo[rev]
   160         curctx = repo[rev]