mercurial/cmdutil.py
changeset 21024 7731a2281cf0
parent 20790 49f2d5644f04
child 21033 254f55b64e31
equal deleted inserted replaced
21023:57b50abe2b24 21024:7731a2281cf0
  2256     """function that actually perform all the action computed for revert
  2256     """function that actually perform all the action computed for revert
  2257 
  2257 
  2258     This is an independent function to let extension to plug in and react to
  2258     This is an independent function to let extension to plug in and react to
  2259     the imminent revert.
  2259     the imminent revert.
  2260 
  2260 
  2261     Make sure you have the working directory locked when caling this function.
  2261     Make sure you have the working directory locked when calling this function.
  2262     """
  2262     """
  2263     parent, p2 = parents
  2263     parent, p2 = parents
  2264     node = ctx.node()
  2264     node = ctx.node()
  2265     def checkout(f):
  2265     def checkout(f):
  2266         fc = ctx[f]
  2266         fc = ctx[f]