Size: 1104
Comment:
|
← Revision 4 as of 2016-04-12 09:25:07 ⇥
Size: 661
Comment: Update status, in core now.
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
'''This extension is not distributed with Mercurial.''' This extension is slated to be integrated into core Mercurial. |
'''This extension is distributed with Mercurial as ''experimental''.''' |
Line 15: | Line 13: |
Repository: ''https://bitbucket.org/facebook/hg-experimental'' Web page: ''https://bitbucket.org/facebook/hg-experimental'' |
|
Line 33: | Line 27: |
# similaritythres = 0.75 | similarity = 75 |
Line 36: | Line 30: |
The ''similaritythres'' parameter configures at what percentage of similarity a rename from one file to another is detected. == 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 |
The ''similarity'' parameter configures at what percentage of similarity a rename from one file to another is detected. The default is 95. |
automv
Automatically detect moves and record them
Contents
1. Status
This extension is distributed with Mercurial as experimental.
Author: Facebook, Inc.
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] similarity = 75
The similarity parameter configures at what percentage of similarity a rename from one file to another is detected. The default is 95.