...
Reviews are automatically updated so long as commits contain the same Change ID. If your review has any findings, rebase the commits as appropriate, making sure the Change ID is preserved:
Code Block $ git rebase -i HEAD~{num}
Re-push the changes:
Code Block $ git review
or:
Code Block $ git push asterisk:{repo} HEAD:refs/for/master
Troubleshooting
git-review
Problem: attempting to run git review
results in something like the following:
No Format |
---|
Traceback (most recent call last):
File "/usr/local/bin/git-review", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.6/dist-packages/git_review/cmd.py", line 1132, in main
(os.path.split(sys.argv[0])[-1], get_version()))
File "/usr/local/lib/python2.6/dist-packages/git_review/cmd.py", line 180, in get_version
provider = pkg_resources.get_provider(requirement)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 176, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: git-review |
Solution: Run
No Format |
---|
sudo pip install --upgrade setuptools |
on your command line