There's a bug in RBTools 0.7.4 when using 'rbt patch' with the --px option.
The problem is the option string isn't being converted to an integer:
$ rbt --version
$ rbt patch --px 4 --repository-type perforce -d 128385
File "C:\Python27\lib\site-packages\rbtools\clients__init__.py", line 197,
cmd.append('-p%d' % p_num)
TypeError: %d format: a number is required, not str
The simplest fix is:
< cmd.append('-p%d' % p_num)
> cmd.append('-p%d' % int(p_num))
The problem is also in 0.7.5 alpha.
I opened a ticket here:
But I wanted to post it here as well for visibility since others may run
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.