Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Remove test munging of HEAD names from GitLabSCMHead #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public abstract class GitLabSCMHead extends SCMHead implements SCMHeadMixin {
public static final String REVISION_HEAD = "HEAD";

public static GitLabSCMBranchHead createBranch(int projectId, String name, String hash) {
return createBranch(projectId, name+"t2", hash, false);
return createBranch(projectId, name, hash, false);
}

public static GitLabSCMTagHead createTag(int projectId, String name, String hash, long timestamp) {
return new GitLabSCMTagHead(projectId, name+"t3", hash, timestamp);
return new GitLabSCMTagHead(projectId, name, hash, timestamp);
}

public static GitLabSCMMergeRequestHead createMergeRequest(int id, String name, int iid, GitLabSCMHead source, GitLabSCMBranchHead target) {
Expand Down