Martijn Pieters
e5e2edc668
automv: use 95 as the default similarity threshold
...
The motivation for the change from 100 to 95 is included in a comment.
* Updated the tests to include a change to a moved file that still should be
caught as a move.
* Use ui.configint() to non-integer configuration entries more gracefully. Also
complain if a similarity outside of the acceptable range is set.
2016-02-16 15:58:32 +00:00
Martijn Pieters
4dd3a04b71
automv: switch to specifying the similarity as an integer (0-100)
...
This is consistent with the addremove --similarity option.
2016-02-15 17:24:42 +00:00
Martijn Pieters
81fb7c878b
automv: do not release lock between marking files and the actual commit
2016-02-15 17:16:07 +00:00
Martijn Pieters
e49ba6cb7c
automv: reuse existing scutil._markchanges() function
2016-02-15 17:13:18 +00:00
Martijn Pieters
3e662b50fe
automv: improve function docstrings
2016-02-15 17:01:33 +00:00
Martijn Pieters
9f4bfd63cd
automv: remove test for 'developer mode'
...
The tests no longer use this mode, the test is entirely redundant.
2016-02-15 16:51:31 +00:00
Martijn Pieters
58c369c4ac
automv: simplify retrieving the status
...
The default is to show the status in the current working copy, no need to pass
in the parent and working copy context here.
2016-02-15 16:40:06 +00:00
Martijn Pieters
4b490ea150
automv: new experimental extension
...
Automatically detect moves and record them at commit time.
This extension was originally developed at
https://bitbucket.org/facebook/hg-experimental
2016-02-08 13:52:51 +00:00