* What steps will reproduce the problem?
1. Invoke post-review with a server (or have server in config file) but
without a change list number
* What is the expected output? What do you see instead?
Expected an error message:
Unable to find a Review Board server for this source code tree.
Actually got:
{{{
Traceback (most recent call last):
File "C:\p4\p4-tss\tools\main\dev\post-review.py", line 860, in ?
main(sys.argv[1:])
File "C:\p4\p4-tss\tools\main\dev\post-review.py", line 819, in main
parser.error("specify the change number of a pending changeset")
NameError: global name 'parser' is not defined
}}}
* What operating system are you using? What browser?
Win32, Python 2.5.1
Please provide any additional information below.
Looks like a refactoring bug from some time back. I'm attaching a diff that
I believe will resolve.