Fossil SCM

Documented the new -empty flag.

stephan 2014-05-31 22:22 trunk
Commit 2a17ab66b2f20d9f83e8f354ce9faf0e4508709c
2 files changed +1 +4 -3
+1
--- src/db.c
+++ src/db.c
@@ -1442,10 +1442,11 @@
14421442
** Options:
14431443
** --template FILE copy settings from repository file
14441444
** --admin-user|-A USERNAME select given USERNAME as admin user
14451445
** --date-override DATETIME use DATETIME as time of the initial checkin
14461446
** (default: don't create initial checkin)
1447
+** --empty Do not create an initial empty checkin.
14471448
**
14481449
** See also: clone
14491450
*/
14501451
void create_repository_cmd(void){
14511452
char *zPassword;
14521453
--- 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
--- www/changes.wiki
+++ www/changes.wiki
@@ -48,17 +48,18 @@
4848
* Issue a warning if a [/help?cmd=add|fossil add] command tries to add a file
4949
that matches the ignore-glob.
5050
* Add option -W|--width to "[/help?cmd=stash|fossil stash ls]"
5151
and "[/help?cmd=leaves|fossil leaves]" commands.
5252
* 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.
5656
* Enhance sync operations by committing each round-trip to minimize number
5757
of retransmits when autosync fails. Include option for
5858
[/help?cmd=update| fossil update] and [/help?cmd=merge| fossil merge] to
5959
continue even if missing content.
60
+
6061
6162
<h2>Changes For Version 1.28 (2014-01-27)</h2>
6263
* Enhance [/help?cmd=/reports | /reports] to support event type filtering.
6364
* When cloning a repository, the user name passed via the URL (if any)
6465
is now used as the default local admin user's name.
6566
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button