* The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * See LICENSE.txt included in this distribution for the specific * language governing permissions and limitations under the License. * When distributing Covered Code, include this CDDL HEADER in each * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. * Access to a Bazaar repository. /** The property name used to obtain the client command for thisrepository. */ /** The command to use to access the repository if none was given explicitly */ * Create a new instance of type {@code Bazaar}. * Get an executor to be used for retrieving the history log for the * @param file The file to retrieve history for (canonical path incl. source * @return An Executor ready to be started byte[]
buffer =
new byte[
32 *
1024];
// Clean up zombie-processes... // the process is still running??? just kill it.. * @param file file to annotate * @param revision revision to annotate * @return file annotation "Did not find annotation in line {0} [{1}]",
// Todo: is there a cheap test for whether Bazaar has history // Otherwise, this is harmless, since Bazaar's commands will just // print nothing if there is no history.