Differences between revisions 18 and 19
Revision 18 as of 2007-08-08 03:23:39
Size: 1319
Editor: BrendanCully
Comment:
Revision 19 as of 2007-08-22 00:07:56
Size: 1584
Editor: BrendanCully
Comment: Add a couple more extension ideas
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
 * config extension to allow for machine-updateable hgrc settings
 * mirror extension to make a local repository identical to a remote (stripping changes that have disappeared in the source). Could be particularly useful for repositories with mq patches applied.

Projects:

Extensions:

Todo:

  • Mq: add a qrebase command to wrap qsave -e c; qpush -a -m
    • qrebase [rev]: reapply the currently applied patches to rev (defaulting to the tip of the current branch).
      • Update to rev, and attempt to apply each patch. If apply fails, perform a three-way merge with the original patch changeset, its ancestor, and the current rev. One way to perhaps cut down on the extraneous 3-way merge garbage might be to attempt to bisect between rev and the original revv for the last place where the patch can be successfully applied, then use that as the merge other end.
  • Transplant: Support merge transplants. Use original second parent?
  • automatic resolution of previously handled merge conflicts, cf git-rerere. plan of sorts:
    • To apply a recorded resolution:
    • Perform simplemerge to discover conflict blocks
    • For each conflict block with a recorded resolution, apply that resolution to LOCAL and OTHER.
    • Discard the merge result and pass the modified LOCAL and OTHER to the regular merge process.
    • Keep a record of the conflict blocks generated at step 1, for caching new resolutions.
  • config extension to allow for machine-updateable hgrc settings
  • mirror extension to make a local repository identical to a remote (stripping changes that have disappeared in the source). Could be particularly useful for repositories with mq patches applied.

BrendanCully (last edited 2012-11-06 08:56:23 by mpm)