[PATCH 1 of 4] vfs: use repo.wvfs.unlinkpath

Yuya Nishihara yuya at tcha.org
Sat Mar 11 14:33:25 EST 2017


On Sat, 11 Mar 2017 11:07:55 -0800, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1421194526 -3600
> #      Wed Jan 14 01:15:26 2015 +0100
> # Node ID 87642d502ec91e5c8e97a8681da3d8fdbf217ab1
> # Parent  150cd51257221fad5ccba5794e7a21837afba479
> vfs: use repo.wvfs.unlinkpath

> diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
> --- a/mercurial/scmutil.py
> +++ b/mercurial/scmutil.py
> @@ -537,7 +537,7 @@ class abstractvfs(object):
>          return util.unlink(self.join(path))
>  
>      def unlinkpath(self, path=None, ignoremissing=False):
> -        return util.unlinkpath(self.join(path), ignoremissing)
> +        return util.unlinkpath(self.join(path), ignoremissing=ignoremissing)

abstractvfs was moved to vfs.py, can you rebase these on tip?


More information about the Mercurial-devel mailing list