Hi Clark,
post-review is a very old script that was long ago replaced by RBTools, a
collection of scripts (such as 'rbt post', 'rbt patch', 'rbt land', etc.).
RBTools commands support specifying the repository type using
the --repository-type argument.
You can see more at:
* https://www.reviewboard.org/downloads/rbtools/
* https://www.reviewboard.org/docs/rbtools/0.7/
*
https://www.reviewboard.org/docs/rbtools/0.7/rbt/commands/post/#cmdoption-rbt-post--repository-type
Christian
--
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com
On Sun, Dec 27, 2015 at 9:26 PM, Clark Wang wrote:
> I have both `p4` (`Perforce`) and `hg` (`Mercurial`) repositories and the
> `p4` repo is under a subdir of the `hg` repo. For example:
>
> /repo1/<-- hg (for personal code)
> /repo1/somedir/repo2/ <-- p4 (for product code)
>
> When I tried to generate a review for the `p4` repo (under `repo2`), it
> thought it's a `hg` repo (because I saw `_load_hgrc` in the error message).
>
> So how can I explicitly tell `post-review` that my repo is `p4`?
>
> --
> 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.
>
--
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.