2 from bup import git, options, client
3 from bup.helpers import *
6 [BUP_DIR=...] bup init [-r host:path]
8 r,remote= remote repository path
10 o = options.Options('bup init', optspec)
11 (opt, flags, extra) = o.parse(sys.argv[1:])
14 o.fatal("no arguments expected")
18 git.init_repo() # local repo
19 git.check_repo_or_die()
20 cli = client.Client(opt.remote, create=True)