The St. Paul and Minneapolis mayors have called on the state to repeal a law that bars cities from regulating firearms.