Skip to content

Fails on MacOS: "readlink: illegal option -- f" #97

@lzkelley

Description

@lzkelley
daedalus:illpy lzkelley$ ../fast-export/hg-fast-export.sh -r ../_illpy/
readlink: illegal option -- f
usage: readlink [-n] [file ...]

Error: The option core.ignoreCase is set to true in the git
repository. This will produce empty changesets for renames that just
change the case of the file name.
Use --force to skip this check or change the option with
git config core.ignoreCase false

It looks like this parameter only works on linux. They fixed the issue here just checking what the OS is.


Temporary (local) Fix: removing the -f flag in hg-fast-export.sh works fine.

Also: I did have issues with the path resolution also. If I run the script as ../fast-export/hg-fast-export.sh -r ../_illpy/ it couldn't find hg-fast-export.py... so I ended up just copying all of the scripts to my current directory (my new git repository) and running the script from there.

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