Closed Ollo closed 10 years ago
The .revision
file needs to be readable in order to generate the diff but should also be writable so that Dandelion can save the latest deployed revision.
hmm its currently set to 664 but it still producing that error.
I appreciate the help.
Check the revision SHA in the remote .revision
file. Is it ahead of what you're currently trying to deploy? If someone else deployed commits that are not in your local repository this could happen.
Try this locally:
$ git diff <remote_revision> HEAD
Where <remote_revision>
is the SHA from .revision
.
I'm also receiving this error. The SHA is the same in .revision as local commit...
My issue was due to an incorrect local path in the config file. I removed the local path option and the deploy works without error.
@Ollo Is this still an issue for you?
Had the same issue. Removing the local path did the trick
@renesijnke @lightfuze Did you both have an incorrect local path (i.e. directory that doesn't exist) or are you unable to specify anything as a local path?
My local path is correct (pwd command in terminal). My path is /Users/renesijnke/_kersvers/003 - projecten/019 - Arno Lubbinge/HTML. I also tried it with: /Users/renesijnke/_kersvers/003\ -\ projecten/019\ -\ Arno\ Lubbinge/HTML (escaped spaces)
Everything works perfect when I remove the local_path line in dandelion.yml
My local path exists and is correct: /Users/lightfuze/Sites/www
The local_path needs to be a path relative to the root of the repository (not an absolute path). I'll make note of this in the README.
I'm attempting to use this with a WordPress installation on WPengine. when running status or deploy with an sftp config I receive:
Error: could not generate diff Try merging remote changes before running dandelion again
I'm working with their support team and they would like to know if there are specific permissions that need to be set on the .revision file in order for the diff to be generated?
Great tool for all other servers I've used it on so hoping to fit it into this workflow.
Regards,