| | |
| | | PersonIdent ident; |
| | | if (UserModel.ANONYMOUS.equals(user)) { |
| | | // anonymous push |
| | | ident = new PersonIdent("anonymous", "anonymous"); |
| | | ident = new PersonIdent(user.username + "/" + user.username, user.username); |
| | | } else { |
| | | // construct real pushing account |
| | | ident = new PersonIdent(MessageFormat.format("{0}/{1}", user.getDisplayName(), user.username), |
| | |
| | | } |
| | | String branch = local.getName(); |
| | | List<RepositoryCommit> commits = CommitCache.instance().getCommits(repositoryName, repository, branch, minimumDate); |
| | | linearParent = null; |
| | | for (RepositoryCommit commit : commits) { |
| | | if (linearParent != null) { |
| | | if (!commit.getName().equals(linearParent)) { |