'Create a new history with the given name
and refresh the history panel.'

@web.expose
def history_new(self, trans, name=None):

    trans.new_history(name=name)
    trans.log_event(('Created    new    History,    id:    %s.' % str(trans.history.id)))
    return trans.show_message('New    history    created', refresh_frames=['history'])
