Skip to content

Error during gitcc rebase #88

@alicanhaman

Description

@alicanhaman

Hello, when running gitcc rebase, I keep getting the same error after some time. Then I am stuck in master_cc branch with nothing much to do. I am no expert on git or clearcase just trying to work this out, can you guide me on how to troubleshoot this error and rerun gitcc rebase from where it left off.

Trace:
git rebase master_ci master_cc
Traceback (most recent call last):
File "C:\Python27\Scripts\gitcc-script.py", line 11, in
load_entry_point('git-cc==1.0.1.dev0', 'console_scripts', 'gitcc')()
File "c:\python27\lib\site-packages\git_cc\gitcc.py", line 25, in main
return invoke(cmd, args)
File "c:\python27\lib\site-packages\git_cc\gitcc.py", line 52, in invoke
cmd.main(*args)
File "c:\python27\lib\site-packages\git_cc\rebase.py", line 54, in main
doStash(lambda: doCommit(cs), stash)
File "c:\python27\lib\site-packages\git_cc\common.py", line 68, in doStash
f()
File "c:\python27\lib\site-packages\git_cc\rebase.py", line 54, in
doStash(lambda: doCommit(cs), stash)
File "c:\python27\lib\site-packages\git_cc\rebase.py", line 68, in doCommit
git_exec(['rebase', CI_TAG, CC_TAG])
File "c:\python27\lib\site-packages\git_cc\common.py", line 77, in git_exec
return popen('git', cmd, GIT_DIR, encoding='UTF-8', **args)
File "c:\python27\lib\site-packages\git_cc\common.py", line 92, in popen
raise Exception(decodeString(encoding, stderr + stdout))
Exception: Cannot rebase: You have unstaged changes.
Please commit or stash them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions