Lines 123-128
public class PushAction extends ContextA
Link Here
|
123 |
|
123 |
|
124 |
} |
124 |
} |
125 |
|
125 |
|
|
|
126 |
private static void notifyUpdatedFiles(File pushFile, List<String> list){ |
127 |
// When hg output -v is called the output is |
128 |
// resolving manifests |
129 |
// getting file |
130 |
// ... |
131 |
// |
132 |
for (String line : list) { |
133 |
if (line.startsWith("getting ")) { |
134 |
String name = line.substring(8); |
135 |
File file = new File (pushFile, name); |
136 |
Mercurial.getInstance().notifyFileChanged(file); |
137 |
} |
138 |
} |
139 |
} |
140 |
|
126 |
static void getDefaultAndPerformPush(VCSContext ctx, File root, OutputLogger logger) { |
141 |
static void getDefaultAndPerformPush(VCSContext ctx, File root, OutputLogger logger) { |
127 |
// If the repository has no default pull path then inform user |
142 |
// If the repository has no default pull path then inform user |
128 |
String tmpPushPath = HgRepositoryContextCache.getPushDefault(ctx); |
143 |
String tmpPushPath = HgRepositoryContextCache.getPushDefault(ctx); |
Lines 258-263
public class PushAction extends ContextA
Link Here
|
258 |
boolean bOutStandingUncommittedMerges = HgCommand.isMergeAbortUncommittedMsg(list.get(list.size() - 1)); |
273 |
boolean bOutStandingUncommittedMerges = HgCommand.isMergeAbortUncommittedMsg(list.get(list.size() - 1)); |
259 |
if (bOutStandingUncommittedMerges) { |
274 |
if (bOutStandingUncommittedMerges) { |
260 |
bConfirmMerge = HgUtils.confirmDialog(PushAction.class, "MSG_PUSH_MERGE_CONFIRM_TITLE", "MSG_PUSH_MERGE_UNCOMMITTED_CONFIRM_QUERY"); // NOI18N |
275 |
bConfirmMerge = HgUtils.confirmDialog(PushAction.class, "MSG_PUSH_MERGE_CONFIRM_TITLE", "MSG_PUSH_MERGE_UNCOMMITTED_CONFIRM_QUERY"); // NOI18N |
|
|
276 |
} else { |
277 |
notifyUpdatedFiles(pushFile, list); |
261 |
} |
278 |
} |
262 |
} |
279 |
} |
263 |
} else { |
280 |
} else { |