Thanks, Christian.  I had tried hg postreview from mdelagra's fork
(https://bitbucket.org/mdelagra/mercurial-reviewboard) first, and was
unsuccessful, so I went to the GUI to try to eliminate that as a
culprit.  Is this the tool you are referring to?

Here is the --debug result from that (I added some output to explain
the HTTP 400 error):

-----

$ hg postreview tip -g -o --debug
postreview plugin, version 3.5.0
running ""C:\cygwin\bin\ssh" scm "hg -R /opt/hg/main/core/
AnyModalConsole serve --stdio""
sending hello command
sending between command
remote: 79
remote: capabilities: unbundle lookup changegroupsubset branchmap
pushkey stream=65537
remote: 1
sending heads command
searching for changes
common changesets up to 8611b86cc9dc ef6b39fd44d9

=== Diff from parent to rev ===
diff -r ef6b39fd44d9fcacc3e3b9d825c49b07acf17e2c -r
ebefc4bde45bce94672ee937cac8df0eb5f48135 build.xml
--- a/build.xml Wed Feb 02 16:05:49 2011 -0500
+++ b/build.xml Fri Feb 11 14:41:58 2011 -0500
@@ -4,6 +4,7 @@
          basedir="."
          xmlns:ivy="antlib:org.apache.ivy.ant">
          <!--xmlns:ac="net.sf.antcontrib">-->
+  <!-- some stupid comment -->
   <property environment="env"/>
   <property name="devTools.dir" value="${env.DEVTOOLS}" />
   <import file="${devTools.dir}/default-build.xml"/>

changesets:
        259:ebefc4bde45b "asfd"

reviewboard:    http://of1dvweb-lnx001/

username: jerry.maloney
password: **********
abort: HTTP 400 Error: Bad Request POST 
http://of1dvweb-lnx001/api/review-requests/63/diffs/
(None)

-----

I'll try post-review (not hg post-review) now to see if I get
different results.

Thanks,



On Feb 11, 3:16 pm, Christian Hammond <chip...@chipx86.com> wrote:
> Hi Jerry,
>
> Have you tried post-review or hg post-review? Can you try these (with debug
> mode on, which is --debug on post-review at least, dunno about hg
> post-review) and see if you still hit this problem? If so, the debug log
> would be helpful in identifying the problem.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Fri, Feb 11, 2011 at 11:51 AM, Jerry <gpjerrymalo...@gmail.com> wrote:
> > I recently set up ReviewBoard connecting to a mercurial repository.
> > When trying to post a diff through the web UI, I get an error:
>
> > The file "build.xml" (revision ef6b39fd44d9) was not found in the
> > repository
>
> > I have verified that this file with this revision number is in the
> > repo.  The mercurial repository path is set tohttp://ServerName/RepoName
> > (this lists files at the root of the repo, like .hg).  That's where
> > build.xml is located, and I can see it in a web browser.
>
> > Am I setting up the mercurial path incorrectly?
>
> > Thanks,
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to