mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Problem with username fixed
*username and email shouldn't be parsing if there are no default value for repository
This commit is contained in:
@@ -231,8 +231,11 @@ public class HgLogProvider implements VcsLogProvider {
|
||||
if (userName == null) {
|
||||
userName = System.getenv("HGUSER");
|
||||
}
|
||||
if (userName == null) {
|
||||
return null;
|
||||
}
|
||||
Pair<String, String> userArgs = HgUtil.parseUserNameAndEmail(userName);
|
||||
return userName == null ? null : myVcsObjectsFactory.createUser(userArgs.getFirst(), userArgs.getSecond());
|
||||
return myVcsObjectsFactory.createUser(userArgs.getFirst(), userArgs.getSecond());
|
||||
}
|
||||
|
||||
private static String prepareParameter(String paramName, String value) {
|
||||
|
||||
Reference in New Issue
Block a user