Drush Features Diff (drupal7)

  1. Enable diff module
1drush en diff -y
  1. Show all features
 1[root@yoursite.example.com docroot]# drush fd
 2 BEF Test Content          bef_test_content          Disabled  7.x-3.5                     
 3 Keystone Media News       content_keystone_media    Enabled   7.x-1.0-alpha10             
 4 Content Set #1            content_set_1             Enabled   7.x-1.0-alpha9m             
 5 Content Set #2            content_set_2             Enabled   7.x-1.0-alpha16m            
 6 Content Set #3            content_set_3             Enabled   7.x-1.0-alpha80   Overridden
 7 Content Set #4            content_set_4             Enabled   7.x-1.0-alpha26             
 8 Date Migration Example    date_migrate_example      Disabled  7.x-2.10                    
 9 Features Tests            features_test             Disabled  7.x-2.10                    
10 Feeds Import              feeds_import              Enabled   7.x-2.0-beta4               
11 Feeds News                feeds_news                Disabled  7.x-2.0-beta4               
12 Free Tags                 free_tags                 Enabled   7.x-1.0-alpha2              
13 migrate_example_baseball  migrate_example_baseball  Disabled  7.x-2.7                     
14 Migrate example - Oracle  migrate_example_oracle    Disabled  7.x-2.7                     
15 Radioactivity defaults    radioactivitydefaults     Disabled  7.x-2.10                    
16 Site Config               site_config               Enabled   7.x-1.0-alpha23m            
17 Site Config: Events       site_config_events        Enabled   7.x-1.0-alpha5              
18 Site Contexts             site_contexts             Enabled   7.x-1.0-alpha14             
19 TBF Trump Tracker         tbf_trump_tracker         Enabled                               
20 UUID Services Example     uuid_services_example     Disabled  7.x-1.0
  1. Get the diff
 1[root@yoursite.example.com docroot]# drush fd content_set_3
 2Legend:
 3Code:       drush features-revert will remove the overrides.
 4Overrides:  drush features-update will update the exported feature with the displayed overrides
 5 
 6 
 7Component type: field_instance
 8          'allowed_schemes' => array(
 9            'public' => 'public',
10>           'vimeo' => 'vimeo',
11            'youtube' => 'youtube',
12          ),
13            'video' => 'video',
14          ),
15<         'progress_indicator' => 'throbber',
16---
17>         'browser_plugins' => array(
18>           'media_default--media_browser_1' => 'media_default--media_browser_1',
19>           'media_internet' => 'media_internet',
20>           'upload' => 'upload',
21>         ),
22        ),
23        'type' => 'media_generic',