fune/python/mozbuild
Andrew Halberstadt 13b127e919 Bug 1401309 - [mozversioncontrol] Merge get_modified_files and get_added_files into a single function, r=gps
There's currently a function for getting added files (A) and modified files
(M). We'll also eventually need the ability to get deleted files (D) and any
combination of the above, e.g (AM). Rather than creating a new function for
each possible case, let's have a single function where you can pass in which
modifiers you are interested in. With this patch, if you want all modified and
added files, you can do:

get_changed_files('AM')

By default 'ADM' is used.

This also adds a 'mode' option for git. This allows consumers to return staged
files, unstaged files or both. The default ('unstaged') keeps the current
behaviour in tact.

MozReview-Commit-ID: 9IA1bxaJS80

--HG--
extra : rebase_source : 160f650220ca9a35b4b116bc9fa13f28d84419fa
2017-09-20 10:06:11 -04:00
..
dumbmake
mozbuild Bug 1401309 - [mozversioncontrol] Merge get_modified_files and get_added_files into a single function, r=gps 2017-09-20 10:06:11 -04:00
mozpack Bug 1393242 - Normalize paths in MercurialRevisionFinder; r=mshal 2017-08-31 10:39:28 -07:00
setup.py
TODO