comparison test/org/tmatesoft/hg/test/TestManifest.java @ 457:d78cb5ca3053

Get rid of ambiguity in method name
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 18 Jun 2012 17:06:42 +0200
parents 31a89587eb04
children 59b7c817bc4d
comparison
equal deleted inserted replaced
456:909306e412e2 457:d78cb5ca3053
1 /* 1 /*
2 * Copyright (c) 2011 TMate Software Ltd 2 * Copyright (c) 2011-2012 TMate Software Ltd
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License. 6 * the Free Software Foundation; version 2 of the License.
7 * 7 *
101 101
102 private void testRevision(int rev) throws Exception { 102 private void testRevision(int rev) throws Exception {
103 manifestParser.reset(); 103 manifestParser.reset();
104 eh.run("hg", "manifest", "--debug", "--rev", String.valueOf(rev == TIP ? -1 : rev)); 104 eh.run("hg", "manifest", "--debug", "--rev", String.valueOf(rev == TIP ? -1 : rev));
105 revisions.clear(); 105 revisions.clear();
106 new HgManifestCommand(repo).revision(rev).execute(handler); 106 new HgManifestCommand(repo).changeset(rev).execute(handler);
107 report("manifest " + (rev == TIP ? "TIP:" : "--rev " + rev)); 107 report("manifest " + (rev == TIP ? "TIP:" : "--rev " + rev));
108 } 108 }
109 109
110 private void report(String what) throws Exception { 110 private void report(String what) throws Exception {
111 final Map<Path, Nodeid> cmdLineResult = new LinkedHashMap<Path, Nodeid>(manifestParser.getResult()); 111 final Map<Path, Nodeid> cmdLineResult = new LinkedHashMap<Path, Nodeid>(manifestParser.getResult());