Fossil SCM

Clarify some comments in name.c

eric 2008-09-03 18:52 eric-tagview-rework
Commit 5113ab5981bf88cfe2e734a3557b04fb339a4fe2
1 file changed +8 -3
+8 -3
--- src/name.c
+++ src/name.c
@@ -99,13 +99,13 @@
9999
}
100100
return rc;
101101
}
102102
103103
/*
104
-** This routine takes a name which might be a symbolic tag and
105
-** attempts to produce a UUID. The UUID (if any) is returned in the
106
-** blob pointed to by the second argument.
104
+** This routine takes a name which might be a tag and attempts to
105
+** produce a UUID. The UUID (if any) is returned in the blob pointed
106
+** to by the second argument.
107107
**
108108
** Return as follows:
109109
** 0 Name is not a tag
110110
** 1 A single UUID was found
111111
** 2 More than one UUID was found, so this is presumably a
@@ -134,10 +134,15 @@
134134
db_column_blob(&q, 0, pUuid);
135135
}
136136
db_finalize(&q);
137137
return count;
138138
}
139
+
140
+/*
141
+** This routine takes a name which might be a symbolic tag and
142
+** attempts to produce a UUID. See tag_to_uuid.
143
+*/
139144
int sym_tag_to_uuid(const char *pName, Blob *pUuid){
140145
return tag_to_uuid(pName,pUuid,"sym-");
141146
}
142147
143148
/*
144149
--- src/name.c
+++ src/name.c
@@ -99,13 +99,13 @@
99 }
100 return rc;
101 }
102
103 /*
104 ** This routine takes a name which might be a symbolic tag and
105 ** attempts to produce a UUID. The UUID (if any) is returned in the
106 ** blob pointed to by the second argument.
107 **
108 ** Return as follows:
109 ** 0 Name is not a tag
110 ** 1 A single UUID was found
111 ** 2 More than one UUID was found, so this is presumably a
@@ -134,10 +134,15 @@
134 db_column_blob(&q, 0, pUuid);
135 }
136 db_finalize(&q);
137 return count;
138 }
 
 
 
 
 
139 int sym_tag_to_uuid(const char *pName, Blob *pUuid){
140 return tag_to_uuid(pName,pUuid,"sym-");
141 }
142
143 /*
144
--- src/name.c
+++ src/name.c
@@ -99,13 +99,13 @@
99 }
100 return rc;
101 }
102
103 /*
104 ** This routine takes a name which might be a tag and attempts to
105 ** produce a UUID. The UUID (if any) is returned in the blob pointed
106 ** to by the second argument.
107 **
108 ** Return as follows:
109 ** 0 Name is not a tag
110 ** 1 A single UUID was found
111 ** 2 More than one UUID was found, so this is presumably a
@@ -134,10 +134,15 @@
134 db_column_blob(&q, 0, pUuid);
135 }
136 db_finalize(&q);
137 return count;
138 }
139
140 /*
141 ** This routine takes a name which might be a symbolic tag and
142 ** attempts to produce a UUID. See tag_to_uuid.
143 */
144 int sym_tag_to_uuid(const char *pName, Blob *pUuid){
145 return tag_to_uuid(pName,pUuid,"sym-");
146 }
147
148 /*
149

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button