mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 10:58:07 +01:00
- fixed #579840 ("osc diff output should use a tab as separator behind filenames")
"svn diff" is doing the same so it shouldn't harm
This commit is contained in:
parent
ef98fdba4f
commit
e402064bb2
@ -2861,8 +2861,8 @@ def get_source_file_diff(dir, filename, rev, oldfilename = None, olddir = None,
|
||||
d = difflib.unified_diff(\
|
||||
s1.splitlines(1), \
|
||||
s2.splitlines(1), \
|
||||
fromfile = '%s (revision %s)' % (origfilename, rev), \
|
||||
tofile = '%s (working copy)' % origfilename)
|
||||
fromfile = '%s\t(revision %s)' % (origfilename, rev), \
|
||||
tofile = '%s\t(working copy)' % origfilename)
|
||||
|
||||
# if file doesn't end with newline, we need to append one in the diff result
|
||||
d = list(d)
|
||||
|
Loading…
x
Reference in New Issue
Block a user