Fossil

Check-in [f2c8b4f375]
Login

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

Overview
Comment:[/help?cmd=new|fossil new] no longer (by default) creates an initial empty commit. The first commit after initializing a new repository will become the initial commit, and it doesn't need to be empty any more. If you specify --date-override, an initial commit with the specified date still will be created.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | no-initial-commit
Files: files | file ages | folders
SHA1: f2c8b4f375b8ab00e0770db8116eee4a2c1a5245
User & Date: jan.nijtmans 2014-05-01 08:06:31.692
Original Comment: [/help?cmd=new|fossil new] no longer creates an initial empty commit. The first commit after initializing a new repository will become the initial commit, and it doesn't need to be empty any more.
Context
2014-05-08
10:25
rebase check-in: 3ef59c357c user: jan.nijtmans tags: no-initial-commit
2014-05-01
08:06
[/help?cmd=new|fossil new] no longer (by default) creates an initial empty commit. The first commit after initializing a new repository will become the initial commit, and it doesn't need to be empty any more. If you specify --date-override, an initial commit with the specified date still will be created. check-in: f2c8b4f375 user: jan.nijtmans tags: no-initial-commit
2014-04-30
21:43
Fixed an assertion triggered via test-name-changes when symbolic name resolution fails. check-in: 25b2a809cd user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
  const char *zTemplate;      /* Repository from which to copy settings */
  const char *zDate;          /* Date of the initial check-in */
  const char *zDefaultUser;   /* Optional name of the default user */

  zTemplate = find_option("template",0,1);
  zDate = find_option("date-override",0,1);
  zDefaultUser = find_option("admin-user","A",1);
  if( zDate==0 ) zDate = "now";
  if( g.argc!=3 ){
    usage("REPOSITORY-NAME");
  }
  db_create_repository(g.argv[2]);
  db_open_repository(g.argv[2]);
  db_open_config(0);
  if( zTemplate ) db_attach(zTemplate, "settingSrc");







<







1451
1452
1453
1454
1455
1456
1457

1458
1459
1460
1461
1462
1463
1464
  const char *zTemplate;      /* Repository from which to copy settings */
  const char *zDate;          /* Date of the initial check-in */
  const char *zDefaultUser;   /* Optional name of the default user */

  zTemplate = find_option("template",0,1);
  zDate = find_option("date-override",0,1);
  zDefaultUser = find_option("admin-user","A",1);

  if( g.argc!=3 ){
    usage("REPOSITORY-NAME");
  }
  db_create_repository(g.argv[2]);
  db_open_repository(g.argv[2]);
  db_open_config(0);
  if( zTemplate ) db_attach(zTemplate, "settingSrc");
Changes to www/changes.wiki.
47
48
49
50
51
52
53



54
55
56
57
58
59
60
     options so that it shows both filenames above their respective columns in
     the side-by-side diff output.
  *  Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file
     that matches the ignore-glob.
  *  Add option -W|--width to "[/help?cmd=stash|fossil stash ls]"
     and "[/help?cmd=leaves|fossil leaves]" commands.
  *  Enhance support for running as the root user. Now works on Haiku.




<h2>Changes For Version 1.28 (2014-01-27)</h2>
  *  Enhance [/help?cmd=/reports | /reports] to support event type filtering.
  *  When cloning a repository, the user name passed via the URL (if any)
     is now used as the default local admin user's name.
  *  Enhance the SSH transport mechanism so that it runs a single instance of
     the "fossil" executable on the remote side, obviating the need for a shell







>
>
>







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
     options so that it shows both filenames above their respective columns in
     the side-by-side diff output.
  *  Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file
     that matches the ignore-glob.
  *  Add option -W|--width to "[/help?cmd=stash|fossil stash ls]"
     and "[/help?cmd=leaves|fossil leaves]" commands.
  *  Enhance support for running as the root user. Now works on Haiku.
  *  [/help?cmd=new|fossil new] no longer creates an initial empty commit. The
     first commit after initializing a new repository will become the initial
     commit, and it doesn't need to be empty any more.

<h2>Changes For Version 1.28 (2014-01-27)</h2>
  *  Enhance [/help?cmd=/reports | /reports] to support event type filtering.
  *  When cloning a repository, the user name passed via the URL (if any)
     is now used as the default local admin user's name.
  *  Enhance the SSH transport mechanism so that it runs a single instance of
     the "fossil" executable on the remote side, obviating the need for a shell