drush-HEAD has a new feature that allows you to lock modules so that pm-updatecode won't touch them. This patch introduces (a) a hacked command and (b) a new flag to pm-updatecode that will automatically lock modified modules.

This patch requires drush-4.x (current drush-HEAD), but causes no problems (does nothing) on earlier releases.

CommentFileSizeAuthor
hacked-lock-modified.patch3.19 KBgreg.1.anderson

Comments

danepowell’s picture

Thanks a lot, this looks very useful- I'll test it over our next upgrade cycle and let you know how it performs...

danepowell’s picture

Works great so far! I posted an updated description of my workflow using the auto-lock feature.

steven jones’s picture

This is looking pretty shweet. Will get around the reviewing at some point soon...

steven jones’s picture

Status: Needs review » Fixed

Awesome stuff greg, I've added the patch to the 2.x branch.

http://drupal.org/cvs?commit=413594

greg.1.anderson’s picture

Thank you kindly.

Status: Fixed » Closed (fixed)

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