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