Closed (fixed)
Project:
dog (Drupal on Git)
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2011 at 16:10 UTC
Updated:
25 Apr 2011 at 04:22 UTC
First of all, thanks for this great initiative.
I got the following:
I tried a full URL in order to initialize a new Pressflow project from the master branch of a gitorious upstream (command on a single line):
# drush dog-init
--upstream=git@gitorious.org:pressflow/6.git
--upstream-ref=master
sandbox2
Fatal error: Call to undefined function get_option() in /usr/local/sbin/drush/commands/dog/dog.drush.inc on line 181
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function get_option() in /usr/local/sbin/drush/commands/dog/dog.drush.inc, line 181
I fixed a typo (see attached patch) on line 181:
before: $upstream_ref = drush-get_option('upstream-ref');
after: $upstream_ref = drush_get_option('upstream-ref');
Then I re-ran the command with the patch applied:
# drush dog-init --upstream=git@gitorious.org:pressflow/6.git --upstream-ref=master sandbox2
Upstream URI 'git@gitorious.org:pressflow/6.git' is not a Git repository. [error]
Eager to move forward!
| Comment | File | Size | Author |
|---|---|---|---|
| dog_dodo_with_full_URL.txt | 525 bytes | victorkane |
Comments
Comment #1
sdboyer commentedYeah sorry, that was a dumb typo. I fixed it when I noticed it earlier today, prior to seeing your issue. Thanks!