code: def update(self, branch='default'):
          '''
          Ensure we are using the latest revision in the hg repository
          '''
          log.debug('Updating hg repo from hg_pillar module (pull)')
          self.repo.pull()
          log.debug('Updating hg repo from hg_pillar module (update)')
          self.repo.update(branch, clean=Truef update(self, branch='default'):
          '''
          Ensure we are using the latest revision in the hg repository
          '''
          log.debug('Updating hg repo from hg_pillar module (pull)')
          self.repo.pull()
          log.debug('Updating hg repo from hg_pillar module (update)')
          self.repo.update(branch, clean=True)
docs: Ensure we are using the latest revision in the hg repository