# # # patch "mtn_cvs/cvs_sync.cc" # from [91f59dc1d415e6c2b9bf658f9a820cd397d0cea4] # to [ac7fc315a0b1b9abab8df8bdc0ba05f9f603fef5] # ============================================================ --- mtn_cvs/cvs_sync.cc 91f59dc1d415e6c2b9bf658f9a820cd397d0cea4 +++ mtn_cvs/cvs_sync.cc ac7fc315a0b1b9abab8df8bdc0ba05f9f603fef5 @@ -1784,7 +1784,9 @@ void cvs_repository::parse_module_paths( { if (i->first.second()==app.opts.domain()+":path") { L(FL("found module %s:%s") % i->first.first % i->second()); - sd[file_path(i->first.first).as_internal()+"/"]=i->second(); + std::string path=file_path(i->first.first).as_internal(); + if (!path.empty()) path+='/'; + sd[path]=i->second(); } } // how can we know that this is all?