tagmerge: use 'wvfs' instead of 'wfile'
Method is about to be deprecated and the modern form is shorter.
--- 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()