mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
A Scalable, User-Friendly Source Control System.
8ab51eaa9f
Before writing revisions to the database we now validate that they are correct. This consists of two checks: 1. Are we appending to the same linkrev in the database as we are in the local repo. 2. Every rev that we are writing to the database has a base, p1, and p2 rev dependency. Before we write the rev, verify that the base, p1, and p2 revs in the database have the same nodes as in the localrepo. This prevents us from writing rev dependencies that then point at the incorrect node (due to different ordering in the db vs local). |
||
---|---|---|
.hgignore | ||
hgsql.py |