I've just noticed that --limit doesn't seem to be working:

$ drush mi --limit="1 item" DSFile
Unknown option: --limit.  See `drush help migrate-import` for information on usage.             [warning]
Processed 0 (0 created, 0 updated, 0 failed, 0 ignored) in 0 sec (0/min) - done with 'DSFile'   [completed]
CommentFileSizeAuthor
#2 migrate_1342736.patch6.71 KBdrewish
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

Works for me, having pulled the latest dev code half an hour ago:

$ drush mi --limit="1 item" slide
Processed 1 (1 created, 0 updated, 0 failed, 0 ignored) in 4.6 sec (13/min) - done with 'slide'   

I can't see an obvious reason drush would not be recognizing the option for you, this isn't code that's been touched lately - what does drush help mi say?

drewish’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
6.71 KB

Looks like someone had updated drush. 5.x doesn't seem to like the -- option prefix.

mikeryan’s picture

Assigned: Unassigned » drewish
Status: Needs review » Reviewed & tested by the community

Doesn't seem to hurt drush 4.x...

mikeryan’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Shortening the long lines.