python - Mercurial ReviewBoard and post-review -


so here story far, have installed review board on linux environment, have configured everything, installed post-review , works...

what not work repository. our repository migrated @ point svn mercurial, there lot of crude file management made moving files around without hg move. wanted run script gather , post reviews every cset containing more 2 parents (every cset merged default branch) , diff previous default branch revision see catastrophic changes fellow collegues have made code. sort of history book , of course schedule job store new review requests made in future.

anyway post-review 95% of time throwing me error 207 or file not found (due hg missusage mentioned above). needless 1 big repo - considering daily synced 8 other repositories.

maybe there workaround skip missing file diff's , go post-review got far or smt ?

i have been reading sorts of issue tickets day long... nothing yet far :(

please help...

p.s.

>>> attempting create review request on https: //internal.rix.com/hg/project/ none >>> http posting http: //localhost/api/review-requests/ {'repository': 'https: //internal.rix.com/hg/project/'} >>> review request created >>> uploading diff, size: 29809661 >>> http posting http: //localhost/api/review-requests/108/diffs/ {} >>> got api error 207 (http code 400): file not found in repository >>> error data: {u'stat': u'fail', u'file': u'.hgignore', u'err': {u'msg': u'the file not found in repository', u'code': 207}, u'revision': u'd31d6b626628'}  ".hgignore" file not found. 26652 cset has 2 parents, result of big merge default branch. actual hg diff -r 26652 -r 26651; produces:   diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -1,39 +1,44 @@ -syntax: re -/target$ -/lib$ -/bin$ -.settings -.classpath -.metadata -.project -.iml ... , on 400k lines 

i've had same problem, , seems - in our case - due have updated server-side repo specific version.

resetting server-side repo 'bare' repository solved problem us.

(i did 'hg clone -u repo newrepo', 'mv repo repo-old', 'mv newrepo repo'.)


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -