# HG changeset patch # User Artem Tikhomirov # Date 1342021697 -7200 # Node ID 3ca4ae7bdd3890b8ed89bfea1b42af593e04b373 # Parent 51d682cf9cdcc65030e82617175eca57c189780c Clean experimental marks and deprecation code. Update version number to release diff -r 51d682cf9cdc -r 3ca4ae7bdd38 COPYING --- a/COPYING Fri Jun 22 17:39:31 2012 +0200 +++ b/COPYING Wed Jul 11 17:48:17 2012 +0200 @@ -1,4 +1,4 @@ -Copyright (C) 2010-2011 TMate Software Ltd +Copyright (C) 2010-2012 TMate Software Ltd This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -r 51d682cf9cdc -r 3ca4ae7bdd38 build.gradle --- a/build.gradle Fri Jun 22 17:39:31 2012 +0200 +++ b/build.gradle Wed Jul 11 17:48:17 2012 +0200 @@ -1,6 +1,9 @@ +/* + * Copyright (c) 2012 TMate Software Ltd + */ def isRelease = false - version = '0.9.5-SNAPSHOT' + version = '1.0.0' description = 'Pure Java API and Toolkit for Mercurial DVCS' group = 'org.tmatesoft.hg4j' @@ -108,7 +111,7 @@ repositories { mavenDeployer { configuration = configurations.deployJars - repository(url: "http://maven.tmatesoft.com/content/repositories/snapshots/") { + repository(url: "http://maven.tmatesoft.com/content/repositories/releases/") { authentication(userName: project.ext.deploySnapshotsRepositoryUser, password: project.ext.deploySnapshotsRepositoryPassword) } } diff -r 51d682cf9cdc -r 3ca4ae7bdd38 build.xml --- a/build.xml Fri Jun 22 17:39:31 2012 +0200 +++ b/build.xml Wed Jul 11 17:48:17 2012 +0200 @@ -27,7 +27,7 @@ - + @@ -145,6 +145,7 @@ + diff -r 51d682cf9cdc -r 3ca4ae7bdd38 src/org/tmatesoft/hg/core/HgChangesetFileSneaker.java --- a/src/org/tmatesoft/hg/core/HgChangesetFileSneaker.java Fri Jun 22 17:39:31 2012 +0200 +++ b/src/org/tmatesoft/hg/core/HgChangesetFileSneaker.java Wed Jul 11 17:48:17 2012 +0200 @@ -166,13 +166,6 @@ } /** - * @deprecated use {@link #getCheckResult()} instead - */ - @Deprecated - public Outcome getCheckStatus() { - return getCheckResult(); - } - /** * Re-get latest check status object */ public Outcome getCheckResult() { diff -r 51d682cf9cdc -r 3ca4ae7bdd38 src/org/tmatesoft/hg/core/HgManifestCommand.java --- a/src/org/tmatesoft/hg/core/HgManifestCommand.java Fri Jun 22 17:39:31 2012 +0200 +++ b/src/org/tmatesoft/hg/core/HgManifestCommand.java Wed Jul 11 17:48:17 2012 +0200 @@ -103,14 +103,6 @@ } } - /** - * @deprecated confusing whether it's changeset or manifest own revision index in use, use {@link #changeset(int)} instead - */ - @Deprecated - public HgManifestCommand revision(int rev) { - return changeset(rev); - } - public HgManifestCommand dirs(boolean include) { // XXX whether directories with directories only are include or not // now lists only directories with files diff -r 51d682cf9cdc -r 3ca4ae7bdd38 src/org/tmatesoft/hg/repo/HgRepository.java --- a/src/org/tmatesoft/hg/repo/HgRepository.java Fri Jun 22 17:39:31 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Wed Jul 11 17:48:17 2012 +0200 @@ -32,7 +32,6 @@ import org.tmatesoft.hg.internal.ByteArrayChannel; import org.tmatesoft.hg.internal.ConfigFile; import org.tmatesoft.hg.internal.DataAccessProvider; -import org.tmatesoft.hg.internal.Experimental; import org.tmatesoft.hg.internal.Filter; import org.tmatesoft.hg.internal.Internals; import org.tmatesoft.hg.internal.RevlogStream; @@ -235,7 +234,6 @@ return branches; } - @Experimental(reason="Perhaps, shall not cache instance, and provide loadMergeState as it may change often") public HgMergeState getMergeState() { if (mergeState == null) { mergeState = new HgMergeState(this); diff -r 51d682cf9cdc -r 3ca4ae7bdd38 test/org/tmatesoft/hg/test/TestHistory.java --- a/test/org/tmatesoft/hg/test/TestHistory.java Fri Jun 22 17:39:31 2012 +0200 +++ b/test/org/tmatesoft/hg/test/TestHistory.java Wed Jul 11 17:48:17 2012 +0200 @@ -179,11 +179,11 @@ changelogParser.reset(); // fails with Mercurial 2.2.1, @see http://selenic.com/pipermail/mercurial-devel/2012-February/038249.html // and http://www.selenic.com/hg/rev/60101427d618?rev= -/* FIXME either fix test to update to revision 2, where a was still present, or change command to fail/report problem - eh.run("hg", "log", "--debug", "-f", "a", "--cwd", repo.getLocation()); - List r = cmd.file("a", true).execute(); - report("log -f a", r, true); -*/ + // fix for the test (replacement) is available below +// eh.run("hg", "log", "--debug", "-f", "a", "--cwd", repo.getLocation()); +// List r = cmd.file("a", true).execute(); +// report("log -f a", r, true); + // changelogParser.reset(); eh.run("hg", "log", "--debug", "-f", "e", "--cwd", repo.getLocation());