[PATCH] py3: use pycompat.getcwd() instead of os.getcwd()
Yuya Nishihara
yuya at tcha.org
Thu Nov 24 12:50:49 UTC 2016
On Wed, 23 Nov 2016 00:05:45 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1479839591 -19800
> # Wed Nov 23 00:03:11 2016 +0530
> # Node ID a05a33c431e39ea250261287863f4b6ede91ca91
> # Parent b8e4cce34013b1f564a334465813e8ef171e8834
> py3: use pycompat.getcwd() instead of os.getcwd()
and queued, thanks.
> --- a/mercurial/commands.py Tue Nov 22 22:40:37 2016 +0530
> +++ b/mercurial/commands.py Wed Nov 23 00:03:11 2016 +0530
> @@ -2036,7 +2036,8 @@
> spaces = opts.get('spaces')
> dots = opts.get('dots')
> if file_:
> - rlog = revlog.revlog(scmutil.opener(os.getcwd(), audit=False), file_)
> + rlog = revlog.revlog(scmutil.opener(pycompat.getcwd(),
> + audit=False), file_)
I've moved this change to debugcommands.py.
More information about the Mercurial-devel
mailing list