4952: Not able to create rbt post with the error - CRITICAL: This clone has no configured remotes

pz

Ubuntu 21.10

RBTools 2.0.1 (Python 3.9.7)

git-svn

What steps will reproduce the problem?

  1. pz@pz-dev:~/Repository/acadia_sw$ rbt post --server "http://reviewboard.pds.local/reviewboard" --username pz

  2. Please log in to the Review Board server at reviewboard.pds.local.

  3. Password:
    CRITICAL: This clone has no configured remotes.

What is the expected output? What do you see instead?

It should create a reviewboard request.

What operating system are you using?

Ubuntu 21.10

Attach the debug out from the command.

Traceback (most recent call last):
File "/home/pz/.local/bin/rbt", line 8, in <module>
sys.exit(main())
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/commands/main.py", line 124, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/commands/init.py", line 770, in run_from_argv
exit_code = self.main(*args) or 0
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/commands/post.py", line 1014, in main
self.revisions = get_revisions(self.tool, self.cmd_args)
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/utils/review_request.py", line 68, in get_revisions
revisions = tool.parse_revision_spec(cmd_args)
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/clients/git.py", line 157, in parse_revision_spec
remote = self._find_remote(parent_branch)
File "/home/pz/.local/lib/python3.9/site-packages/rbtools/clients/git.py", line 1515, in _find_remote
raise SCMError('This clone has no configured remotes.')
rbtools.clients.errors.SCMError: This clone has no configured remotes.

Please provide any additional information below.