Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

Merge with stable

Changeset ded57e02be29

Parents fa97bb9dc060

Parents 42fdde615bc7

by Adrian Buehlmann

Changes to one file · Browse files at ded57e02be29 Showing diff from parent fa97bb9dc060 42fdde615bc7 Diff from another changeset...

 
45
46
47
 
 
48
49
50
51
 
52
53
54
55
56
 
 
 
57
58
59
 
45
46
47
48
49
50
51
 
 
52
53
 
54
55
56
57
58
59
60
61
62
@@ -45,15 +45,18 @@
   bool hasHgDir(char cls, const std::string& path, unsigned& ticks)  { + ticks = 0; +   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();