It looks like something failed with one of the commands it executed and the error output ended up in the file. If you hand-edit it to correct the BRANCH, it should work.
Christian On Wed, Dec 21, 2016 at 16:21 许逸斐 <jessicafei0...@gmail.com> wrote: > I used *rbt setup-repo *command and entered yes to all the questions in > the meantime. Did I miss any configuration? > > 在 2016年12月21日星期三 UTC-8下午3:13:04,Christian Hammond写道: > > Hi, > > Your .reviewboardrc isn't correct. The BRANCH seems to have an error > message in it. It should be a single like string containing the name of the > destination branch. > > This causes a syntax error in the file, preventing the server from being > found. > > Christian > > > On Wed, Dec 21, 2016 at 14:45 许逸斐 <jessica...@gmail.com> wrote: > > > Can someone help me resolve this issue? > Here is the content in .reviewboardrc file > 在 2016年12月7日星期三 UTC-8下午9:37:38,许逸斐写道: > > REVIEWBOARD_URL = "review board URL" > REPOSITORY = "GitDemo" > BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or path not > in the working tree. > Use '--' to separate paths from revisions, like this: > 'git <command> [<revision>...] -- [<file>...]' > HEAD" > LAND_DEST_BRANCH = "fatal: ambiguous argument 'HEAD': unknown revision or > path not in the working tree. > Use '--' to separate paths from revisions, like this: > 'git <command> [<revision>...] -- [<file>...]' > HEAD" > > 在 2016年12月7日星期三 UTC-8下午12:51:02,许逸斐写道: > > I am using review board 0.7.7(python 2.7.12) on Mac OSX and getting > "Unable to find a Review Board server for this source code tree" error when > using *rbt post*. The output file in debug mode is as follows: > > > > > > > > > > > > > > > > > >>> RBTools 0.7.7 > > > >>> Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39) > > > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] > > > >>> Running on Darwin-15.5.0-x86_64-i386-64bit > > > >>> Home = /Users/jessicafei > > > >>> Current directory = /Users/jessicafei/JasperSystem/yfx-macbook-pro > > > >>> Command line: rbt post -d 190198 > > > >>> Checking for a Subversion repository... > > > >>> Running: svn --non-interactive info > > > >>> Command exited with rc 1: ['svn', '--non-interactive', u'info'] > > > svn: E155007: '/Users/jessicafei/JasperSystem/yfx-macbook-pro' 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.dev.merge > > > >>> Command exited with rc 1: ['git', 'config', '--get', > u'branch.dev.merge'] > > > --- > > > >>> Running: git config --get branch.dev.remote > > > >>> Command exited with rc 1: ['git', 'config', '--get', > u'branch.dev.remote'] > > > --- > > > >>> Running: git config --get remote.origin.url > > > >>> Command exited with rc 1: ['git', 'config', '--get', > 'remote.origin.url'] > > > --- > > > >>> Running: git config --get remote.origin.url > > > >>> Command exited with rc 1: ['git', 'config', '--get', > 'remote.origin.url'] > > > --- > > > >>> repository info: Path: /Users/jessicafei/.git, Base path: , Supports > changesets: False > > > >>> Running: git config --get reviewboard.url > > > >>> Command exited with rc 1: ['git', 'config', '--get', 'reviewboard.url'] > > > --- > > > Unable to find a Review Board server for this source code tree. > > > > > > > > > > -- > > > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > > > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > > > Happy user? Let us know! https://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 reviewboard...@googlegroups.com. > > > > > For more options, visit https://groups.google.com/d/optout. > > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.