Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2016-01-20 17:27:27
Size: 891
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 4: Line 4:
Automatically detect moves and records them Automatically detect moves and record them
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.

==
See also ==

----
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

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.

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