git-cc icon indicating copy to clipboard operation
git-cc copied to clipboard

Version History not reflecting on Git platform

Open arpit0017 opened this issue 5 years ago • 1 comments

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

arpit0017 avatar May 06 '20 07:05 arpit0017

@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.

charleso avatar May 08 '20 23:05 charleso