Re: rbt setup-repo with Mercurial

2014-06-10 Thread David Trowbridge
I don't see an error in your email.

-David


On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agho...@gmail.com wrote:

 Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc file
 using rbt setup-repo per the documentation. However, it keeps giving me
 the following error even though I have a Mercurial Repo configured via the
 admin page.

 Is this a bug or user error?

 -Ali

 --
 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/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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt setup-repo with Mercurial

2014-06-10 Thread Ali Ghorashi
oops I forgot to attach it. The error is:
No Mercurial repository found or selected for 
http://reviews.cei.com/reviews. .reviewboardrc not created.

-Ali

On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:

 I don't see an error in your email.

 -David


 On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com 
 javascript: wrote:

 Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc file 
 using rbt setup-repo per the documentation. However, it keeps giving me 
 the following error even though I have a Mercurial Repo configured via the 
 admin page.

 Is this a bug or user error?

 -Ali

 -- 
 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...@googlegroups.com javascript:.
 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt setup-repo with Mercurial

2014-06-10 Thread Ali Ghorashi
See attached.

On Tuesday, June 10, 2014 1:50:31 PM UTC-6, David Trowbridge wrote:

 Can you run with --debug and attach the output?

 -David


 On Tue, Jun 10, 2014 at 12:48 PM, Ali Ghorashi agh...@gmail.com 
 javascript: wrote:

 oops I forgot to attach it. The error is:
 No Mercurial repository found or selected for 
 http://reviews.cei.com/reviews. .reviewboardrc not created.

 -Ali


 On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:

 I don't see an error in your email.

 -David


 On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com wrote:

 Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc file 
 using rbt setup-repo per the documentation. However, it keeps giving me 
 the following error even though I have a Mercurial Repo configured via the 
 admin page.

 Is this a bug or user error?

 -Ali

 -- 
 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...@googlegroups.com.

 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 reviewboard...@googlegroups.com javascript:.
 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[ali@dariush core]$ rbt setup-repo -d 
 RBTools 0.6
 Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
 Running on Linux-2.6.32-431.11.2.el6.x86_64-x86_64-with-centos-6.5-Final
 Home = /home/ali
 Current directory = /tmp/sipsa/core
 Checking for a Subversion repository...
 Running: svn info --non-interactive
 Command exited with rc 1: ['svn', 'info', '--non-interactive']
svn: E155007: '/tmp/sipsa/core' is not a working copy
---
 Checking for a Git repository...
 Running: git rev-parse --git-dir
 Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
 Checking for a Mercurial repository...
 Running: hg root
 Running: hg showconfig
 Running: hg svn info
 Command exited with rc 255: ['hg', 'svn', 'info']
hg: unknown command 'svn'
Mercurial Distributed SCM

basic commands:

 add   add the specified files on the next commit
 annotate, blame
   show changeset information by line for each file
 clone make a copy of an existing repository
 commit, cicommit the specified files or all outstanding changes
 diff  diff repository (or selected files)
 exportdump the header and diffs for one or more changesets
 forgetforget the specified files on the next commit
 init  create a new repository in the given directory
 log, history  show revision history of entire repository or files
 merge merge working directory with another revision
 pull  pull changes from the specified source
 push  push changes to the specified destination
 remove, rmremove the specified files on the next commit
 serve start stand-alone webserver
 status, stshow changed files in the working directory
 summary, sum  summarize working directory state
 update, up, checkout, co
   update working directory (or switch revisions)
 view  start interactive history viewer

global options:

 -R --repository REPO   repository root directory or name of overlay bundle
file
--cwd DIR   change working directory
 -y --noninteractivedo not prompt, automatically pick the first choice for
all prompts
 -q --quiet suppress output
 -v --verbose   enable additional output
--config CONFIG [+] set/override config option (use 'section.name=value')
--debug enable debugging output
--debugger  start debugger
--encoding ENCODE   set the charset encoding (default: 

Re: rbt setup-repo with Mercurial

2014-06-10 Thread David Trowbridge
One more thing: can you run this and attach the output?

rbt api-get --server=http://my-server --pretty repositories

-David


On Tue, Jun 10, 2014 at 12:58 PM, Ali Ghorashi agho...@gmail.com wrote:

 See attached.


 On Tuesday, June 10, 2014 1:50:31 PM UTC-6, David Trowbridge wrote:

 Can you run with --debug and attach the output?

 -David


 On Tue, Jun 10, 2014 at 12:48 PM, Ali Ghorashi agh...@gmail.com wrote:

 oops I forgot to attach it. The error is:
 No Mercurial repository found or selected for
 http://reviews.cei.com/reviews. .reviewboardrc not created.

 -Ali


 On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:

 I don't see an error in your email.

 -David


 On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com wrote:

 Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc
 file using rbt setup-repo per the documentation. However, it keeps 
 giving
 me the following error even though I have a Mercurial Repo configured via
 the admin page.

 Is this a bug or user error?

 -Ali

 --
 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 reviewboard...@googlegroups.com.

 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 reviewboard...@googlegroups.com.
 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 reviewboard+unsubscr...@googlegroups.com.
 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt setup-repo with Mercurial

2014-06-10 Thread Ali Ghorashi
Here it is.

On Tuesday, June 10, 2014 1:58:55 PM UTC-6, Ali Ghorashi wrote:

 See attached.

 On Tuesday, June 10, 2014 1:50:31 PM UTC-6, David Trowbridge wrote:

 Can you run with --debug and attach the output?

 -David


 On Tue, Jun 10, 2014 at 12:48 PM, Ali Ghorashi agh...@gmail.com wrote:

 oops I forgot to attach it. The error is:
 No Mercurial repository found or selected for 
 http://reviews.cei.com/reviews. .reviewboardrc not created.

 -Ali


 On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:

 I don't see an error in your email.

 -David


 On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com wrote:

 Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc 
 file using rbt setup-repo per the documentation. However, it keeps 
 giving 
 me the following error even though I have a Mercurial Repo configured via 
 the admin page.

 Is this a bug or user error?

 -Ali

 -- 
 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...@googlegroups.com.

 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 reviewboard...@googlegroups.com.
 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{
links: {
create: {
href: http://reviews.cei.com/reviews/api/repositories/;, 
method: POST
}, 
self: {
href: http://reviews.cei.com/reviews/api/repositories/;, 
method: GET
}
}, 
repositories: [
{
id: 1, 
links: {
branches: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/branches/;, 
method: GET
}, 
commits: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/commits/;, 
method: GET
}, 
delete: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/;, 
method: DELETE
}, 
diff_file_attachments: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/diff-file-attachments/;, 
method: GET
}, 
info: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/info/;, 
method: GET
}, 
self: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/;, 
method: GET
}, 
update: {
href: 
http://reviews.cei.com/reviews/api/repositories/1/;, 
method: PUT
}
}, 
mirror_path: , 
name: sispa_core, 
path: 
ssh://aghora...@source.cei.com//home/hg/projects/sipsa/core, 
tool: Mercurial, 
visible: true
}
], 
stat: ok, 
total_results: 1
}


Re: rbt setup-repo with Mercurial

2014-06-10 Thread Christian Hammond
Hi Ali,

That’s very strange. From everything I can tell, this should be working fine.

Can you upgrade to RBTools 0.6.1 and try again? It has new logic that could 
maybe help (even though it should be working already).

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 10, 2014 at 1:26:07 PM, Ali Ghorashi (agho...@gmail.com) wrote:

Here it is.

On Tuesday, June 10, 2014 1:58:55 PM UTC-6, Ali Ghorashi wrote:
See attached.

On Tuesday, June 10, 2014 1:50:31 PM UTC-6, David Trowbridge wrote:
Can you run with --debug and attach the output?

-David


On Tue, Jun 10, 2014 at 12:48 PM, Ali Ghorashi agh...@gmail.com wrote:
oops I forgot to attach it. The error is:
No Mercurial repository found or selected for http://reviews.cei.com/reviews. 
.reviewboardrc not created.

-Ali


On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:
I don't see an error in your email.

-David


On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com wrote:
Hello All,
I have a Mercurial repo and I'm trying to setup the .reviewboardrc file using 
rbt setup-repo per the documentation. However, it keeps giving me the 
following error even though I have a Mercurial Repo configured via the admin 
page.

Is this a bug or user error?

-Ali
--
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...@googlegroups.com.

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 reviewboard...@googlegroups.com.
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 reviewboard+unsubscr...@googlegroups.com.
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt setup-repo with Mercurial

2014-06-10 Thread Ali Ghorashi
Just updated to 0.6.1. It works fine. Now if I could only get my posts to
work(https://groups.google.com/forum/#!topic/reviewboard/ZDTY5dyre0U), I'd
go home a happy man.


On Tue, Jun 10, 2014 at 3:53 PM, Christian Hammond christ...@beanbaginc.com
 wrote:

 Hi Ali,

 That’s very strange. From everything I can tell, this should be working
 fine.

 Can you upgrade to RBTools 0.6.1 and try again? It has new logic that
 could maybe help (even though it should be working already).

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On June 10, 2014 at 1:26:07 PM, Ali Ghorashi (agho...@gmail.com) wrote:

 Here it is.

 On Tuesday, June 10, 2014 1:58:55 PM UTC-6, Ali Ghorashi wrote:

 See attached.

 On Tuesday, June 10, 2014 1:50:31 PM UTC-6, David Trowbridge wrote:

 Can you run with --debug and attach the output?

 -David


 On Tue, Jun 10, 2014 at 12:48 PM, Ali Ghorashi agh...@gmail.com wrote:

 oops I forgot to attach it. The error is:
 No Mercurial repository found or selected for
 http://reviews.cei.com/reviews. .reviewboardrc not created.

 -Ali


 On Tuesday, June 10, 2014 1:45:08 PM UTC-6, David Trowbridge wrote:

  I don't see an error in your email.

 -David


  On Tue, Jun 10, 2014 at 8:36 AM, Ali Ghorashi agh...@gmail.com
 wrote:

  Hello All,
 I have a Mercurial repo and I'm trying to setup the .reviewboardrc
 file using rbt setup-repo per the documentation. However, it keeps 
 giving
 me the following error even though I have a Mercurial Repo configured via
 the admin page.

 Is this a bug or user error?

 -Ali
  --
 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 reviewboard...@googlegroups.com.

 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 reviewboard...@googlegroups.com.
 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 reviewboard+unsubscr...@googlegroups.com.

 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/ag8aY4Flh5Q/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
-Ali

-- 
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/d/optout.