Migrate config file before running check config.
Go back to using subprocess.Popen on new python.

Using popen2 was causing ugly deprecation warnings.
Fix indentation error.
Print a friendly message if python < 2.5
Improve the version checking to use (2, 5)
More work on version checking.

1. Now check for minimum rbtools as well as ptyhon.
2. Use constant variables for the versions instead of hard-coding.
More 2.4 compatibility gyrations.

1. Improved the version message to warn users about updating python.

2. Replaced the wonderful 'with' statements with the awful nested 'try'
   statements to prevent syntax errors for those running on 2.4.
rb2: add a diff command

The -n,--output-diff option wasn't properly hooked up. In attempting to fix that, I realized it didn't fit into the UI pattern we had established and was messy. Now we have a proper diff command which will diff the default change list, or an optional change list number provided by the user.

Need to implement this in post next.
Reference to Update in help should read Edit.
Add a diff command.

The diff command will produce a Review Board compatible diff of
the default change list, or a change list number provided. It
doesn't create or modify any review.
Merge branch 'do-diff' into beta
Remove testing-done option.

I never hooked this up and since it wasn't in the old rb, I'm not
going to support it.
If server option is used without protocol, assume https.

Everyone is used to the rb script where you specify the server
without a protocol string. This change should make the transition
a bit easier.
Handle a full url for the server argument.

The old rb just takes a host name, but post and post-review expect
a full url. Allow either so people don't pull their hair out.
Make update-all the default action for edit.
Only upload the diff once.

The diffs for new reviews was being uploaded twice, once in create
and again in edit.  This fixes that by only uploading the diffs
once.
Capture URLErrors in get_server to avoid ugly stack dumps.
Improve version checking and reporting.

A new --version option will print the version of post and the
version of RBTools being used. The message for an older RBTools
is improved and now prints the version on the system.
Add --rid option.

This change allows you to upload a diff from a specific
change list to a specific review using the rid number.
It also associates the new change list with the review.
Don't update the change list number in the review when using --rid.

After more thought, I've decided not to update the change list in the
review. Using the --rid option, someone could upload the same change
list to multiple reviews which could be bad if we changed the cl
associated with those reviews.