~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

add some more tests for getting policy options, and behaviour of get_user_option in the presence of config policies

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
                else:
328
328
                    return value
329
329
            elif policy == POLICY_APPENDPATH:
330
 
                return urlutils.join(value, extra_path)
 
330
                if extra_path:
 
331
                    value = urlutils.join(value, extra_path)
 
332
                return value
331
333
        else:
332
334
            return None
333
335