Consolidations of cities or towns, and the annexations of all of a city or town by another city or town, are exempted from compliance with this chapter.