Diff
Not logged in

Differences From:

File src/tag.c part of check-in [7c7edde116] - Add the sym-trunk and newbranch tags to the root check-in when rebuilding. Also add the newbranch tag to the root check-in when creating a new repository. by drh on 2009-01-21 02:47:42. [view]

To:

File src/tag.c part of check-in [8b2dd05734] - Throw an error when the "fossil tag add" command specifies a CHECK-IN that does not exist. by drh on 2009-01-21 03:21:30. [view]

@@ -267,8 +267,9 @@
   user_select();
   blob_zero(&uuid);
   blob_append(&uuid, zObjName, -1);
   if( name_to_uuid(&uuid, 9) ){
+    fossil_fatal("%s", g.zErrMsg);
     return;
   }
   rid = name_to_rid(blob_str(&uuid));
   blob_zero(&ctrl);