HomePhabricator

basestore: use tryunlink from mercurial.util to try and remove files

Authored by singhsrb.

Description

basestore: use tryunlink from mercurial.util to try and remove files

Summary:
This commit just refactors to use a method meant for the same
purpose. Thanks to @quark for discovering this method!

Test Plan: Ran all the tests.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Subscribers: quark

Differential Revision: https://phab.mercurial-scm.org/D1571

Details

Committed
singhsrbDec 1 2017, 2:43 PM
Reviewer
Restricted Project
Differential Revision
D1571: basestore: use tryunlink from mercurial.util to try and remove files
Parents
rFBHGXa47767bde762: repack: support --packsonly --background
Branches
Unknown
Tags
Unknown