When using long options, you should add an = character between the option and the value. You can also use "-g yes" instead of passing both guess options:
rbt post ba53c49..30126f8c -g yes --tracking-branch=origin/master --server= http://example.com/ On Thu, Sep 4, 2014 at 11:53 PM, Jillala Srinivas <[email protected] > wrote: > Thank you Chris, > > As suggested, configured .reviewboradrc for the repo. Still not able to > create review for the code already committed to remote. > After these changes I am facing the different error message: > > rbt post ba53c49..30126f8c --guess-summary --guess-description > --tracking-branch origin/master --server http://example.com/ > CRITICAL: Too many revisions specified > > > Is there something still missing? Please suggest. > > Regds, > Srinivas J. > > > On Wednesday, September 3, 2014 9:36:59 PM UTC+3, Christian Hammond wrote: >> >> Hi, >> >> Do you have a .reviewboardrc configured for that repository? >> >> We recommend creating one, and using that to set the server name and the >> repository name, in order to ensure that RBTools can quickly and >> consistently locate the Review Board server and repository you want to use. >> >> https://www.reviewboard.org/docs/rbtools/dev/rbt/ >> configuration/#repository-configuration >> >> Christian >> >> -- >> Christian Hammond - [email protected] >> Review Board - http://www.reviewboard.org >> Beanbag, Inc. - http://www.beanbaginc.com >> >> On September 3, 2014 at 12:00:00 AM, Jillala Srinivas ( >> [email protected]) wrote: >> >> Hi, >> >> Thanks. Unfortunately there are no debug messages are displayed for the >> failed cases. >> Review Board 1.7.26 >> >> rbt post 986fb30aae..58184a45a --guess-summary --guess-description >> --server http://xyz.abc/ --debug >> Unable to find a Review Board server for this source code tree. >> >> >> On Wednesday, September 3, 2014 1:44:54 AM UTC+3, David Trowbridge wrote: >>> >>> It would be very helpful if you could give us the --debug output for the >>> commands that fail (rather than the command that succeeds). >>> >>> -David >>> >>> >>> On Tue, Sep 2, 2014 at 6:54 AM, Jillala Srinivas <[email protected]> >>> wrote: >>> >>>> Hi , >>>> >>>> We are using git as Version Control and we are using the rbt tool for >>>> raising the review requests. >>>> >>>> Version info >>>> RBTools 0.6.2 >>>> git version 1.8.3.1 >>>> >>>> >>>> 1. rbt post working fine for commits which are not pushed to remote. >>>> 2. But same fails when we try to raise review with already pushed code. >>>> Below are the various scenarios tried for this: >>>> 1. rbt post --guess-summary --guess-description >>>> --tracking-branch origin/master --revision-range= 986fb30aae..58184a45a >>>> --server Myreviewboradserver >>>> 2. rbt post R1..R2 --guess-summary --guess-description >>>> 3. rbt post R1..R2 --guess-summary --guess-description >>>> --parent=origin/master >>>> >>>> In all above cases, it is failing by saying the error message: "Unable >>>> to find a Review Board server for this source code tree." >>>> >>>> >>>> But on the same working copy, if we generate review before pushing the >>>> commits to remote, it worked as expected: >>>> [srij@lccscm Demo]$ rbt post --guess-summary --guess-description >>>> --server http://xyz.com/ --debug >>>> >>> RBTools 0.6.2 >>>> >>> Python 2.7.5 (default, Nov 12 2013, 16:18:42) >>>> [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] >>>> >>> Running on Linux-3.11.6-201.fc19.x86_64- >>>> x86_64-with-fedora-19-Schrödingerâs_Cat >>>> >>> Home = /home/srij >>>> >>> Current directory = /home/srij/gitlab/Demo >>>> >>> Checking for a Subversion repository... >>>> >>> Running: svn info --non-interactive >>>> >>> Command exited with rc 1: ['svn', 'info', '--non-interactive'] >>>> svn: E155007: '/home/srij/gitlab/Demo' is not a working copy >>>> --- >>>> >>> Checking for a Git repository... >>>> >>> Running: git rev-parse --git-dir >>>> >>> Running: git config core.bare >>>> >>> Running: git rev-parse --show-toplevel >>>> >>> Running: git symbolic-ref -q HEAD >>>> >>> Running: git config --get branch.master.merge >>>> >>> Running: git config --get branch.master.remote >>>> >>> Running: git config --get remote.origin.url >>>> >>> repository info: Path: [email protected]/Demo.git, Base path: , Supports >>>> changesets: False >>>> >>> Making HTTP GET request to http://xyz.abc/api/ >>>> >>> Making HTTP GET request to http://xyz.abc/api/info/ >>>> >>> Running: git rev-parse refs/heads/master >>>> >>> Running: git merge-base 30126f8c24bc30bc7c4f68b03a913f16ce4ed007 >>>> origin/master >>>> >>> Running: git rev-parse 8a727c5917e783ca82a22a2bdbb7021ea1a05469 >>>> >>> Running: git status --porcelain --untracked-files=no >>>> >>> Running: git diff --no-color --full-index --ignore-submodules >>>> 8a727c5917e783ca82a22a2bdbb7021ea1a05469.. >>>> 30126f8c24bc30bc7c4f68b03a913f16ce4ed007 -M >>>> >>> Running: git log --reverse --pretty=format:%s%n%n%b ^ >>>> 8a727c5917e783ca82a22a2bdbb7021ea1a05469 30126f8c24bc30bc7c4f68b03a913f >>>> 16ce4ed007 >>>> >>> Making HTTP GET request to http://xyz.abc/api/review-requests/ >>>> >>> Making HTTP POST request to http://xyz.abc/api/review-requests/ >>>> >>> Making HTTP GET request to http://xyz.abc/api/review- >>>> requests/422/diffs/ >>>> >>> Making HTTP POST request to http://xyz.abc/api/review- >>>> requests/422/diffs/ >>>> >>> Making HTTP GET request to http://xyz.abc/api/review- >>>> requests/422/draft/ >>>> >>> Making HTTP PUT request to http://xyz.abc/api/review- >>>> requests/422/draft/ >>>> Review request #422 posted. >>>> >>>> http://xyz.abc/r/422/ >>>> http://xyz.abc/r/422/diff/ >>>> >>>> >>>> What is wrong with this? How can I raise review request for already >>>> commited code? >>>> >>>> Regds, >>>> Srinivas J >>>> >>>> >>>> -- >>>> Get the Review Board Power Pack at http://www.reviewboard.org/ >>>> powerpack/ >>>> --- >>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ >>>> --- >>>> Happy user? Let us know at http://www.reviewboard.org/users/ >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "reviewboard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ >> --- >> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ >> --- >> Happy user? Let us know at http://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "reviewboard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> >> -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
