stash: rework bugfixes
This commit is contained in:
parent
6f4a88737d
commit
e8fe0efcdb
5
jsvn
5
jsvn
@ -1322,6 +1322,8 @@ q: quit and abort stash
|
||||
svars['hunk_buildup'] = ''
|
||||
svars['index_fname'] = new_file_name
|
||||
svars['binary_file'] = False
|
||||
svars['wrote_index_sf'] = False
|
||||
svars['wrote_index_rf'] = False
|
||||
|
||||
diff_proc = Popen([svn, 'diff'] + targets, stdout=PIPE)
|
||||
for line in iter(diff_proc.stdout.readline, ''):
|
||||
@ -1342,7 +1344,8 @@ q: quit and abort stash
|
||||
svars['hunk_buildup'] += line
|
||||
if svars['quit']:
|
||||
break
|
||||
flush_file('')
|
||||
if not svars['quit']:
|
||||
flush_file('')
|
||||
|
||||
s_fh.close()
|
||||
r_fh.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user