Hi, thanks for the tips, I doubt the problem is server side, since using the TortoiseHg Review Board extension work (I still have hard time submiting what I really want with it, like revision range or local uncommited changes), also using the RBTools python API work and I'm able to create code review with the same server url. I started doing my own python scripts to submit my diff file, which I will generate with hg.exe diff tools (at least I can make this one work and able to predict what is going to happen and which revision I'm submiting). I'm creating a standalone GUI interface to do this and may end up doing TortoiseHG GUI extension to have something well integrated someday.
Maybe setup-repos need some additional infrastructure compare to creating review, but I have no info or clue with debug what this might be. Thanks for tips, I will try this out of curiousity, Jerome On Monday, November 23, 2015 at 7:19:49 PM UTC-5, David Trowbridge wrote: > > For the first problem (with rbt setup-repo), it's detecting your local > repository's "upstream" URL as D:\LocalProject\Bodycad, which obviously > doesn't have a matching counterpart on the server. I'm not sure if > setup-repo has a bug for hg repositories, or if it's just something strange > about your environment. > > For the option problems, I vaguely recall there being some weirdness with > option parsing on Windows, depending on how Python was built. > > Can you try it like this? (with an =) > rbt diff --tracking-branch=default 29748 > > -David > > > On Mon, Nov 23, 2015 at 11:26 AM <[email protected] <javascript:>> wrote: > >> Hi, >> I have installed ReviewBoard under Windows (bitnami stack) and got the >> Mercurial extension to work (kinda still confuse about what revision I >> submit with it) inside TortoiseHG (the repos is mercurial based). But I >> cannot make the RBTools for Windows to work. I guess my server settings are >> corrects since the tortoise plugin work and I can post review that way. >> >> I try the following command to setup the local repos client side: >> *rbt setup-repo --debug* >> >> >>> RBTools 0.7.5 alpha 0 (dev) >> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit >> (Intel)] >> >>> Running on Windows-8-6.2.9200 >> >>> Home = C:\Users\Jerome\AppData\Roaming >> >>> Current directory = D:\LocalProject\Bodycad >> Enter the Review Board server URL: >> http://codereview.buildserver/reviewboard/ >> >>> Checking for a Subversion repository... >> >>> Unable to execute "svn help": skipping SVN >> >>> Checking for a Git repository... >> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git >> >>> Checking for a Mercurial repository... >> >>> Running: hg root >> >>> Running: hg showconfig >> >>> Running: hg svn info >> >>> Command exited with rc 255: [u'hg', u'svn', u'info'] >> hg: unknown command 'svn' >> Mercurial Distributed SCM >> >> basic commands: >> >> add add the specified files on the next commit >> ... >> update update working directory (or switch revisions) >> >> (use "hg help" for the full list of commands or "hg -v" for details) >> --- >> >>> repository info: Path: D:\LocalProject\Bodycad, Base path: /, >> Supports changesets: False >> >>> Making HTTP GET request to >> http://codereview.buildserver/reviewboard/api/ >> >>> Making HTTP GET request to >> http://codereview.buildserver/reviewboard/api/repositories/ >> >>> Cached response for HTTP GET >> http://codereview.buildserver/reviewboard/api/repositories/ expired and >> was modified >> No Mercurial repository found or selected for >> http://codereview.buildserver/reviewboard. .reviewboardrc not created. >> >> I have no idea how to fix this or what it is looking for. If I look on >> the server it tell me setup the rbtools with following parameters >> into .reviewboardrc which I did after the fail setup-repo (the setup-repo >> cmd doesn't seem to work at all for some reason). >> >> REVIEWBOARD_URL = 'http://codereview.buildserver/reviewboard/' >> REPOSITORY = 'Bodycad' >> >> >> If I probe the >> http://codereview.buildserver/reviewboard/api/repositories/ address I >> get proper xml with the 3 repos I used with proper address. >> >> >> ____________ >> >> Now the rbt cmd usage is confusing, not really sure how to use this >> tools, the command line are really confusing, the diff for example: >> >> Help say: >> rbt diff [options] [revisions] >> >> * Case 1 --revision-range is deprecated but still into the --help: >> *rbt diff --revision-range 29742:29768* >> ERROR: The --revision-range argument has been removed. To create a diff >> for one or more specific revisions, pass those revisions as arguments. For >> more information, see the RBTools 0.6 Release Notes. >> >> * Case 2 rev specification ?!? >> >> *rbt diff 29742* >> Could not determine remote branch to use for diff creation. Specify >> --tracking-branch to continue. >> >> *rbt diff 29742 --tracking-branch default* >> CRITICAL: Too many revisions specified >> >> this get worst if specify the tracking branche brefore the revision: >> *rbt diff --tracking-branch default 29748* >> Failed to execute command: [u'hg', u'-q', u'outgoing', u'--template', >> u'{rev}\\t{node|short}\\t{branch}\\n', 'default', u'-r', u'b0c79348cdd4'] >> abort: repository default not found! >> >> ?!?! how are we suppose to use this command exactly!?! >> >> I have some similar un-understanding about the post command and what is >> really taken!? >> >> What I want to do: >> >> 1. Preview the diff and show it to the user before posting to confirm >> 2. Able to use uncommited work and/or commited work between 2 >> revision into a particular branch >> 3. post the diff for review >> >> If somebody can shed some light on how to use this tool with mercurial >> I'm clearly not understanding something here and the doc doesn't provide >> any additional information over the help. >> >> Thanks, >> Jerome >> >> >> -- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- > -David -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
