A man appeared from custody at Jedburgh Sheriff Court on Friday accused of two offences.
Jason Bradshaw, 38, of North Bridge Street, denies shouting and swearing and acting in a threatening or abusive manner earlier that day.
He also pleaded not guilty to a charge of giving the police a false name and attempting to pervert the course of justice.
A trial was set for November 20 with an intermediate hearing on October 24.
Bradshaw was released on bail with special conditions not to enter the Mill Port area and contacting a named woman.