Fossil SCM

Fix a bug in name resolution when the name begins with "tag:"

drh 2012-09-06 18:26 trunk
Commit ac65f5bd54b71628d73843f82bfb955c40dde92d
1 file changed +1
+1
--- src/name.c
+++ src/name.c
@@ -152,10 +152,11 @@
152152
" AND event.objid=tagxref.rid "
153153
" AND event.type GLOB '%q'"
154154
" ORDER BY event.mtime DESC /*sort*/",
155155
&zTag[4], zType
156156
);
157
+ return rid;
157158
}
158159
159160
/* root:TAG -> The origin of the branch */
160161
if( memcmp(zTag, "root:", 5)==0 ){
161162
Stmt q;
162163
--- src/name.c
+++ src/name.c
@@ -152,10 +152,11 @@
152 " AND event.objid=tagxref.rid "
153 " AND event.type GLOB '%q'"
154 " ORDER BY event.mtime DESC /*sort*/",
155 &zTag[4], zType
156 );
 
157 }
158
159 /* root:TAG -> The origin of the branch */
160 if( memcmp(zTag, "root:", 5)==0 ){
161 Stmt q;
162
--- src/name.c
+++ src/name.c
@@ -152,10 +152,11 @@
152 " AND event.objid=tagxref.rid "
153 " AND event.type GLOB '%q'"
154 " ORDER BY event.mtime DESC /*sort*/",
155 &zTag[4], zType
156 );
157 return rid;
158 }
159
160 /* root:TAG -> The origin of the branch */
161 if( memcmp(zTag, "root:", 5)==0 ){
162 Stmt q;
163

Keyboard Shortcuts

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