Skip to content

"OSError: [Errno 17] File exists" upon trying to commit #184

@galstest

Description

@galstest

See here for the log file tail: https://pb.yelpcorp.com/113047

I had some issues with the pre-commit hooks while trying to merge a conflict file.
The error showed something regarding some repo under ~/.pre-commit
Looking for a solution I end up removing that repo dir. Sorry but I can't find where I got this solution from (it has been a few days ago).
From that point on I kept getting this: https://pb.yelpcorp.com/113052 output when trying to commit.
The log file is the one I've pasted above.

Consulting with buck from the webcore group he suggested changing the name of .pre-commit dir which solved it (all hooks were re-installed).

I've sent you a tar of the .pre-commit dir that had that problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions