Post Review Request filtering by a directory

43 views
Skip to first unread message

Bruno Carneiro

unread,
Dec 17, 2013, 10:08:32 AM12/17/13
to revie...@googlegroups.com
Hi everybody,


I have a GIT repository which has many subprojects (modules) inside. Different teams work in each subproject.
So, I would like to know if it is possible to post a review request filtering by a path. I tried to use "Posting Changeset" (http://www.reviewboard.org/docs/manual/1.7/users/tools/post-review/#posting-changesets)

Here's the command I'm trying:

./post-review //opt/deploy/df/N02_src/module_a[@#]$last_commit,[#@]$head_commit -p --revision-range=$last_commit  --tracking-branch=refs/heads/integracao_ge --repository-url=http://git.powerlogic.com.br:8080/git/git/n02



David Trowbridge

unread,
Dec 17, 2013, 6:23:58 PM12/17/13
to reviewboard
Unfortunately, the syntax that you're trying to use is specific to perforce. There's currently no way to filter specific files for git through rbtools. We'll be adding this to 'rbt post' as part of a big revision/file rework that's happing now, but that's going to take a little while.

For now, you could create the diff manually using 'git diff --full-index rev1..rev2 --relative=module_a'

-David


--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Bruno Carneiro

unread,
Dec 18, 2013, 2:41:28 PM12/18/13
to revie...@googlegroups.com
It worked using git diff!

Many thanks!!!


2013/12/17 David Trowbridge <trow...@gmail.com>
You received this message because you are subscribed to a topic in the Google Groups "reviewboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/MmBYseGdJzo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages