Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 129709 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/releng/tools/MapEntry.java (-2 / +3 lines)
Lines 23-28 Link Here
23
 */
23
 */
24
public class MapEntry {
24
public class MapEntry {
25
	
25
	
26
	private static final String HEAD = "HEAD";
26
	private static final String KEY_TAG = "tag"; //$NON-NLS-1$
27
	private static final String KEY_TAG = "tag"; //$NON-NLS-1$
27
	private static final String KEY_PATH = "path"; //$NON-NLS-1$
28
	private static final String KEY_PATH = "path"; //$NON-NLS-1$
28
	private static final String KEY_CVSROOT = "cvsRoot"; //$NON-NLS-1$
29
	private static final String KEY_CVSROOT = "cvsRoot"; //$NON-NLS-1$
Lines 205-215 Link Here
205
206
206
	public String getTagName() {
207
	public String getTagName() {
207
		String value = (String) arguments.get(KEY_TAG);
208
		String value = (String) arguments.get(KEY_TAG);
208
		return value == null ? EMPTY_STRING : value;
209
		return value == null  || HEAD.equals(value) ? EMPTY_STRING : value;
209
	}
210
	}
210
	
211
	
211
	public CVSTag getTag() {
212
	public CVSTag getTag() {
212
		if (getTagName().equals("HEAD")) return CVSTag.DEFAULT;
213
		if (getTagName().equals(HEAD)) return CVSTag.DEFAULT;
213
		return new CVSTag(getTagName(), CVSTag.VERSION);
214
		return new CVSTag(getTagName(), CVSTag.VERSION);
214
	}
215
	}
215
	
216
	

Return to bug 129709