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 fa97bb9dc060

Parents a6008f276de4

Parents 816bc1709037

by Adrian Buehlmann

Changes to one file · Browse files at fa97bb9dc060 Showing diff from parent a6008f276de4 816bc1709037 Diff from another changeset...

 
199
200
201
202
203
204
205
206
207
208
 
 
 
209
210
211
 
199
200
201
 
 
 
 
 
 
 
202
203
204
205
206
207
@@ -199,13 +199,9 @@
 {   TDEBUG_TRACE("GetHgRepoRoot('" << path << "')");   - if (::PathIsUNCServerShare(path.c_str())) - { - TDEBUG_TRACE("GetHgRepoRoot: path is UNC share '" << path << "'"); - return ""; - } - - std::string p = IsDirectory(path)? path : DirName(path); + std::string p = + (::PathIsUNCServerShare(path.c_str()) || IsDirectory(path)) + ? path : DirName(path);   for (;;)   {   std::string tdir = p + "\\.hg";