/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_branch.py

  • Committer: Martin
  • Date: 2019-06-16 01:03:51 UTC
  • mto: This revision was merged to the branch mainline in revision 7340.
  • Revision ID: gzlist@googlemail.com-20190616010351-uz89ydnwdoal4ve4
Split non-ini config methods to bedding

Functions that determine filesystem paths to use for config and default
username are now outside of the main (large) config module.

Also move cache_dir function from osutils and normalise logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
"""
24
24
 
25
25
from .. import (
 
26
    bedding,
26
27
    branch as _mod_branch,
27
28
    config,
28
29
    controldir,
117
118
                             b"push_location = foo\n"
118
119
                             b"push_location:policy = norecurse\n" % local_path.encode(
119
120
                                 'utf-8'),
120
 
                             config.locations_config_filename())
 
121
                             bedding.locations_config_path())
121
122
 
122
123
    # TODO RBC 20051029 test getting a push location from a branch in a
123
124
    # recursive section - that is, it appends the branch name.