I believe that the patch submitted here http://drupal.org/node/750428#comment-2953852 creates a problem. My make file contains

projects[ucberkeley][type] = "profile"
projects[ucberkeley][download][type] = "svn"
projects[ucberkeley][download][username] = "bwood"
projects[ucberkeley][download][url] = "svn+ssh://svn.example.com/foo"

Running drush make -v I see:

Executing: svn --force --non-interactive 'export' ''                               [notice]
'svn+ssh://svn.example.com/foo'
'/tmp/drush_make_tmp_1277940359/__build__/profiles/ucberkeley' --username
'bwood' --password ''

The '' to the left of 'export' causes this command to fail (at least with my subversion 1.4 server). The fix is either to add

projects[ucberkeley][download][revision] = "HEAD"

or to apply my patch below. Setting $flags to null doesn't work. Maybe that should be fixed somewhere upstream. I'm assuming that if the user doesn't specify a revision, they want HEAD.

Comments

bwood’s picture

The patches.

dmitrig01’s picture

Status: Active » Fixed

this was fixed in beta 8

bwood’s picture

Hi Dimitri,

I shoulda checked my version more carefully. Just downloaded beta8 and I see that the revision issue is fixed, but there was still a tiny bug preventing it from working for me: Missing space before '--username'. I'm attaching a new patch.

bwood’s picture

StatusFileSize
new512 bytes

the patch

dmitrig01’s picture

Status: Fixed » Reviewed & tested by the community

argh, thanks, will commit when i do the next drush_make push.

pounard’s picture

Patch #4 does not works with my installation (drush make 6.x-2.0-beta8)

pounard’s picture

Oh, wrong issue, not the same problem. I'm opening a new one.
Too tired today... forget this.

dmitrig01’s picture

Status: Reviewed & tested by the community » Fixed

Thanks

Status: Fixed » Closed (fixed)

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