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

dirstate.cpp: rename direntry::mapdirstate to status

Changeset c494f491b120

Parent bc36ecbbfc6e

by Adrian Buehlmann

Changes to one file · Browse files at c494f491b120 Showing diff from parent bc36ecbbfc6e Diff from another changeset...

 
78
79
80
81
 
82
83
84
 
206
207
208
209
 
210
211
212
 
295
296
297
298
 
299
300
301
 
347
348
349
350
 
351
352
353
 
78
79
80
 
81
82
83
84
 
206
207
208
 
209
210
211
212
 
295
296
297
 
298
299
300
301
 
347
348
349
 
350
351
352
353
@@ -78,7 +78,7 @@
  unsigned length;   std::string name;   - char mapdirstate(const struct _stat& stat) const; + char status(const struct _stat& stat) const;  };     @@ -206,7 +206,7 @@
 }     -char direntry::mapdirstate(const struct _stat& stat) const +char direntry::status(const struct _stat& stat) const  {   switch (this->state)   { @@ -295,7 +295,7 @@
  temp += "/";   temp += e.name;   if (0 == lstat(temp.c_str(), stat)) - modified = (e.mapdirstate(stat) == 'M'); + modified = (e.status(stat) == 'M');   }   break;   case 'm': @@ -347,7 +347,7 @@
  if (relpath == e.name)   {   TDEBUG_TRACE("HgQueryDirstateFile: found relpath"); - outStatus = e.mapdirstate(stat); + outStatus = e.status(stat);   TDEBUG_TRACE("HgQueryDirstateFile: outStatus = " << outStatus);   return outStatus != '?';   }