Just to check, the "sw" directory isn't pulled in using svn:externals, is it?
If not, can you tell us more about your svn configuration both on the server and the client? -David On Wed, Dec 10, 2014 at 8:31 PM Mayank Kumar <[email protected]> wrote: > > Hi David, > > The directory structure for my code is as "SVNRepo\sw\inc\abc" and I have > modified files under "sw\inc" folder and "sw\inc\abc" folder. > Also, a file is modified in "SVNRepo\sw\proc\aaa\bbb\ccc\ddd\" folder. > > If I execute "svn diff --diff-cmd=diff --notice-ancestry -r BASE" command > from "SVNRepo" folder, it returns nothing. > > If I execute "svn diff --diff-cmd=diff --notice-ancestry -r BASE" command > from "SVNRepo\sw" folder, it returns nothing. > > If I execute "svn diff --diff-cmd=diff --notice-ancestry -r BASE" command > from "SVNRepo\sw\inc" folder, it returns differences of the files in > "SVNRepo\sw\inc" and "SVNRepo\sw\inc\abc" folders !!! and "rbt post" also > create the successful review request from this folder with all the files in > "SVNRepo\sw\inc" and "SVNRepo\sw\inc\abc" folders. > > Similarly for "SVNRepo\sw\proc\aaa\bbb\ccc\ddd\" folder, if execute rbt > post from "SVNRepo\sw\proc\aaa\bbb\" folder it created the review request > successfully. > > I need a single review request for all the modified files in different > folders. > > Just for your information, I am using svn 1.6 client. > > Regards > Mayank > > On Thursday, 11 December 2014 06:10:59 UTC+5:30, David Trowbridge wrote: > >> Can you see what the output of that 'svn diff --diff-cmd=diff >> --notice-ancestry >> -r BASE' command is? >> >> -David >> > >> On Tue, Dec 9, 2014 at 8:27 PM, Mayank Kumar <[email protected]> wrote: >> >>> >>> Thanks David for your response. >>> >>> I have upgraded RBTools to version 0.6.3. But still facing the same >>> issue. >>> Below is the debug output for your reference: >>> >>> C:\Share\SVN Repo\sw>rbt post -d >>> >>> RBTools 0.6.3 >>> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit >>> (Intel)] >>> >>> Running on Windows-XP-5.1.2600-SP3 >>> >>> Home = C:\Documents and Settings\mayankk\Application Data >>> >>> Current directory = C:\Share\SVN Repo\sw >>> >>> Checking for a Subversion repository... >>> >>> Running: svn info --non-interactive >>> >>> Running: diff --version >>> >>> repository info: Path: https://XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/Branches/2201_GSMR_PPC/sw, Supports changesets: False >>> >>> Making HTTP GET request to http://XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/ >>> >>> Making HTTP GET request to http://XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/info/ >>> >>> Making HTTP GET request to http://XXXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/ >>> >>> Making HTTP GET request to http://XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/48/info/ >>> >>> Making HTTP GET request to http://XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/51/info/ >>> >>> repository info: Path: https:///XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/Branches/2201_GSMR_PPC/sw, Supports changesets: False >>> >>> Running: svn info --non-interactive >>> >>> Running: diff --version >>> >>> repository info: Path: https:///XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/Branches/2201_GSMR_PPC/sw, Supports changesets: False >>> >>> Running: svn status --ignore-externals >>> >>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE >>> Traceback (most recent call last): >>> File "C:\Python27\Scripts\rbt-script.py", line 8, in <module> >>> load_entry_point('RBTools==0.6.3', 'console_scripts', 'rbt')() >>> File >>> "C:\Python27\lib\site-packages\rbtools-0.6.3-py2.7.egg\rbtools\commands\main.py", >>> line 134, in main >>> command.run_from_argv([RB_MAIN, command_name] + args) >>> File "C:\Python27\lib\site-packages\rbtools-0.6.3-py2.7. >>> egg\rbtools\commands\__init__.py", line 416, in run_from_argv >>> exit_code = self.main(*args) or 0 >>> File >>> "C:\Python27\lib\site-packages\rbtools-0.6.3-py2.7.egg\rbtools\commands\post.py", >>> line 753, in main >>> raise CommandError("There don't seem to be any diffs!") >>> rbtools.commands.CommandError: There don't seem to be any diffs! >>> >>> But if I go to the directory in which files are modified, I am able to >>> create the review request. >>> Below is the debug output for the successful review request: >>> >>> C:\Share\SVN Repo\sw\inc>rbt post -d >>> >>> RBTools 0.6.3 >>> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit >>> (Intel)] >>> >>> Running on Windows-XP-5.1.2600-SP3 >>> >>> Home = C:\Documents and Settings\mayankk\Application Data >>> >>> Current directory = C:\Share\SVN Repo\sw\inc >>> >>> Checking for a Subversion repository... >>> >>> Running: svn info --non-interactive >>> >>> Running: diff --version >>> >>> repository info: Path: https:///XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/common/inc, Supports changesets: False >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/ >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/info/ >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/ >>> >>> Making HTTP GET request to http://1/XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/48/info/ >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/repositories/51/info/ >>> >>> repository info: Path: https:///XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/common/inc, Supports changesets: False >>> >>> Running: svn info --non-interactive >>> >>> Running: diff --version >>> >>> repository info: Path: https:///XXX.XXX.XXX.XXX/ismaning/dev, Base >>> path: /trunk/common/inc, Supports changesets: False >>> >>> Running: svn status --ignore-externals >>> >>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE >>> >>> Running: svn info gsm/audio.h >>> >>> Running: svn info gsm >>> >>> Running: svn info types.h >>> >>> Running: svn info gsm/audio.h >>> >>> Running: svn info gsm/audio.h >>> >>> Running: svn info gsm/audio.h >>> >>> Running: svn info types.h >>> >>> Running: svn info types.h >>> >>> Running: svn info types.h >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/review-requests/ >>> >>> Making HTTP POST request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/review-requests/ >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/review-requests/10/diffs/ >>> >>> Making HTTP POST request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/review-requests/10/diffs/ >>> >>> Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/ >>> reviewboard/api/review-requests/10/draft/ >>> Review request #10 posted. >>> >>> http:///XXX.XXX.XXX.XXX:8080/reviewboard/r/10/ >>> http:///XXX.XXX.XXX.XXX:8080/reviewboard/r/10/diff/ >>> >>> >>> Regards >>> Mayank >>> >>> On Wednesday, 10 December 2014 06:48:18 UTC+5:30, David Trowbridge wrote: >>>> >>>> The version of RBTools that you're using is pretty old. Can you upgrade >>>> to the 0.6.x series? >>>> >>>> -David >>>> >>>> On Mon, Dec 8, 2014 at 11:35 PM, Mayank Kumar <[email protected]> >>>> wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> I am trying to integrate SVN with ReviewBoard. >>>>> I am able to create the review request by creating a diff file >>>>> separately and upload it. >>>>> >>>>> Also, "rbt post" works fine if I go into the particular directory and >>>>> give this command. >>>>> >>>>> But if there are multiple files modified in different folders and the >>>>> command "rbt post" is given at the top of the folder, it says "There don't >>>>> seem to be any diffs!". >>>>> Below is the debug output for the same: >>>>> >>>>> C:\Share\SVN Repo>rbt post -d >>>>> DEBUG:root:Checking for a Subversion repository... >>>>> DEBUG:root:Running: svn info --non-interactive >>>>> DEBUG:root:Running: diff --version >>>>> DEBUG:root:repository info: Path: https:///XXX.XXX.XXX.XXX/isman >>>>> ing/dev >>>>> <https://www.google.com/url?q=https%3A%2F%2F10.120.16.200%2Fismaning%2Fdev&sa=D&sntz=1&usg=AFQjCNFcWV2ZRPjVlLQ5niQkFZM16oR-Cw>, >>>>> Base path: /trunk/Branches/2201_GSMR_PPC, Sup >>>>> DEBUG:root:Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/r >>>>> eviewboard/api/ >>>>> <http://www.google.com/url?q=http%3A%2F%2F172.21.111.93%3A8080%2Freviewboard%2Fapi%2F&sa=D&sntz=1&usg=AFQjCNHrAWKm7Z6inNiFBwDXUPQiWc96WQ> >>>>> DEBUG:root:Making HTTP GET request to http:///XXX.XXX.XXX.XXX:8080/r >>>>> eviewboard/api/info/ >>>>> <http://www.google.com/url?q=http%3A%2F%2F172.21.111.93%3A8080%2Freviewboard%2Fapi%2Finfo%2F&sa=D&sntz=1&usg=AFQjCNHFGpttajQvWH3xhTYuknZKlZWkyw> >>>>> DEBUG:root:Running: svn st >>>>> DEBUG:root:Running: svn diff --diff-cmd=diff >>>>> Traceback (most recent call last): >>>>> File "C:\Python27\Scripts\rbt-script.py", line 8, in <module> >>>>> load_entry_point('RBTools==0.5.6', 'console_scripts', 'rbt')() >>>>> File >>>>> "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\main.py", >>>>> line 127, in main >>>>> command.run_from_argv([RB_MAIN] + args) >>>>> File "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\ >>>>> rbtools\commands\__init__.py", line 158, in run_from_ >>>>> exit_code = self.main(*args) or 0 >>>>> File >>>>> "C:\Python27\lib\site-packages\rbtools-0.5.6-py2.7.egg\rbtools\commands\post.py", >>>>> line 633, in main >>>>> raise CommandError("There don't seem to be any diffs!") >>>>> rbtools.commands.CommandError: There don't seem to be any diffs! >>>>> >>>>> >>>>> It might be a trivial issue but I am not sure how to fix it. >>>>> >>>>> Would appreciate any help. >>>>> >>>>> Regards >>>>> Mayank >>>>> >>>>> -- >>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow >>>>> erpack/ >>>>> --- >>>>> 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.
