diff mercurial/util.py @ 35517:c4caf530b1c7

util: add a function to show the mount point of the filesystem For now, this is Windows only, since Linux doesn't have the value in its statfs structure, and I don't have a BSD system to test with.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 29 Dec 2017 22:54:14 -0500
parents d8f408d999f9
children 72b91f905065
line wrap: on
line diff
--- a/mercurial/util.py	Fri Dec 29 22:15:37 2017 -0500
+++ b/mercurial/util.py	Fri Dec 29 22:54:14 2017 -0500
@@ -109,6 +109,7 @@
 expandglobs = platform.expandglobs
 explainexit = platform.explainexit
 findexe = platform.findexe
+getfsmountpoint = platform.getfsmountpoint
 getfstype = platform.getfstype
 gethgcmd = platform.gethgcmd
 getuser = platform.getuser