53
# fully qualified home directory
54
full_home_dir = util.canonicalise_path( home_dir )
57
def set_repo( repo_name ):
56
# fully qualified home directory, set by late_init()
60
config_file = os.path.expanduser( '~/.stdhomerc' )
65
global home_dir, full_home_dir
66
full_home_dir = util.canonicalise_path( home_dir )
67
if verbose >= 2: print "home-dir at " + home_dir
60
70
if repo is not None:
61
raise RuntimeError( 'logic error: the.repo is already set' )
62
repo = Repo( repo_name if repo_name else 'home' )
73
if verbose >= 2: print "repo at " + repo.dir