/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/program.py

  • Committer: Tim Marston
  • Date: 2016-04-10 20:16:16 UTC
  • Revision ID: tim@ed.am-20160410201616-xyd9aeyc7xf6tqg5
fixed tools to use ~/tmp/stdhome-dev as dev home-dir

Show diffs side-by-side

added added

removed removed

117
117
                        'rm': 'remove',
118
118
                        'st': 'status',
119
119
                        'co': 'init',
120
 
                        'ci': 'add',
121
120
                }.get( command, False )
122
121
                if alias: return alias
123
122
 
208
207
                try:
209
208
                        instance.run()
210
209
                except Vcs.VcsError as e:
211
 
                        message = e.msg.rstrip() + '\n\nVCS OUTPUT:\n' + e.output.rstrip()
 
210
                        message = e.msg.rstrip()
 
211
                        if the.verbose >= 1:
 
212
                                message += '\n\nVCS OUTPUT:\n' + e.output.rstrip()
212
213
                        self.die( message )
213
214
                except self.FatalError as e:
214
215
                        self.die( e.msg )