lp:~mario-danic/bzr-gtk/trunk
- Get this branch:
- bzr branch lp:~mario-danic/bzr-gtk/trunk
Branch merges
Branch information
Recent revisions
- 634. By Vincent Ladeuil
-
Fix bug #373157 by properly setting the default values.
* tests/test_
annotate_ config. py:
(TestConfig.test_create_ initial_ config) : Urgh, remove pdb breakpoint. * annotate/config.py:
(gannotate_configspec) : Deleted, can't be used for default values
and not used for validation: useless.
(gannotate_config_ filename) : Turned into a function so that tests
get proper isolated result (evaluating the path at load time
forbids the test framework overriding).
(GAnnotateConfig.__init_ _): Add default values *only* if the
'window' section doesn't exist. Assigning them unconditionally
defeats the config file purpose... Also delete the 'spans' section
since nobody use it.
(GAnnotateConfig.apply) : Coerce config values when we use them.
(Gannotateconfig._save_ custom_ spans): Deleted (dead code).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)
- Stacked on:
- lp:bzr-gtk/gtk2