Commits

Pierre-Yves David committed e6e47c4

hgext: add a simpler extension to enable obsolete on server

  • Participants
  • Parent commits 1db801b
  • Branches default

Comments (0)

Files changed (1)

File hgext/simple4server.py

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