61
57
[ "repo=", "verbose", "help" ] )
63
59
if opt in [ '--repo', '-r' ]:
65
61
raise the.program.FatalError(
66
62
'invalid repository name: ' + optarg )
73
67
# discard first argument (the command)
83
76
# set up repo and check it exists
85
77
the.repo.check_dir_exists()
89
84
# initialise deployment and check if it's ongoing
90
85
deployment = Deployment()
91
86
if deployment.is_ongoing():
93
89
# check for conflicts in repo
94
90
files = the.repo.vcs.get_conflicts()