D4099: narrow: move .hg/narrowspec to .hg/store/narrowspec (BC)
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Sun Aug 5 09:04:29 EDT 2018
yuja added a comment.
Queued, thanks.
> def savebackup(repo, backupname):
> if repository.NARROW_REQUIREMENT not in repo.requirements:
> return
> vfs = repo.vfs
> vfs.tryunlink(backupname)
>
> - util.copyfile(vfs.join(FILENAME), vfs.join(backupname), hardlink=True) + util.copyfile(repo.svfs.join(FILENAME), vfs.join(backupname), hardlink=True)
Maybe move backup file to svfs as well?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4099
To: martinvonz, durin42, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list