Summary:
There's a bug here, so let's add a test exposing it. A future diff will
fix the bug and update the test.
Reviewed By: jordanwebster
Differential Revision: D37771384
fbshipit-source-id: f482cf6d07ba4f16d833b9337a61b9dd7a85d7ac
Summary:
I was writing some tests and needed to access a file's history. Let's
add a clean way to do that.
Reviewed By: sggutier
Differential Revision: D37771385
fbshipit-source-id: 199da4ecb139fdd5636c31136bc4e394b7dde2c8
Summary: This diff replaces the direct use of `hg log` with calling `Repo.commits`. It also adds a `__hash__` method to the `Commits` class.
Reviewed By: DurhamG
Differential Revision: D37172189
fbshipit-source-id: b5181b3dd0bd0267f7c905aecbc6f499d10918cb
Summary: This makes the `Commit.ancestor` method use the `ancestors` revset instead of using the `parent` ancestor multiple times, making it more efficient.
Reviewed By: jordanwebster
Differential Revision: D37135010
fbshipit-source-id: f3cb3628fc24f8da473d6059d5aed837316bc7ad
Summary: Adds functions for getting the working copy status and commit status.
Differential Revision: D35685522
fbshipit-source-id: a4527b7e3254e0c755b0c2d62c1d2f9c6596ea88
Summary: Adds simple functions for reading the bookmark state from a repository.
Differential Revision: D35683767
fbshipit-source-id: c95ea25002e9ed95c35cb4ee8b57898198ae8d3f
Summary:
Adds the ability for the working copy to make a commit, and a basic
Commit abstraction for accesing commit data.
Differential Revision: D35683765
fbshipit-source-id: f2ae6ebe8f03c98f40869a537fe2f191d4394b55
Summary: Adds basic helpers for adding and removing files from the working copy.
Differential Revision: D35683768
fbshipit-source-id: 3fd4746222f53729eefd19a5d9833ae7ee4773d4