Commanding Chaos for Coworking, Open Source and Creative Communities

Error message

  • Deprecated function: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in drupal_session_initialize() (line 245 of includes/session.inc).
  • Deprecated function: Creation of dynamic property alpha_theme_container::$delta is deprecated in alpha_theme_container->__construct() (line 25 of sites/all/themes/contrib/omega/alpha/includes/base.inc).

revision

git: revert (reset) a single file

Wed, 08/15/2012 - 11:48 -- rprice

If you have an uncommitted change (its only in your working copy) that you wish to revert (in SVN terms) to the copy in your latest commit, do the following:

git checkout filename

This will checkout the file from HEAD, overwriting your change.

The rest of the Internet will tell you to use git reset --hard, but this resets all uncommitted changes you’ve made in your working copy. Type this with care.

files
tips
howto
revision
git

Entity revision scheduling | drupal.org

Wed, 08/15/2012 - 07:57 -- rprice

During the editing process, the 'draft' revision is loaded to replace the 'published' revision. Whenever a revision is saved, the 'published' revision is then reloaded and resaved to ensure that it remains published even though changes were made to the current revision.

On cron, a schedule allows the system to automatically switch to a given 'published' revision at a certain time.

publishing
revision
modules
drupaleasypodcast
Subscribe to RSS - revision