Helper function to count repository changes
Fix mercurial remote incoming/outgoing sigils