Public » Mercurial » dirstate
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

name clarification

Changeset 2c890815df33

Parent 4618f09f6bc5

by Profile picture of Benjamin PollackBenjamin Pollack

Changes to one file · Browse files at 2c890815df33 Showing diff from parent 4618f09f6bc5 Diff from another changeset...

Change 1 of 2 Show Entire File dirstate.c Stacked
 
84
85
86
87
 
88
89
90
 
102
103
104
105
106
 
 
107
108
109
 
84
85
86
 
87
88
89
90
 
102
103
104
 
 
105
106
107
108
109
@@ -84,7 +84,7 @@
  free(pd);  }   -static char *rev_string(const char revhash[HASH_LENGTH]) +static char *revhash_string(const char revhash[HASH_LENGTH])  {   unsigned ix;   static char rev_string[HASH_LENGTH * 2 + 1]; @@ -102,8 +102,8 @@
 {   dirstate *pd = dirstate_new(".hg/dirstate");   unsigned ix; - printf("parent1: %s\n", rev_string(pd->parent1)); - printf("parent2: %s\n", rev_string(pd->parent2)); + printf("parent1: %s\n", revhash_string(pd->parent1)); + printf("parent2: %s\n", revhash_string(pd->parent2));   printf("entries: %d\n", pd->num_entries);   for (ix = 0; ix < pd->num_entries; ++ix)   {