The board of supervisors or council of the locality desiring to consolidate into a county or city, or any county and all incorporated towns located entirely therein desiring to consolidate into a county or city may enter into a joint agreement for such consolidation, setting forth in such consolidation agreement the following:
Each governing body may appoint an advisory committee composed of three persons to assist it in the preparation of an agreement, and may pay the members of the advisory committee reasonable compensation, which shall be approved by the circuit court for the locality.
The original of the consolidation agreement, together with a petition on behalf of the several governing bodies, signed by the chairman and the mayor and the clerk of each of the bodies, asking that a referendum on the question of consolidation of the localities, shall be filed with a judge of a circuit court having jurisdiction over any of the localities proposing to consolidate; however, when the consolidation agreement proposes the creation of a consolidated city that includes at least one county, the petition shall ask for proceedings pursuant to §§ 15.2-3521 through 15.2-3528 prior to such referendum. A copy of the agreement shall be filed with the judge of each circuit court having jurisdiction in the localities that are parties to the agreement.
Va. Code § 15.2-3529