Diff
Not logged in

Differences From:

File src/manifest.c part of check-in [4d39bbac10] - Require that the "branch new" command specify a basis. Do not let it use the current check-out. Otherwise it gets confusing to users. by drh on 2009-01-20 22:38:56. [view]

To:

File src/manifest.c part of check-in [0139767b9a] - When creating new repositories ("fossil new") label the initial empty check-in with a propagating symbolic tag "trunk". by drh on 2009-01-21 02:22:28. [view]

@@ -604,9 +604,9 @@
     }
   }
   if( !seenHeader ) goto manifest_syntax_error;
 
-  if( p->nFile>0 ){
+  if( p->nFile>0 || p->zRepoCksum!=0 ){
     if( p->nCChild>0 ) goto manifest_syntax_error;
     if( p->rDate==0.0 ) goto manifest_syntax_error;
     if( p->nField>0 ) goto manifest_syntax_error;
     if( p->zTicketUuid ) goto manifest_syntax_error;