mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SVN: misleading "discovering location" due to not updated progress
This commit is contained in:
@@ -317,7 +317,9 @@ public class SvnUtil {
|
||||
|
||||
public Collection<File> handleWorkingCopyRoot(File root, ProgressIndicator progress) {
|
||||
final Collection<File> result = new HashSet<File>();
|
||||
String oldText = null;
|
||||
if (progress != null) {
|
||||
oldText = progress.getText();
|
||||
progress.setText(SvnBundle.message("progress.text.discovering.location", root.getAbsolutePath()));
|
||||
}
|
||||
try {
|
||||
@@ -330,6 +332,9 @@ public class SvnUtil {
|
||||
catch (SVNException e) {
|
||||
//
|
||||
}
|
||||
if (progress != null) {
|
||||
progress.setText(oldText);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user