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!

CommentFileSizeAuthor
dog_dodo_with_full_URL.txt525 bytesvictorkane

Comments

sdboyer’s picture

Status: Active » Fixed

Yeah sorry, that was a dumb typo. I fixed it when I noticed it earlier today, prior to seeing your issue. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.