mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -101,7 +101,8 @@ public class HgUpdateCommand {
|
||||
}
|
||||
|
||||
private static boolean detectLocalChangeConflict(HgCommandResult result) {
|
||||
final Pattern UNCOMMITTED_PATTERN = Pattern.compile(".*abort.*uncommitted.*changes.*", Pattern.DOTALL);
|
||||
// error messages from mercurial after update command: "abort: outstanding uncommitted merges", "abort: uncommitted changes"
|
||||
final Pattern UNCOMMITTED_PATTERN = Pattern.compile(".*abort.*uncommitted\\s*(changes|merges).*", Pattern.DOTALL);
|
||||
Matcher matcher = UNCOMMITTED_PATTERN.matcher(result.getRawError());
|
||||
return matcher.matches();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user