changeset 31415:5d92107dfb9b

tagmerge: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 15 Mar 2017 00:28:58 -0700
parents 279cbde7bf3d
children 1527ffe65f9f
files mercurial/tagmerge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/tagmerge.py	Wed Mar 15 00:28:21 2017 -0700
+++ b/mercurial/tagmerge.py	Wed Mar 15 00:28:58 2017 -0700
@@ -169,7 +169,7 @@
     # finally we can join the sorted groups to get the final contents of the
     # merged .hgtags file, and then write it to disk
     mergedtagstring = '\n'.join([tags for rank, tags in finaltags if tags])
-    fp = repo.wfile('.hgtags', 'wb')
+    fp = repo.wvfs('.hgtags', 'wb')
     fp.write(mergedtagstring + '\n')
     fp.close()