changeset 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 1db801bcd08f
children 40854e956315 c5a5e9f2c959
files hgext/simple4server.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hgext/simple4server.py	Fri Jan 25 17:26:47 2013 +0100
@@ -0,0 +1,12 @@
+'''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