1513
1513
raise errors.BzrError('You must have one of BZR_HOME, APPDATA,'
1515
1515
return osutils.pathjoin(base, 'bazaar', '2.0')
1518
1521
# this takes into account $HOME
1519
1522
base = os.path.expanduser("~")
1520
1523
return osutils.pathjoin(base, '.bazaar')
1524
1526
xdg_dir = os.environ.get('XDG_CONFIG_HOME', None)
1526
1528
xdg_dir = osutils.pathjoin(os.path.expanduser("~"), ".config")