Commit Graph

4 Commits

Author SHA1 Message Date
Martijn Pieters
864de92728 Make fbamend responsible for supporting automv.
Summary:
This facilitates moving automv out of this repository to Mercurial proper.
Use extensions.afterloaded() to avoid relying on module load order.

Test Plan: Run the test suite with ../../hg/tests/run-tests.py

Reviewers: rmcelroy, durham

Differential Revision: https://phabricator.fb.com/D2896456
2016-02-04 11:03:31 +00:00
Laurent Charignon
f0b274f4e9 cleanup: make automv pass check-code
Summary: This will make it easier to move it into core

Test Plan: All the tests that passed before are still passing

Reviewers: #sourcecontrol, ttung

Differential Revision: https://phabricator.fb.com/D2788061
2015-12-29 11:35:14 -08:00
Cecile Berillon
6c892c5329 automv: fixed file lookup
Summary: the _interestingfiles function was blocking the commits

Test Plan: the test still work and commits works in my fbsource repo without unreasonable additional time

Reviewers: #sourcecontrol, rmcelroy

Differential Revision: https://phabricator.fb.com/D2628371

Tasks: 8501037
2015-11-06 15:16:11 -08:00
Cecile Berillon
37116e0862 Adding automatically 'move metadata' if a move is detected
Summary:
Looks for similar files between the removed/missing and added/unknown
		committed files

Test Plan:
Tests are done without 'commit' (testmode option)
	mv + add + rm with several thresholds of similarity
						changing the threshold of similarity
    mv alone
    mv + add + rm but not in committed files

Reviewers: #sourcecontrol, rmcelroy

Reviewed By: rmcelroy

Subscribers: durham, mitrandir, pyd, cdelahousse

Differential Revision: https://phabricator.fb.com/D2492693

Tasks: 8501037

Signature: t1:2492693:1445396857:a40d0aeb3c6592b1c8d2a93d089e4fdc46bde711
2015-09-30 09:28:40 -07:00