mercurial/commands.py
changeset 14529 e7a1814854b9
parent 14511 30506b894359
child 14532 2498128821a9
equal deleted inserted replaced
14528:0bd69e37fd20 14529:e7a1814854b9
  3157 
  3157 
  3158             if not haspatch:
  3158             if not haspatch:
  3159                 raise util.Abort(_('no diffs found'))
  3159                 raise util.Abort(_('no diffs found'))
  3160 
  3160 
  3161         if msgs:
  3161         if msgs:
  3162             repo.opener.write('last-message.txt', '\n* * *\n'.join(msgs))
  3162             repo.savecommitmessage('\n* * *\n'.join(msgs))
  3163     finally:
  3163     finally:
  3164         release(lock, wlock)
  3164         release(lock, wlock)
  3165 
  3165 
  3166 @command('incoming|in',
  3166 @command('incoming|in',
  3167     [('f', 'force', None,
  3167     [('f', 'force', None,