Hi Norman,

For Git (which it sounds like you're using), rbt post expects either no 
parameters, or a commit SHA1/tag/branch, or a range of commits (like 
branch1..branch2). It doesn't take filenames.

If you want to post a commit but limit it to particular files, you can use the 
-I parameter, like:

rbt post -I hello.c

This requires that the commits from origin/master..HEAD contains modifications 
to hello.c that you wish to put up for review.

As for the logging, given that you're on 1.7, you will need to restart Apache. 
It also only impacts the reviewboard.log file. We do not write to the Apache 
error log by ourselves, though Apache itself may log things there.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Norman Lo <norma...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: December 15, 2014 at 12:29:40 PM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  Unable to post files to a review

> Hello,
>  
> I am using RBTools version 0.6.3 and tries to post some files to
> ReviewBoard version 1.7.
>  
> When I use the command "rbt post hello.c", I got the following error:
>  
> Failed to execute command: ['git', 'rev-parse', 'hello.c^']
> fatal: ambiguous argument 'hello.c^': unknown revision or path not in the
> working tree.
> Use '--' to separate paths from revisions
> hello.c^
>  
> It looks like the character "^" is added somehow and it is causing git to
> fail. How should I go about to resolve this issue.
>  
>  
> Also, I have another issue with ReviewBoard. I set it to do logging in the
> web interface. However, Looking at the log file, I only see:
>  
> Reloading logging settings
>  
>  
> And there are no more log entries. I do not see any apache error log. How
> do I resolve this issue
>  
> Thanks!
>  
> --
> 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 reviewboard+unsubscr...@googlegroups.com.  
> 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to