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