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

Moving Symlinks in git makes ClearCase checkin fail #70

Open
chrahunt opened this issue Oct 29, 2016 · 0 comments
Open

Moving Symlinks in git makes ClearCase checkin fail #70

chrahunt opened this issue Oct 29, 2016 · 0 comments

Comments

@chrahunt
Copy link

chrahunt commented Oct 29, 2016

My git repository has a symlink pointing into a VOB. From a..b the symlink moved. gitcc checkin failed (after uncoing checked out files) with error: Exception: cleartool: Error: Not an element: "example.hpp". This seems to be due to gitcc only considering the type output of git diff around here and then status.Rename trying to check out the file. Per this article it looks like the typical way to edit a VOB symbolic link is to delete it and recreate it. Any change here will also need to change the conflict check logic since the symlink created with cleartool ln will have a different object hash than the existing symlink in git. or do a symlink-specific check.

In the next commit I had actually changed the symlink into a file, so as a workaround I checked out the directory, replaced the symlinks with files, then checked in and executed gitcc checkin --force.

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

1 participant