~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2012-01-04 17:42:22 UTC
  • mto: This revision was merged to the branch mainline in revision 6437.
  • Revision ID: v.ladeuil+lp@free.fr-20120104174222-tdt031gd262sh1f2
Feedback from review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3352
3352
class StartingPathMatcher(SectionMatcher):
3353
3353
    """Select sections for a given location respecting the Store order."""
3354
3354
 
 
3355
    # FIXME: Both local paths and urls can be used for section names as well as
 
3356
    # ``location`` to stay consistent with ``LocationMatcher`` which itself
 
3357
    # inherited the fuzziness from the previous ``LocationConfig``
 
3358
    # implementation. We probably need to revisit which encoding is allowed for
 
3359
    # both ``location`` and section names and how we normalize
 
3360
    # them. http://pad.lv/85479, http://pad.lv/437009 and http://359320 are
 
3361
    # related too. -- vila 2012-01-04
 
3362
 
3355
3363
    def __init__(self, store, location):
3356
3364
        super(StartingPathMatcher, self).__init__(store)
3357
3365
        if location.startswith('file://'):