Robertson also admitted assault by beating against a man on August 11 in Guildhall Walk, Portsmouth.
Magistrates imposed a two-week sentence suspended for 12 months.
n Robert Taylor, 46, of no fixed address, was jailed for six months.
He admitted having a bladed article in West Street, Fareham, on August 30.
The lock knife was ordered to be destroyed.
Taylor must pay a £115 victim surcharge.
A two-year criminal behaviour order bans him from having an open alcohol can or bottle in a public place.
He is also banned from an area of Fareham and must not sit or loiter outside.
n Mickala Sprake, 29, of Auckland Road East, Southsea, admitted assaulting a PC on July 31.
Magistrates imposed an eight-week sentence suspended for a year with £50 compensation to pay.
Sprake also admitted breaching a restraining order on the same day by going to Woodhay Walk in Havant.
She was handed a four-week concurrent suspended sentence.
n Benjamin Shaw, 28, of Curlew Gardens, Waterlooville, admitted driving without insurance.
He was fined £390 for the offence, in Dell Piece East, Waterlooville, on March 1.
Magistrates imposed a £39 victim surcharge and £200 prosecution costs.
He was banned from driving for six months.
n Ebrima Dampha, 37, of Trinity Street, Fareham, admitted assault by beating against a woman.
He committed the offence on October 14 in Trinity Street.
Magistrates jailed Dampha for eight weeks.
n Matthew Melhuish, 26, of Chewter Close, Southsea, admitted assault by beating against a man on July 30.
Magistrates imposed a 17-week prison sentence with £250 compensation to pay.
The assault happened in Clarence Parade, Southsea.
n Michael Gorman, 51, of no fixed address, admitted breaching a restraining order by going to an address in Havant on November 22.
Magistrates jailed him for 70 days.
Gorman must pay a £115 victim surcharge.
n Suzanne Fitzmaurice, 54, of St John’s Close, Hayling Island, admitted theft of CDs and alcohol from Asda.
She was given a 12-month conditional discharge with a £20 victim surcharge and £40 prosecution costs.