/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/bedding.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2019-06-16 20:27:24 UTC
  • mfrom: (7344.2.1 relocate_brz_log)
  • Revision ID: breezy.the.bot@gmail.com-20190616202724-odinv39s5i63i52g
Relocate the bzr log file out of $HOME.

Merged from https://code.launchpad.net/~gz/brz/relocate_brz_log/+merge/368886

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
 
170
170
def cache_dir():
171
171
    """Return the cache directory to use."""
 
172
    base = osutils.path_from_environ('BRZ_HOME')
172
173
    if sys.platform in "win32":
173
 
        base = win32utils.get_local_appdata_location()
 
174
        if base is None:
 
175
            base = win32utils.get_local_appdata_location()
174
176
        if base is None:
175
177
            base = win32utils.get_home_location()
176
178
    else: