Differences between revisions 1 and 2
Revision 1 as of 2016-01-20 17:27:27
Size: 891
Comment:
Revision 2 as of 2016-01-21 11:46:58
Size: 1105
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
== See also == == Upstreaming ==

 * Should be movable as-is, just 2 files (extension + tests), clean up for style guide and compatibility compliance.
 * Mark as experimental.

Facebook impact: medium; it is in active use within Facebook.

automv

Automatically detect moves and records them

1. Status

This extension is not distributed with Mercurial.

This extension is slated to be integrated into core Mercurial.

Author: Facebook, Inc.

Repository: https://bitbucket.org/facebook/hg-experimental

Web page: https://bitbucket.org/facebook/hg-experimental

2. Overview

This extension checks at commit/amend time if any of the committed files comes from an unrecorded mv.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
automv =

[automv]
# similaritythres = 0.75

The similaritythres parameter configures at what percentage of similarity a rename from one file to another is detected.

4. Upstreaming

  • Should be movable as-is, just 2 files (extension + tests), clean up for style guide and compatibility compliance.
  • Mark as experimental.

Facebook impact: medium; it is in active use within Facebook.


CategoryExtensionsByOthers

AutomvExtension (last edited 2016-04-12 09:25:07 by MartijnPieters)