User: weitzman Branch: DRUPAL-6--2 Date: Mon, 13 Dec 2010 19:56:12 +0000 Modified files: /modules/migrate/includes field_mapping.inc migration.inc /modules/migrate/migrate_example beer.inc beer.install.inc Log message: Add dedupe() method for a field mapping. This assures that the value is unique, even if source data contains duplicates. Commonly used for usernames. Uniqueness is currently achieved by appending a number (e.g. example1). In the future we can expand to custom replacement patterns such as email address: sally1@example.com. Dedupe can be used on any mapping. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/migrate/includes/f... http://cvs.drupal.org/diff.php?path=contributions/modules/migrate/includes/m... http://cvs.drupal.org/diff.php?path=contributions/modules/migrate/migrate_ex... http://cvs.drupal.org/diff.php?path=contributions/modules/migrate/migrate_ex...