comparison mercurial/copies.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 d4247c306d82
children ead25aa27a43
comparison
equal deleted inserted replaced
29190:e51f34183599 29191:ad1ce3c7af72