/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/vcs/bzr.py

  • Committer: Tim Marston
  • Date: 2016-02-28 17:51:29 UTC
  • Revision ID: tim@ed.am-20160228175129-ea341cedv8g3s63m
fixed display of bzr output

Show diffs side-by-side

added added

removed removed

297
297
                if p.returncode > 0:
298
298
                        raise self.VcsError( ' '.join( cmd[ : 2 ] ), output )
299
299
                if the.verbose >= 2:
300
 
                        print re.sub( '(^|\n)', '\\1  > ', output.rstrip() )
 
300
                        verbose_output = output.rstrip()
 
301
                        if len( verbose_output ):
 
302
                                print re.sub( '(^|\n)', '\\1  : ', verbose_output )
301
303
                return output
302
304
 
303
305