------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4728/
------------------------------------------------------------------------------
New update by KG
For Beanbag, Inc. > RBTools > Ticket #4728
Reply:
Same old problem with RBTools 2.0.1 :
>>> RBTools 2.0.1
>>> Python 3.6.8 (default, Nov 16 2020, 16:55:22)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
>>> Running on
Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core
>>> Home = my_home
>>> Current directory = []
>>> Command line: rbt post -g --tracking-branch=trunk --debug
>>> Running: tf vc help
>>> Checking for a Bazaar repository...
>>> Unable to execute "brz help" or "bzr help": skipping Bazaar
>>> Checking for a ClearCase repository...
>>> Unable to execute "cleartool help": skipping ClearCase
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Running: git config core.bare
>>> Running: git rev-parse --show-toplevel
>>> Running: git symbolic-ref -q HEAD
>>> Running: git svn info
>>> Repository info: Path: [SVNrepo], Base path: trunk, Supports
changesets: False
>>> Checking for a Mercurial repository...
>>> Running: hg showconfig
>>> Checking for a Perforce repository...
>>> Unable to execute "p4 help": skipping Perforce
>>> Checking for a Plastic repository...
>>> Unable to execute "cm version": skipping Plastic
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Command exited with rc 1: ['svn', '--non-interactive', 'info']
>>> Checking for a Team Foundation Server repository...
>>> Unable to execute "tf help": skipping TFS
>>> Running: git config --get reviewboard.url
>>> Making HTTP GET request to [reviewboard]
>>> Making HTTP GET request to [reviewboard.svn]
>>> Cached response for HTTP GET [reviewboard.svn] expired and was modified
>>> Running: git rev-parse refs/heads/template
>>> Running: git branch --remotes
>>> Running: git rev-parse trunk
>>> Running: git rev-list eedc2c7b3e724329479a9339aaccd0b8a1bf953f --not
--remotes=trunk
>>> Running: git rev-parse baae4ccbe16782c943e1d7d49e43b0c19723f638^
>>> Command exited with rc 128: ['git', 'rev-parse',
'baae4ccbe16782c943e1d7d49e43b0c19723f638^']
fatal: ambiguous argument 'baae4ccbe16782c943e1d7d49e43b0c19723f638^':
unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
baae4ccbe16782c943e1d7d49e43b0c19723f638^
---
Traceback (most recent call last):
File "/usr/bin/rbt", line 11, in <module>
load_entry_point('RBTools==2.0.1', 'console_scripts', 'rbt')()
File "/usr/lib/python3.6/site-packages/rbtools/commands/main.py", line
124, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/usr/lib/python3.6/site-packages/rbtools/commands/__init__.py",
line 770, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/lib/python3.6/site-packages/rbtools/commands/post.py", line
1014, in main
self.revisions = get_revisions(self.tool, self.cmd_args)
File "/usr/lib/python3.6/site-packages/rbtools/utils/review_request.py",
line 68, in get_revisions
revisions = tool.parse_revision_spec(cmd_args)
File "/usr/lib/python3.6/site-packages/rbtools/clients/git.py", line 161,
in parse_revision_spec
parent_ref, remote)
File "/usr/lib/python3.6/site-packages/rbtools/clients/git.py", line 624,
in _rev_list_youngest_remote_ancestor
youngest_remote_commit = self._rev_parse('%s^' % local_commit)[0]
File "/usr/lib/python3.6/site-packages/rbtools/clients/git.py", line 592,
in _rev_parse
revisions = self._execute([self.git, 'rev-parse'] + revisions)
File "/usr/lib/python3.6/site-packages/rbtools/clients/git.py", line
1340, in _execute
return execute(cmdline, cwd=self._git_toplevel, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/rbtools/utils/process.py", line
189, in execute
raise Exception('Failed to execute command: %s' % command)
Exception: Failed to execute command: ['git', 'rev-parse',
'baae4ccbe16782c943e1d7d49e43b0c19723f638^']
-----------------------------------
Fixed by using tips on comment #9
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/reviewboard-issues/20211006083930.17878.47915%40ip-10-1-54-209.ec2.internal.