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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drush-make-svn-rev_842198-3170346.patch | 512 bytes | bwood |
| #1 | drush-make-svn-rev_842198.patch | 678 bytes | bwood |
| #1 | drush-make-svn-rev-readme_842198.patch | 571 bytes | bwood |
Comments
Comment #1
bwood commentedThe patches.
Comment #2
dmitrig01 commentedthis was fixed in beta 8
Comment #3
bwood commentedHi 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.
Comment #4
bwood commentedthe patch
Comment #5
dmitrig01 commentedargh, thanks, will commit when i do the next drush_make push.
Comment #6
pounardPatch #4 does not works with my installation (drush make 6.x-2.0-beta8)
Comment #7
pounardOh, wrong issue, not the same problem. I'm opening a new one.Too tired today... forget this.
Comment #8
dmitrig01 commentedThanks