add tests for looking at repos state
sketch out the beginnings of merge support, nothing much really is working yet