mercurial/__init__.py
author Durham Goode <durham@fb.com>
Tue, 14 Oct 2014 13:17:35 -0700
changeset 22949 714f6ef43f3a
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
obsolete: add isenabled function for option checking Previously, obsolete used the module level _enabled flag to determine whether it was on or off. We need a bit more granular control, so we'll be introducing toggle options. The isenabled() function is how you check if a particular option is enabled for the given repository. Future patches will add options such as 'createmarkers', 'allowunstable', and 'exchange' to enable various features of obsolete markers.