def update(self):
        if self.rev is None and self.newest:
            # Do an update of the current branch
            if self.verbose:
                print "Pulling updates from origin"
            if not self.cache_install and self.download_cache:
                self._update_cache()
            self._update_part()
            if self.recursive:
                self._update_part_submodules()
            os.chdir(self.options['location'])
            if self.as_egg:
                self._install_as_egg()
        else:
            # "newest" is also automatically disabled if "offline"
            # is set.
            if self.verbose:
                print "Pulling disable for this part"
Clean metadata/cache
dataset/ETHPy150Open zerok/zerokspot.gitrecipe/zerokspot/recipe/git/__init__.py/Recipe.update--crossover with--dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/util/pkg_managers.py/PackageManager.clean