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