sapling/eden/integration/hg
Adam Simpkins 87cbfe142b update the in-memory snapshot correctly after a commit
Summary:
This fixes "hg commit" so that it correctly updates the in-memory snapshot.
This has been broken ever since I added the in-memory snapshot when
implementing checkout().  The existing scmMarkCommitted() method updated only
the Dirstate object and the on-disk SNAPSHOT file.

This diff fixes checkout() and resetCommit() to clear the Dirstate user
directives correctly, and then replaces calls to scmMarkCommitted() with
resetCommit().

Reviewed By: bolinfest

Differential Revision: D4935943

fbshipit-source-id: 5ffcfd5db99f30c730ede202c5e013afa682bac9
2017-04-24 18:06:59 -07:00
..
lib improve building and importing of the eden hg extension 2017-04-24 11:14:34 -07:00
add_test.py tweak the hg integration test base class 2017-03-31 11:39:48 -07:00
commit_test.py update the in-memory snapshot correctly after a commit 2017-04-24 18:06:59 -07:00
README.md move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
status_test.py tweak the hg integration test base class 2017-03-31 11:39:48 -07:00
TARGETS improve building and importing of the eden hg extension 2017-04-24 11:14:34 -07:00
update_test.py fix an invalid memory access in the checkout code 2017-04-13 17:34:38 -07:00

Integration tests in this directory are specific to the Eden extension for Mercurial.

Most tests will want to subclass HgExtensionTestBase.