##// END OF EJS Templates
merge: clarify warning for (not) merging flags without ancestor...
Mads Kiilerich -
r30162:5cb83080 default
parent child Browse files
Show More
@@ -478,7 +478,9 b' class mergestate(object):'
478 if fca.node() == nullid and flags != flo:
478 if fca.node() == nullid and flags != flo:
479 if preresolve:
479 if preresolve:
480 self._repo.ui.warn(
480 self._repo.ui.warn(
481 _('warning: cannot merge flags for %s\n') % afile)
481 _('warning: cannot merge flags for %s '
482 'without common ancestor - keeping local flags\n')
483 % afile)
482 elif flags == fla:
484 elif flags == fla:
483 flags = flo
485 flags = flo
484 if preresolve:
486 if preresolve:
@@ -335,10 +335,10 b' h: l vs l, different'
335
335
336 $ hg merge
336 $ hg merge
337 merging a
337 merging a
338 warning: cannot merge flags for b
338 warning: cannot merge flags for b without common ancestor - keeping local flags
339 merging b
339 merging b
340 merging bx
340 merging bx
341 warning: cannot merge flags for c
341 warning: cannot merge flags for c without common ancestor - keeping local flags
342 merging d
342 merging d
343 warning: internal :merge cannot merge symlinks for d
343 warning: internal :merge cannot merge symlinks for d
344 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
344 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
@@ -397,10 +397,10 b' h: l vs l, different'
397 $ hg up -Cqr1
397 $ hg up -Cqr1
398 $ hg merge
398 $ hg merge
399 merging a
399 merging a
400 warning: cannot merge flags for b
400 warning: cannot merge flags for b without common ancestor - keeping local flags
401 merging b
401 merging b
402 merging bx
402 merging bx
403 warning: cannot merge flags for c
403 warning: cannot merge flags for c without common ancestor - keeping local flags
404 merging d
404 merging d
405 warning: internal :merge cannot merge symlinks for d
405 warning: internal :merge cannot merge symlinks for d
406 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
406 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
General Comments 0
You need to be logged in to leave comments. Login now