view hgext/simple4server.py @ 660:e6e47c432ffd

hgext: add a simpler extension to enable obsolete on server
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 25 Jan 2013 17:26:47 +0100
parents
children 5f5d269278e9
line wrap: on
line source

'''enable experimental obsolescence feature of Mercurial

OBSOLESCENCE IS AN EXPERIMENTAL FEATURE MAKE SURE YOU UNDERSTOOD THE INVOLVED
CONCEPT BEFORE USING IT.

/!\ THIS EXTENSION IS INTENDED FOR SERVER SIDE ONLY USAGE /!\

For client side usages it is recommended to use the evolve extension for
improved user interface.'''

import mercurial.obsolete
mercurial.obsolete._enabled = True