82
83
the.set_repo( self.repo )
83
84
the.repo.check_dir_exists()
88
# initialise deployment and check if it's ongoing
85
89
deployment = Deployment()
88
# check for differing files
89
files = deployment.get_diffs()
91
message += 'Modified files in %s\n %s\n' % \
92
( the.fsdir, '\n '.join( files ) )
95
files = the.repo.vcs.get_conflicts()
97
message += 'Conflicts in %s:\n %s\n' % \
98
( the.repo.dir, '\n '.join( files ) )
99
90
if deployment.is_ongoing():
100
files = deployment.get_conflicts()
92
# check for conflicts in repo
93
files = the.repo.vcs.get_conflicts()
95
message += 'Conflicts in %s:\n %s\n' % \
96
( the.repo.name, '\n '.join( files ) )
98
# get deployment conflicts
99
conflicts = deployment.get_conflicts()
102
101
message += 'Deployment conflicts:\n %s\n' % \
102
'\n '.join( conflicts )
107
walker = StatusWalker()
110
message += 'Modified:\n %s\n' % \
111
'\n '.join( walker.modified )
113
message += 'Missing:\n %s\n' % \
114
'\n '.join( walker.missing )
116
message += 'Type changed:\n %s\n' % \
117
'\n '.join( walker.changed )
106
120
if message: print message.rstrip()