assertNull(revision.getDate());
}
@Test
public void testRevisionInUrlOverridesEverything_HEAD() {
UpdateTask updateTask = createUpdateTask();
updateTask.revisions = new RevisionParameterAction(new SubversionSCM.SvnInfo("remote", 4711));
ModuleLocation l = new ModuleLocation("remote@HEAD", "local");
SVNRevision revision = updateTask.getRevision(l);
assertEquals(SVNRevision.HEAD.getName(), revision.getName());
assertEquals(-1L, revision.getNumber());
assertNull(revision.getDate());
}