Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgLogCommand.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 | 2103388d4010 |
children | f7fbf48b9383 |
comparison
equal
deleted
inserted
replaced
525:0be5be8d57e9 | 526:2f9ed6bcefa2 |
---|---|
36 | 36 |
37 import org.tmatesoft.hg.internal.AdapterPlug; | 37 import org.tmatesoft.hg.internal.AdapterPlug; |
38 import org.tmatesoft.hg.internal.BatchRangeHelper; | 38 import org.tmatesoft.hg.internal.BatchRangeHelper; |
39 import org.tmatesoft.hg.internal.IntMap; | 39 import org.tmatesoft.hg.internal.IntMap; |
40 import org.tmatesoft.hg.internal.IntVector; | 40 import org.tmatesoft.hg.internal.IntVector; |
41 import org.tmatesoft.hg.internal.Internals; | |
41 import org.tmatesoft.hg.internal.Lifecycle; | 42 import org.tmatesoft.hg.internal.Lifecycle; |
42 import org.tmatesoft.hg.internal.LifecycleProxy; | 43 import org.tmatesoft.hg.internal.LifecycleProxy; |
43 import org.tmatesoft.hg.repo.HgChangelog; | 44 import org.tmatesoft.hg.repo.HgChangelog; |
44 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; | 45 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; |
45 import org.tmatesoft.hg.repo.HgDataFile; | 46 import org.tmatesoft.hg.repo.HgDataFile; |
141 // multiple? | 142 // multiple? |
142 public HgLogCommand date(Calendar date) { | 143 public HgLogCommand date(Calendar date) { |
143 this.date = date; | 144 this.date = date; |
144 // TODO post-1.0 implement | 145 // TODO post-1.0 implement |
145 // isSet(field) - false => don't use in detection of 'same date' | 146 // isSet(field) - false => don't use in detection of 'same date' |
146 throw HgRepository.notImplemented(); | 147 throw Internals.notImplemented(); |
147 } | 148 } |
148 | 149 |
149 /** | 150 /** |
150 * | 151 * |
151 * @param num - number of changeset to produce. Pass 0 to clear the limit. | 152 * @param num - number of changeset to produce. Pass 0 to clear the limit. |