Windows: Git uses the Rbtools tool review

Source: Internet
Author: User

For Windows:

1. Download and install Rbtools with python2.7:

: https://downloads.reviewboard.org/releases/RBTools/0.7 Select EXE file

Path after installation: C:\Program Files (x86) \rbtools

2. Configure environment variables: RBT and Python:c:\program files (x86) \rbtools\python27c:\program files (x86) \rbtools\bin 3. Encoding problem: Do not add the following files, will error code
\rbtools\python27\lib\site-packages directory under the new Add File sitecustomize.py, the content is as follows:

#file name:sitecustomize.py

Import Sys

Sys.setdefaultencoding (' Utf-8 ')

But set Utf-8 will be error, instead of gb2312, can execute RBT command, but the message is submitted in Chinese will be garbled, the code submitted will not garbled.

4. Submit 5.review Statement: Document: HTTPS://WWW.REVIEWBOARD.ORG/DOCS/RBTOOLS/0.6/RBT/COMMANDS/POST/RBT post--username=***-- password=***--tracking-branch=***--server http://***--repository-url * * *

Windows: Git uses the Rbtools tool review

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.