Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The code is not checked into your local branch
  • The -b branch is not pointing to the remote branch. In the example above, "trunk" is specified as the branch, which is the local branch. The correct value for the -b (--branch) option is the remote branch. "git branch -r" gives the list of the remote branch names.
  1. When I run the script, it throws the following error and exits
    Code Block
    
    Error uploading diff
    
    Your review request still exists, but the diff is not attached.
    
    One of the most common root causes of this error are that the git remote branches are not up-to-date. Since the script already does that, it is probably due to some other problem. You can run the script with the --debug option that will make post-review run in the debug mode and list the root cause of the issue.