Mercurial > jhg
comparison src/org/tmatesoft/hg/core/StatusCommand.java @ 99:4d7bb95d553b
StatusCommand().add should list copies
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 23:08:51 +0100 |
parents | af1f3b78b918 |
children | a3a2e5deb320 |
comparison
equal
deleted
inserted
replaced
98:225c48d964ed | 99:4d7bb95d553b |
---|---|
50 } | 50 } |
51 | 51 |
52 public StatusCommand defaults() { | 52 public StatusCommand defaults() { |
53 final Mediator m = mediator; | 53 final Mediator m = mediator; |
54 m.needModified = m.needAdded = m.needRemoved = m.needUnknown = m.needMissing = true; | 54 m.needModified = m.needAdded = m.needRemoved = m.needUnknown = m.needMissing = true; |
55 m.needClean = m.needIgnored = false; | 55 m.needCopies = m.needClean = m.needIgnored = false; |
56 return this; | 56 return this; |
57 } | 57 } |
58 public StatusCommand all() { | 58 public StatusCommand all() { |
59 final Mediator m = mediator; | 59 final Mediator m = mediator; |
60 m.needModified = m.needAdded = m.needRemoved = m.needUnknown = m.needMissing = true; | 60 m.needModified = m.needAdded = m.needRemoved = m.needUnknown = m.needMissing = true; |
61 m.needClean = m.needIgnored = true; | 61 m.needCopies = m.needClean = m.needIgnored = true; |
62 return this; | 62 return this; |
63 } | 63 } |
64 | 64 |
65 | 65 |
66 public StatusCommand modified(boolean include) { | 66 public StatusCommand modified(boolean include) { |
180 boolean needRemoved; | 180 boolean needRemoved; |
181 boolean needUnknown; | 181 boolean needUnknown; |
182 boolean needMissing; | 182 boolean needMissing; |
183 boolean needClean; | 183 boolean needClean; |
184 boolean needIgnored; | 184 boolean needIgnored; |
185 boolean needCopies = false; // FIXME decide if I need such an argument in StatusComment | 185 boolean needCopies; |
186 Matcher matcher; | 186 Matcher matcher; |
187 | 187 |
188 Mediator() { | 188 Mediator() { |
189 } | 189 } |
190 | 190 |