A Scalable, User-Friendly Source Control System.
Go to file
Durham Goode 8ab51eaa9f Add pending revision validation
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).
2014-01-21 16:09:08 -08:00
.hgignore Enable bookmark/head sync 2013-10-28 16:09:47 -07:00
hgsql.py Add pending revision validation 2014-01-21 16:09:08 -08:00