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