Fossil

Check-in [e4517465f3]
Login

Check-in [e4517465f3]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Autosync is now working. Added autosync to tag add, tag branch and branch create.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e4517465f35f02639c67c92a96462154cd99b86c
User & Date: jnc 2007-09-25 07:19:55.000
Context
2007-09-25
08:38
Correct tag propagationl. Now works even when rebuilding in a randomized order. ... (check-in: ce7900a0b6 user: drh tags: trunk)
07:19
Autosync is now working. Added autosync to tag add, tag branch and branch create. ... (check-in: e4517465f3 user: jnc tags: trunk)
07:15
Ran an old fossil, did not auto-push... Updated ideas.txt to reflect that work has begun on this task and what has already been done. Hopefully this one will auto-push... ... (check-in: 6847e9b22a user: jnc tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/branch.c.
154
155
156
157
158
159
160







161
162
163
164
165
166
167
  }

  /* Clear the undo/redo stack */
  undo_reset();

  /* Commit */
  db_end_transaction(0);







}

/*
** COMMAND: branch
**
** Usage: %fossil branch SUBCOMMAND ... ?-R|--repository FILE?
**







>
>
>
>
>
>
>







154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
  }

  /* Clear the undo/redo stack */
  undo_reset();

  /* Commit */
  db_end_transaction(0);
  
  /* Autosync and do a push? */
  if( do_autosync() ){  
    g.argc=2;
    g.argv[1]="push";
    push_cmd();
  }
}

/*
** COMMAND: branch
**
** Usage: %fossil branch SUBCOMMAND ... ?-R|--repository FILE?
**
Changes to src/tag.c.
271
272
273
274
275
276
277







278
279
280
281
282
283
284
  blob_appendf(&ctrl, "U %F\n", g.zLogin);
  md5sum_blob(&ctrl, &cksum);
  blob_appendf(&ctrl, "Z %b\n", &cksum);
  db_begin_transaction();
  nrid = content_put(&ctrl, 0, 0);
  manifest_crosslink(nrid, &ctrl);
  db_end_transaction(0);







}

/*
** COMMAND: tag
** Usage: %fossil tag SUBCOMMAND ...
**
** Run various subcommands to control tags and properties







>
>
>
>
>
>
>







271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
  blob_appendf(&ctrl, "U %F\n", g.zLogin);
  md5sum_blob(&ctrl, &cksum);
  blob_appendf(&ctrl, "Z %b\n", &cksum);
  db_begin_transaction();
  nrid = content_put(&ctrl, 0, 0);
  manifest_crosslink(nrid, &ctrl);
  db_end_transaction(0);
  
  /* Autosync and do a push? */
  if( do_autosync() ){  
    g.argc=2;
    g.argv[1]="push";
    push_cmd();
  }
}

/*
** COMMAND: tag
** Usage: %fossil tag SUBCOMMAND ...
**
** Run various subcommands to control tags and properties