Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgIncomingCommand.java @ 526:2f9ed6bcefa2
Initial support for Revert command with accompanying minor refactoring
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 15 Jan 2013 17:07:19 +0100 |
parents | 1fc0da631200 |
children | 6526d8adbc0f |
comparison
equal
deleted
inserted
replaced
525:0be5be8d57e9 | 526:2f9ed6bcefa2 |
---|---|
23 import java.util.LinkedList; | 23 import java.util.LinkedList; |
24 import java.util.List; | 24 import java.util.List; |
25 import java.util.Set; | 25 import java.util.Set; |
26 import java.util.TreeSet; | 26 import java.util.TreeSet; |
27 | 27 |
28 import org.tmatesoft.hg.internal.Internals; | |
28 import org.tmatesoft.hg.internal.RepositoryComparator; | 29 import org.tmatesoft.hg.internal.RepositoryComparator; |
29 import org.tmatesoft.hg.internal.RepositoryComparator.BranchChain; | 30 import org.tmatesoft.hg.internal.RepositoryComparator.BranchChain; |
30 import org.tmatesoft.hg.repo.HgBundle; | 31 import org.tmatesoft.hg.repo.HgBundle; |
31 import org.tmatesoft.hg.repo.HgChangelog; | 32 import org.tmatesoft.hg.repo.HgChangelog; |
32 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; | 33 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; |
93 * Whether to include sub-repositories when collecting changes, default is <code>true</code> XXX or false? | 94 * Whether to include sub-repositories when collecting changes, default is <code>true</code> XXX or false? |
94 * @return <code>this</code> for convenience | 95 * @return <code>this</code> for convenience |
95 */ | 96 */ |
96 public HgIncomingCommand subrepo(boolean include) { | 97 public HgIncomingCommand subrepo(boolean include) { |
97 includeSubrepo = include; | 98 includeSubrepo = include; |
98 throw HgRepository.notImplemented(); | 99 throw Internals.notImplemented(); |
99 } | 100 } |
100 | 101 |
101 /** | 102 /** |
102 * Lightweight check for incoming changes, gives only list of revisions to pull. | 103 * Lightweight check for incoming changes, gives only list of revisions to pull. |
103 * Reported changes are from any branch (limits set by {@link #branch(String)} are not taken into account. | 104 * Reported changes are from any branch (limits set by {@link #branch(String)} are not taken into account. |