/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/command/diff.py

  • Committer: Tim Marston
  • Date: 2014-07-17 18:19:47 UTC
  • Revision ID: tim@ed.am-20140717181947-pe060idibfu0kfsk
fixed diff command out-of-order output issue

Show diffs side-by-side

added added

removed removed

101
101
                # call colordiff
102
102
                for file in walker.modified:
103
103
                        print ( "\033[33m=== modified '%s'\n" % file ).rstrip()
 
104
                        sys.stdout.flush()
104
105
                        call( [ 'colordiff', '-ud',
105
106
                                        '--label', file,
106
107
                                        os.path.join( the.repo.full_dir, file ),