Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

Directory: fix ctor

Changeset 1dccbc9965c3

Parent 5ab289f25d6a

by Adrian Buehlmann

Changes to one file · Browse files at 1dccbc9965c3 Showing diff from parent 5ab289f25d6a Diff from another changeset...

 
26
27
28
29
30
31
 
 
 
 
 
 
32
33
34
 
26
27
28
 
 
 
29
30
31
32
33
34
35
36
37
@@ -26,9 +26,12 @@
 ):   parent_(p), name_(n), tickcount_(0), status_(-1)  { - path_ = basepath; - if (!n.empty()) - path_ += "/" + n; + if (n.empty()) + path_ = basepath; + else if (basepath.empty()) + path_ = n; + else + path_ = basepath + '/' + n;  }