Sunwood-ai-labs/SourceSage

stderr: 'fatal: bad revision 'unittest'

Sunwood-ai-labs opened this issue · 0 comments

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\makim\miniconda3\Scripts\sourcesage.exe\__main__.py", line 7, in <module>
  File "C:\Users\makim\miniconda3\Lib\site-packages\sourcesage\cli.py", line 23, in main
    sourcesage.run()
  File "C:\Users\makim\miniconda3\Lib\site-packages\sourcesage\core.py", line 44, in run
    changelog_generator.generate_changelog_for_all_branches()
  File "C:\Users\makim\miniconda3\Lib\site-packages\sourcesage\modules\ChangelogGenerator.py", line 50, in generate_changelog_for_all_branches
    self.generate_changelog(branch_name, output_file)
  File "C:\Users\makim\miniconda3\Lib\site-packages\sourcesage\modules\ChangelogGenerator.py", line 21, in generate_changelog
    commits = self._get_commits(branch)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\makim\miniconda3\Lib\site-packages\sourcesage\modules\ChangelogGenerator.py", line 18, in _get_commits
    return list(self.repo.iter_commits(branch))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\makim\miniconda3\Lib\site-packages\git\objects\commit.py", line 549, in _iter_from_process_or_stream
    finalize_process(proc_or_stream)
  File "C:\Users\makim\miniconda3\Lib\site-packages\git\util.py", line 504, in finalize_process
    proc.wait(**kwargs)
  File "C:\Users\makim\miniconda3\Lib\site-packages\git\cmd.py", line 834, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git rev-list unittest --
  stderr: 'fatal: bad revision 'unittest'