Skip to content

Conversation

@mjwoods
Copy link

@mjwoods mjwoods commented Jun 26, 2018

Resolves issue #456.

With this change, mirror -R can replace symlinks over sftp.

One side-effect is that ln -s will also replace symlinks, when this would normally be an error.

A better solution would allow mirror -R to replace symlinks without changing the behaviour of ln -s. Any suggestions?

@mjwoods
Copy link
Author

mjwoods commented Jun 29, 2018

The travis-ci build failure seems unrelated to the changes in this PR. The error indicates a missing header file, as follows:

module.cc:30:24: fatal error: configmake.h: No such file or directory

@lavv17
Copy link
Owner

lavv17 commented Jul 9, 2018

I don't like removing the old file without knowing it's a symlink first. Mirror should itself remove the old symlink if necessary.

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

Successfully merging this pull request may close these issues.

2 participants