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 44438 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ccvs/core/syncinfo/ResourceSyncInfo.java (-6 / +10 lines)
Lines 346-363 Link Here
346
	 * @param version the version to set
346
	 * @param version the version to set
347
	 */
347
	 */
348
	protected void setRevision(String revision) {
348
	protected void setRevision(String revision) {
349
		isDeleted = false;
349
		if(revision==null || revision.equals(ADDED_REVISION)) {
350
		if(revision==null || revision.equals(ADDED_REVISION)) {
350
			this.revision = ADDED_REVISION;
351
			this.revision = ADDED_REVISION;
351
			timeStamp = null;
352
			timeStamp = null;
352
			syncType = TYPE_REGULAR;
353
			syncType = TYPE_REGULAR;
353
			isDeleted = false;
354
			return;
354
		} else if(revision.startsWith(DELETED_PREFIX)) {
355
		}
355
			this.revision = revision.substring(DELETED_PREFIX.length());
356
		if(revision.startsWith(DELETED_PREFIX)) {
357
			revision = revision.substring(DELETED_PREFIX.length());
356
			isDeleted = true;
358
			isDeleted = true;
357
		} else {
358
			this.revision = revision;
359
			isDeleted = false;
360
		}
359
		}
360
		int lockedIdx = revision.indexOf(LOCKEDBY_SUFFIX);
361
		if (lockedIdx >= 0) {
362
			revision = revision.substring(0, lockedIdx);
363
		}
364
		this.revision = revision;
361
	}
365
	}
362
	
366
	
363
	/**
367
	/**

Return to bug 44438