Mercurial > hg
comparison mercurial/httpconnection.py @ 29191:ad1ce3c7af72
localrepo: use dirstate savebackup instead of handling dirstate file manually
This is one step towards having dirstate manage its own storage. It will
be useful for the implementation of sql dirstate [1].
This introduced a small test change: now we always write the dirstate before
saving backup so in some cases where dirstate file didn't exist yet
savebackup can create it.
[1] https://www.mercurial-scm.org/wiki/SQLDirstatePlan
author | Mateusz Kwapich <mitrandir@fb.com> |
---|---|
date | Wed, 11 May 2016 14:18:52 -0700 |
parents | 032c4c2f802a |
children | dffe78d80a6c |
comparison
equal
deleted
inserted
replaced
29190:e51f34183599 | 29191:ad1ce3c7af72 |
---|