Changeset 42fdde615bc7…
Parent 40201728edaf…
by
Changes to one file · Browse files at 42fdde615bc7 Showing diff from parent 40201728edaf Diff from another changeset...
@@ -49,13 +49,14 @@
bool res = false;
- if (path.empty() || path == "\\" || ::PathIsRoot(path.c_str()))
- {
+ if (path.empty() || path == "\\")
return res;
- }
const std::string p = path + "\\.hg";
+ if (::PathIsUNCServerShare(p.c_str()))
+ return res;
+
unsigned tc0 = ::GetTickCount();
res = ::PathIsDirectory(p.c_str()) != 0;
unsigned tc1 = ::GetTickCount();
|
Loading...