Add a way to tell whether a particular option is compatible with --options.
commit3c837d53f6e33b9340d80629611bc6200e40fb84
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 26 Jul 2009 10:17:28 +0000 (26 10:17 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 26 Jul 2009 10:17:28 +0000 (26 10:17 +0000)
tree810cda286d6d0503085ed7c193dc759c8ad17e05
parentec84507911f84812d0d5d0f98824ddc7d58e1deb
Add a way to tell whether a particular option is compatible with --options.

* cvs2svn_lib/run_options.py (ContextOption.__init__): Support an
  optional constructor argument, compatible_with_option (defaulting to
  False).

  (ContextOption.__callback): Only register an --option incompatible
  option if this option is incompatible with --option.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@4831 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2svn_lib/run_options.py