Re: Status of mercurial+ssh support
Hi, the Abort: repository .. is not local message is one you get when trying to run local-only commands on remote repositories, such as 'hg cat' or 'hg log'. Looking why I'm getting similar failures as Jimmy describes in his first email here, this is what hg.py is doing - calling 'hg cat' on a remote repo. Here's the relevant debug log (adding the command debug to hg.py) [ReviewBoard 1.7.22]: 2014-03-06 13:14:17,557 - DEBUG - - ['hg', '--noninteractive', '--repository', u'ssh://USER@HOST/PATH_redacted', '--cwd', u'ssh://USER@HOST/PATH_redacted', 'showconfig', 'ui.ssh'] 2014-03-06 13:14:17,606 - DEBUG - - Using rbssh for mercurial: 2014-03-06 13:14:17,606 - DEBUG - - ['hg', '--noninteractive', '--repository', u'ssh://USER@HOST/PATH_redacted', '--cwd', u'ssh://USER@HOST/PATH_redacted', '--config', 'ui.ssh=rbssh', 'cat', '--rev', 'REV_redacted', 'FILE_PATH_redacted'] References: http://mercurial.selenic.com/wiki/FAQ#FAQ.2FCommonProblems.How_can_I_do_a_.22hg_log.22_of_a_remote_repository.3F http://selenic.com/pipermail/mercurial/2008-July/019954.html hnhn On Tuesday, 11 June 2013 16:08:57 UTC+2, jimmy jiang wrote: Hi, Christian, For the above error of Abort: repository 'ssh:// hg@135.251.206.233/AONT_R2X_MS' is not local, i did below change for this issue: in ./reviewboard/scmtool/hg.py, calss HgClient, __init__(self, repoPath, local_site), change self.repo = hg.repository (hg_ui, path+repoPath) to = self.repo = hg.peer (hg_ui, {}, path=repoPath) After this, i got the same error point ('sshpeer' object has no attribute 'changectx'.) as before, it means the same error happen after i upgraded mercurial from v2.2.2 to v2.6.1. Thanks for your support. BR Jimmy 2013/5/31 jimmy jiang jimmy@gmail.com javascript: Hi. Christian, I updated the mercurial to latest v2.6.1. but new error happened, It is Abort: repository 'ssh://hg@135.251.206.233/AONT_R2X_MS' is not local , which is the earlier to the original error. The reviewboard.log attached, please help to check, thanks. BR Jimmy. -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
Hi. Christian, I updated the mercurial to latest v2.6.1. but new error happened, It is Abort: repository 'ssh://hg@135.251.206.233/AONT_R2X_MS' is not local , which is the earlier to the original error. The reviewboard.log attached, please help to check, thanks. BR Jimmy. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. reviewboard.log Description: Binary data
Re: Status of mercurial+ssh support
Hi Jimmy, Sorry, I meant mercurial and not bzr. Thanks for the correct info :) Can you try upgrading the server's copy of mercurial? It looks like we're expecting a newer version, which may be the reason you're having the problem. That sshrepository object mentioned is gone, and I want to see if it still reproduces and what the new error is. Thanks, Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, May 27, 2013 at 4:06 PM, jimmy jiang jimmy.a.ji...@gmail.comwrote: one more attachment of hgrc, thanks. BR Jimmy 2013/5/28 jimmy jiang jimmy.a.ji...@gmail.com Christian, As below info, thanks, 1) RB version v1.7.6 2) Version of bzr on the server i use ubuntu linux v12, mercurial version v2.2.2. Does bzy means bug tracker? no bug tracker set for me. 3) The full traceback and related reviewboard.log entries for this error pls refer to the attached reviewboard.log, the last in which is the exception info in ./reviewboard/scmtool/hg.py. the hg.py source file also attached. 4) The command line you're using for generating the diff = cmd line:post-review -d -p -r 8 -diff-filename=/home/jimmy/a1.patch the a1.patch also attached. and also 2 cfg files in working dir attached: hgrc and .reviewboardrc 4) Ideally, a diff you can show me that reproduces this problem -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
Thanks. it is good to hear it works in your test suite. i will further check. i want to add some logs in rb source code in the installed review board dir (/usr/local/lib/python2.7/dist-packages/Reviewboard-1.7.6.**.egg/reviewboard/), it seems failed to take effective. how can i change the local review board source code for further checking? thanks, BR Jimmy 在 2013年4月17日星期三UTC+8上午3时34分58秒,Christian Hammond写道: Can you look for any related errors in reviewboard.log? We test this in our test suite, so I'd expect it to work. Could be an issue invoking rbssh. Christian On Mon, Apr 8, 2013 at 1:11 AM, jimmy jiang jimmy@gmail.comjavascript: wrote: I am using rb1.7.6 and ssh:// hg repo, and still found the auhentication is ok based on ssh key when create repo in reviewboard, but when i upload diff into review request, it still report as below error: the file .. (revision ) was not found in the repository. is rb still not working well on ssh:// rg repo? thanks, Jimmy 在 2011年7月14日星期四UTC+8下午5时34分26秒,morisgi写道: On Thursday 14 July 2011 01:18:33 am Mark Wang wrote: Hi all -- does Reviewboard currently support remote mercurial repos over ssh? I had read messages on this list from 2009 saying that such support didn't exist but haven't seen any updates yet about this. I tried setting up a remote hg repo via ssh (keys, etc. are all OK, and I can rbssh from the command line), and got this error. If it's supported, is there anything that might be going wrong? If hg +ssh isn't in there yet, that's fine -- just wanted to know. Thanks! Mark To my knowledge, nothing more than my reply in that post: http://groups.google.com/group/reviewboard/browse_thread/thread/d2ba3808e0c8304c/4221300c55e5cd80 So still not possible. Regards. Gilles. -- 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...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
How does it fail? That should work, in theory, so long as you're importing the logging module in that file. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Fri, Apr 19, 2013 at 5:35 PM, jimmy jiang jimmy.a.ji...@gmail.comwrote: Thanks. it is good to hear it works in your test suite. i will further check. i want to add some logs in rb source code in the installed review board dir (/usr/local/lib/python2.7/dist-packages/Reviewboard-1.7.6.**.egg/reviewboard/), it seems failed to take effective. how can i change the local review board source code for further checking? thanks, BR Jimmy 在 2013年4月17日星期三UTC+8上午3时34分58秒,Christian Hammond写道: Can you look for any related errors in reviewboard.log? We test this in our test suite, so I'd expect it to work. Could be an issue invoking rbssh. Christian On Mon, Apr 8, 2013 at 1:11 AM, jimmy jiang jimmy@gmail.com wrote: I am using rb1.7.6 and ssh:// hg repo, and still found the auhentication is ok based on ssh key when create repo in reviewboard, but when i upload diff into review request, it still report as below error: the file .. (revision ) was not found in the repository. is rb still not working well on ssh:// rg repo? thanks, Jimmy 在 2011年7月14日星期四UTC+8下午5时34分26秒,**morisgi写道: On Thursday 14 July 2011 01:18:33 am Mark Wang wrote: Hi all -- does Reviewboard currently support remote mercurial repos over ssh? I had read messages on this list from 2009 saying that such support didn't exist but haven't seen any updates yet about this. I tried setting up a remote hg repo via ssh (keys, etc. are all OK, and I can rbssh from the command line), and got this error. If it's supported, is there anything that might be going wrong? If hg +ssh isn't in there yet, that's fine -- just wanted to know. Thanks! Mark To my knowledge, nothing more than my reply in that post: http://groups.google.com/**group/reviewboard/browse_**thread/thread/** d2ba3808e0c8304c/**4221300c55e5cd80http://groups.google.com/group/reviewboard/browse_thread/thread/d2ba3808e0c8304c/4221300c55e5cd80 So still not possible. Regards. Gilles. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://groups.google.com/group/reviewboard?hl=en --- 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_outhttps://groups.google.com/groups/opt_out . -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
Can you look for any related errors in reviewboard.log? We test this in our test suite, so I'd expect it to work. Could be an issue invoking rbssh. Christian On Mon, Apr 8, 2013 at 1:11 AM, jimmy jiang jimmy.a.ji...@gmail.com wrote: I am using rb1.7.6 and ssh:// hg repo, and still found the auhentication is ok based on ssh key when create repo in reviewboard, but when i upload diff into review request, it still report as below error: the file .. (revision ) was not found in the repository. is rb still not working well on ssh:// rg repo? thanks, Jimmy 在 2011年7月14日星期四UTC+8下午5时34分26秒,morisgi写道: On Thursday 14 July 2011 01:18:33 am Mark Wang wrote: Hi all -- does Reviewboard currently support remote mercurial repos over ssh? I had read messages on this list from 2009 saying that such support didn't exist but haven't seen any updates yet about this. I tried setting up a remote hg repo via ssh (keys, etc. are all OK, and I can rbssh from the command line), and got this error. If it's supported, is there anything that might be going wrong? If hg +ssh isn't in there yet, that's fine -- just wanted to know. Thanks! Mark To my knowledge, nothing more than my reply in that post: http://groups.google.com/group/reviewboard/browse_thread/thread/d2ba3808e0c8304c/4221300c55e5cd80 So still not possible. Regards. Gilles. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
I am using rb1.7.6 and ssh:// hg repo, and still found the auhentication is ok based on ssh key when create repo in reviewboard, but when i upload diff into review request, it still report as below error: the file .. (revision ) was not found in the repository. is rb still not working well on ssh:// rg repo? thanks, Jimmy 在 2011年7月14日星期四UTC+8下午5时34分26秒,morisgi写道: On Thursday 14 July 2011 01:18:33 am Mark Wang wrote: Hi all -- does Reviewboard currently support remote mercurial repos over ssh? I had read messages on this list from 2009 saying that such support didn't exist but haven't seen any updates yet about this. I tried setting up a remote hg repo via ssh (keys, etc. are all OK, and I can rbssh from the command line), and got this error. If it's supported, is there anything that might be going wrong? If hg +ssh isn't in there yet, that's fine -- just wanted to know. Thanks! Mark To my knowledge, nothing more than my reply in that post: http://groups.google.com/group/reviewboard/browse_thread/thread/d2ba3808e0c8304c/4221300c55e5cd80 So still not possible. Regards. Gilles. -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Status of mercurial+ssh support
On Thursday 14 July 2011 01:18:33 am Mark Wang wrote: Hi all -- does Reviewboard currently support remote mercurial repos over ssh? I had read messages on this list from 2009 saying that such support didn't exist but haven't seen any updates yet about this. I tried setting up a remote hg repo via ssh (keys, etc. are all OK, and I can rbssh from the command line), and got this error. If it's supported, is there anything that might be going wrong? If hg +ssh isn't in there yet, that's fine -- just wanted to know. Thanks! Mark To my knowledge, nothing more than my reply in that post: http://groups.google.com/group/reviewboard/browse_thread/thread/d2ba3808e0c8304c/4221300c55e5cd80 So still not possible. Regards. Gilles. -- 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