##// END OF EJS Templates
filemerge: add support for change/delete conflicts to the ':prompt' tool...
Siddharth Agarwal -
r27038:58a4eb16 default
parent child Browse files
Show More
@@ -221,6 +221,19 b' def _iprompt(repo, mynode, orig, fcd, fc'
221 fd = fcd.path()
221 fd = fcd.path()
222
222
223 try:
223 try:
224 if fco.isabsent():
225 index = ui.promptchoice(
226 _("local changed %s which remote deleted\n"
227 "use (c)hanged version or (d)elete?"
228 "$$ &Changed $$ &Delete") % fd, 0)
229 choice = ['local', 'other'][index]
230 elif fcd.isabsent():
231 index = ui.promptchoice(
232 _("remote changed %s which local deleted\n"
233 "use (c)hanged version or leave (d)eleted?"
234 "$$ &Changed $$ &Deleted") % fd, 0)
235 choice = ['other', 'local'][index]
236 else:
224 index = ui.promptchoice(_("no tool found to merge %s\n"
237 index = ui.promptchoice(_("no tool found to merge %s\n"
225 "keep (l)ocal or take (o)ther?"
238 "keep (l)ocal or take (o)ther?"
226 "$$ &Local $$ &Other") % fd, 0)
239 "$$ &Local $$ &Other") % fd, 0)
General Comments 0
You need to be logged in to leave comments. Login now