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: extract content of main() into new testread()

Changeset 3928fb441d44

Parent fba4655e988c

by Adrian Buehlmann

Changes to one file · Browse files at 3928fb441d44 Showing diff from parent fba4655e988c Diff from another changeset...

 
393
394
395
396
397
 
398
399
400
 
410
411
412
 
 
 
 
 
 
 
413
414
415
 
393
394
395
 
 
396
397
398
399
 
409
410
411
412
413
414
415
416
417
418
419
420
421
@@ -393,8 +393,7 @@
 }     -#if 0 -int main(int argc, char *argv[]) +void testread()  {   std::auto_ptr<dirstate> pd = dirstate::read(".hg/dirstate");   time_t t; @@ -410,6 +409,13 @@
  s[strlen(s) - 1] = '\0';   printf("%s %s\n", s, pd->entries[ix].name.c_str());   } +} + + +#if 0 +int main(int argc, char *argv[]) +{ + testread();   return 0;  }  #endif