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

Error ambiguous argument on executing gitcopy:set_current_revision #39

Closed
yongzhenlow opened this issue Apr 14, 2016 · 1 comment
Closed

Comments

@yongzhenlow
Copy link

I'm running cap on ubuntu 14.04.1, git 2.8.1

The error seems to happen when gitcopy does a git rev-list

** Invoke gitcopy:set_current_revision (first_time)
** Execute gitcopy:set_current_revision
cap aborted!
SSHKit::Command::Failed: git exit status: 32768
git stdout: Nothing written
git stderr: fatal: ambiguous argument 'develop': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Tasks: TOP => gitcopy:create_release => gitcopy:create_tarfile => gitcopy:set_current_revision
(See full trace by running task with --trace)
The deploy has failed with an error: git exit status: 32768
git stdout: Nothing written
git stderr: fatal: ambiguous argument 'develop': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

@yongzhenlow yongzhenlow changed the title Ambiguous argument when deploying Error ambiguous argument on executing gitcopy:set_current_revision Apr 14, 2016
aaron-lim added a commit to aaron-lim/capistrano-scm-gitcopy that referenced this issue May 21, 2016
@yongzhenlow
Copy link
Author

Closed as fixed in #41

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