Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version History not reflecting on Git platform #98

Open
arpit0017 opened this issue May 6, 2020 · 1 comment
Open

Version History not reflecting on Git platform #98

arpit0017 opened this issue May 6, 2020 · 1 comment

Comments

@arpit0017
Copy link

So, i followed the steps written in the documentation, but when i pushed my repository into git , I am not able to see any version history.
However i am able to see the history in lshistory.bak
I think that the last step i.e gitcc checkin is giving some exceptions
"Exception: fatal: ambiguous argument 'master_ci..': unknown revision or path not in the working tree"

What can be problem here?
Thanks in advance

@charleso
Copy link
Owner

charleso commented May 8, 2020

@arpit0017 I'm sorry, the error handling in git-cc is terrible. The problem here is that a real error is being squashed by a bad finally block:

https://github.com/charleso/git-cc/blob/master/git_cc/rebase.py#L67

If you don't mind modifying the code, you need to comment out the the code under finally and see what the real error is.

The slowest part of git-cc is getting the initial lshistory.bak file (I'm not sure how big your repository is), but now that have a copy you can do an import directly and bypass having to wait for loading it again:

git-cc rebase --load=.git/lshistory.bak

I should also mention that I'm not actively supporting git-cc (I haven't used clearcase in almost 10 years). If you're not comfortable with having to poke around the python I have to warn you that git-cc is very brittle (I was very young at the time) and you might find the experience frustrating.

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants