Fossil SCM
Documented the new -empty flag.
Commit
2a17ab66b2f20d9f83e8f354ce9faf0e4508709c
Parent
3b66804d3f10f9b…
2 files changed
+1
+4
-3
M
src/db.c
+1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1442,10 +1442,11 @@ | ||
| 1442 | 1442 | ** Options: |
| 1443 | 1443 | ** --template FILE copy settings from repository file |
| 1444 | 1444 | ** --admin-user|-A USERNAME select given USERNAME as admin user |
| 1445 | 1445 | ** --date-override DATETIME use DATETIME as time of the initial checkin |
| 1446 | 1446 | ** (default: don't create initial checkin) |
| 1447 | +** --empty Do not create an initial empty checkin. | |
| 1447 | 1448 | ** |
| 1448 | 1449 | ** See also: clone |
| 1449 | 1450 | */ |
| 1450 | 1451 | void create_repository_cmd(void){ |
| 1451 | 1452 | char *zPassword; |
| 1452 | 1453 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1442,10 +1442,11 @@ | |
| 1442 | ** Options: |
| 1443 | ** --template FILE copy settings from repository file |
| 1444 | ** --admin-user|-A USERNAME select given USERNAME as admin user |
| 1445 | ** --date-override DATETIME use DATETIME as time of the initial checkin |
| 1446 | ** (default: don't create initial checkin) |
| 1447 | ** |
| 1448 | ** See also: clone |
| 1449 | */ |
| 1450 | void create_repository_cmd(void){ |
| 1451 | char *zPassword; |
| 1452 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1442,10 +1442,11 @@ | |
| 1442 | ** Options: |
| 1443 | ** --template FILE copy settings from repository file |
| 1444 | ** --admin-user|-A USERNAME select given USERNAME as admin user |
| 1445 | ** --date-override DATETIME use DATETIME as time of the initial checkin |
| 1446 | ** (default: don't create initial checkin) |
| 1447 | ** --empty Do not create an initial empty checkin. |
| 1448 | ** |
| 1449 | ** See also: clone |
| 1450 | */ |
| 1451 | void create_repository_cmd(void){ |
| 1452 | char *zPassword; |
| 1453 |
+4
-3
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -48,17 +48,18 @@ | ||
| 48 | 48 | * Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file |
| 49 | 49 | that matches the ignore-glob. |
| 50 | 50 | * Add option -W|--width to "[/help?cmd=stash|fossil stash ls]" |
| 51 | 51 | and "[/help?cmd=leaves|fossil leaves]" commands. |
| 52 | 52 | * Enhance support for running as the root user. Now works on Haiku. |
| 53 | - * [/help?cmd=new|fossil new] no longer creates an initial empty commit by | |
| 54 | - default. The first commit after checking out a new empty repository will | |
| 55 | - become the initial commit. | |
| 53 | + * Added the <tt>-empty</tt> option to [/help?cmd=new|fossil new], which | |
| 54 | + causes it to not create an initial empty commit. The first commit after | |
| 55 | + checking out a repo created this way will become the initial commit. | |
| 56 | 56 | * Enhance sync operations by committing each round-trip to minimize number |
| 57 | 57 | of retransmits when autosync fails. Include option for |
| 58 | 58 | [/help?cmd=update| fossil update] and [/help?cmd=merge| fossil merge] to |
| 59 | 59 | continue even if missing content. |
| 60 | + | |
| 60 | 61 | |
| 61 | 62 | <h2>Changes For Version 1.28 (2014-01-27)</h2> |
| 62 | 63 | * Enhance [/help?cmd=/reports | /reports] to support event type filtering. |
| 63 | 64 | * When cloning a repository, the user name passed via the URL (if any) |
| 64 | 65 | is now used as the default local admin user's name. |
| 65 | 66 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -48,17 +48,18 @@ | |
| 48 | * Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file |
| 49 | that matches the ignore-glob. |
| 50 | * Add option -W|--width to "[/help?cmd=stash|fossil stash ls]" |
| 51 | and "[/help?cmd=leaves|fossil leaves]" commands. |
| 52 | * Enhance support for running as the root user. Now works on Haiku. |
| 53 | * [/help?cmd=new|fossil new] no longer creates an initial empty commit by |
| 54 | default. The first commit after checking out a new empty repository will |
| 55 | become the initial commit. |
| 56 | * Enhance sync operations by committing each round-trip to minimize number |
| 57 | of retransmits when autosync fails. Include option for |
| 58 | [/help?cmd=update| fossil update] and [/help?cmd=merge| fossil merge] to |
| 59 | continue even if missing content. |
| 60 | |
| 61 | <h2>Changes For Version 1.28 (2014-01-27)</h2> |
| 62 | * Enhance [/help?cmd=/reports | /reports] to support event type filtering. |
| 63 | * When cloning a repository, the user name passed via the URL (if any) |
| 64 | is now used as the default local admin user's name. |
| 65 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -48,17 +48,18 @@ | |
| 48 | * Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file |
| 49 | that matches the ignore-glob. |
| 50 | * Add option -W|--width to "[/help?cmd=stash|fossil stash ls]" |
| 51 | and "[/help?cmd=leaves|fossil leaves]" commands. |
| 52 | * Enhance support for running as the root user. Now works on Haiku. |
| 53 | * Added the <tt>-empty</tt> option to [/help?cmd=new|fossil new], which |
| 54 | causes it to not create an initial empty commit. The first commit after |
| 55 | checking out a repo created this way will become the initial commit. |
| 56 | * Enhance sync operations by committing each round-trip to minimize number |
| 57 | of retransmits when autosync fails. Include option for |
| 58 | [/help?cmd=update| fossil update] and [/help?cmd=merge| fossil merge] to |
| 59 | continue even if missing content. |
| 60 | |
| 61 | |
| 62 | <h2>Changes For Version 1.28 (2014-01-27)</h2> |
| 63 | * Enhance [/help?cmd=/reports | /reports] to support event type filtering. |
| 64 | * When cloning a repository, the user name passed via the URL (if any) |
| 65 | is now used as the default local admin user's name. |
| 66 |