22
22
import sys, os, re, getopt, shutil, subprocess
23
from .command import Command
23
from command import Command
24
24
import stdhome.the as the
25
25
from stdhome.deployment import Deployment
36
36
def print_help( self ):
37
print("Usage: " + the.program.name + " init [URL] [--repo=REPO]")
37
print "Usage: " + the.program.name + " init [URL] [--repo=REPO]"
39
39
# 01234567890123456789012345678901234567890123456789012345678901234567890123456789
40
print("Initialise a local repository.")
42
print("If an URL is given, the local reposity is a checkout of it (i.e., you can")
43
print("receive updates from it and changes you commit will be sent to it). The URL")
44
print("can take the form of a simple hostname, such as \"example.com\", or it can be a")
45
print("fully-qualified bazaar URL. (Actually, in the first case, where it is a simple")
46
print("hostname, it is internally expanded to scp://HOSTNAME/~/.stdhome/REPO).")
49
print(" --quiet do not report changes to the home directory")
50
print(" -r, --repo=REPO select the repo to check-out or create (defaults to 'home')")
51
print(" -v, --verbose display information about what is being done")
52
print(" --vcs=VCS select the version control system")
53
print(" --help display help and exit")
40
print "Initialise a local repository."
42
print "If an URL is given, the local reposity is a checkout of it (i.e., you can"
43
print "receive updates from it and changes you commit will be sent to it). The URL"
44
print "can take the form of a simple hostname, such as \"example.com\", or it can be a"
45
print "fully-qualified bazaar URL. (Actually, in the first case, where it is a simple"
46
print "hostname, it is internally expanded to scp://HOSTNAME/~/.stdhome/REPO)."
49
print " --quiet do not report changes to the home directory"
50
print " -r, --repo=REPO select the repo to check-out or create (defaults to 'home')"
51
print " -v, --verbose display information about what is being done"
52
print " --vcs=VCS select the version control system"
53
print " --help display help and exit"