hgext/record.py
changeset 12266 00658492e2aa
parent 11728 226a328a7ff3
child 12674 aa2fe1f52ff4
equal deleted inserted replaced
12265:1ed2dc9d4368 12266:00658492e2aa
   495                     ui.debug('applying patch\n')
   495                     ui.debug('applying patch\n')
   496                     ui.debug(fp.getvalue())
   496                     ui.debug(fp.getvalue())
   497                     pfiles = {}
   497                     pfiles = {}
   498                     patch.internalpatch(fp, ui, 1, repo.root, files=pfiles,
   498                     patch.internalpatch(fp, ui, 1, repo.root, files=pfiles,
   499                                         eolmode=None)
   499                                         eolmode=None)
   500                     patch.updatedir(ui, repo, pfiles)
   500                     cmdutil.updatedir(ui, repo, pfiles)
   501                 except patch.PatchError, err:
   501                 except patch.PatchError, err:
   502                     s = str(err)
   502                     s = str(err)
   503                     if s:
   503                     if s:
   504                         raise util.Abort(s)
   504                         raise util.Abort(s)
   505                     else:
   505                     else: