hgext/largefiles/overrides.py
changeset 31745 a40e979b9d97
parent 31740 3e37b479ce2f
child 31892 9e67ce5c4fd0
equal deleted inserted replaced
31744:4e446d31a744 31745:a40e979b9d97
   551                       labels=None):
   551                       labels=None):
   552     if not lfutil.isstandin(orig) or fcd.isabsent() or fco.isabsent():
   552     if not lfutil.isstandin(orig) or fcd.isabsent() or fco.isabsent():
   553         return origfn(premerge, repo, mynode, orig, fcd, fco, fca,
   553         return origfn(premerge, repo, mynode, orig, fcd, fco, fca,
   554                       labels=labels)
   554                       labels=labels)
   555 
   555 
   556     ahash = fca.data().strip().lower()
   556     ahash = lfutil.readasstandin(fca).lower()
   557     dhash = fcd.data().strip().lower()
   557     dhash = lfutil.readasstandin(fcd).lower()
   558     ohash = fco.data().strip().lower()
   558     ohash = lfutil.readasstandin(fco).lower()
   559     if (ohash != ahash and
   559     if (ohash != ahash and
   560         ohash != dhash and
   560         ohash != dhash and
   561         (dhash == ahash or
   561         (dhash == ahash or
   562          repo.ui.promptchoice(
   562          repo.ui.promptchoice(
   563              _('largefile %s has a merge conflict\nancestor was %s\n'
   563              _('largefile %s has a merge conflict\nancestor was %s\n'