author Ted Mielczarek <ted@mielczarek.org>
Thu, 29 Sep 2016 06:48:37 -0400
changeset 342929 ab11e060be3b22980b0a96532370ca9c20f26f05
parent 324713 c993782dbd5218c72c653b53482daea1be9b4c5c
permissions -rw-r--r--
bug 1294565 - add some more helpers to mozversioncontrol, add MozbuildObject.repository. r=gps I wanted to be able to do some VCS interaction from a mach command, and we didn't have anything suitable, so I tore up mozversioncontrol and replaced it with a framework to hang new features off of. I've only implemented the bits I need currently (get_modified_files and add_remove_files), but it should be straightforward to add more functionality there. This patch also adds a `repository` property to `MozbuildObject`, which will return a `Repository` object for the topsrcdir to make using these helpers even easier for `MozbuildObject`-derived classes. MozReview-Commit-ID: Gw6Ixp1ltiN

import sys
import gdbpp