8N/A * The contents of this file are subject to the terms of the 8N/A * Common Development and Distribution License (the "License"). 8N/A * You may not use this file except in compliance with the License. 8N/A * language governing permissions and limitations under the License. 8N/A * When distributing Covered Code, include this CDDL HEADER in each 8N/A * If applicable, add the following below this CDDL HEADER, with the 8N/A * fields enclosed by brackets "[]" replaced with your own identifying 8N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1054N/A * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 8N/A * Copyright 2006 Trond Norbye. All rights reserved. 8N/A * Use is subject to license terms. 8N/A * Collect all information of a given revision 8N/A * @author Trond Norbye 8N/A /** Creates a new instance of HistoryEntry */ 1481N/A * Convinience constructor to create a more or less fully populated entry. 1481N/A * @param revision revision ID of the changeset. 1481N/A * @param oldRevision revision ID of the changeset in the non-hybrid repo. 1481N/A * Use {@code null} if not available. 1481N/A * @param date change timestamp 1481N/A * @param author the authors name and email-address (if available). 1481N/A * @param message the changeset description. 1481N/A * @param active Use {@code true} to indicate, that this entry is 1481N/A * fully populated and thus usable by other consumers. 1481N/A * <p>Get the revision of this changeset in the non-hybrid repository.</p> 1481N/A * repository into a mercurial repository and this entry belongs to a 1481N/A * mercurial repository - this method returns the svn based revision number, 1481N/A * whereby {@link #getRevision()} returns the mercurial revision number. 1481N/A * @return {@code null} if not available (e.g. if this is not a hybrid 1481N/A * repo), the non-hybrid revision number otherwise. 1481N/A * Set the revision of this changeset in the non-hybrid repository. 1481N/A * @param revision revision to set. 58N/A * Remove "unneeded" info such as multiline history and files list