hgext/simple4server.py
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
Tue, 22 Oct 2013 11:51:01 +0200
changeset 750 ddbea2fdee5e
parent 660 e6e47c432ffd
child 822 5f5d269278e9
permissions -rw-r--r--
evolve: allow updating to the successor if the parent is obsolete Although 'hg update' handles this as well, it will also update to tipmost descendent of the successor, if any.

'''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