Fossil

Check-in [21880ca1b6]
Login

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

Overview
Comment:Make "init" an alias for "new".
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 21880ca1b67d727cb35539af9ac84ff344009da7
User & Date: drh 2010-11-09 13:52:46.000
References
2011-09-08
21:53 Fixed ticket [e776717962]: replace 'new' with 'init' command for repository creation plus 2 other changes artifact: 7982c2e3c9 user: dmitry
Context
2010-11-09
17:51
Merge in the latest changes from venks-emacs. check-in: 7d2d1d3228 user: drh tags: trunk
17:37
Merge with trunk check-in: 96c0c68a86 user: venkat tags: venks-emacs
13:52
Make "init" an alias for "new". check-in: 21880ca1b6 user: drh tags: trunk
11:59
The "export" command now exports tags. check-in: 06bc2fb7cc user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
1029
1030
1031
1032
1033
1034
1035

1036
1037

1038
1039
1040
1041
1042
1043
1044
    rid = content_put(&manifest, 0, 0);
    manifest_crosslink(rid, &manifest);
  }
}

/*
** COMMAND: new

**
** Usage: %fossil new ?OPTIONS? FILENAME

**
** Create a repository for a new project in the file named FILENAME.
** This command is distinct from "clone".  The "clone" command makes
** a copy of an existing project.  This command starts a new project.
**
** By default, your current login name is used to create the default
** admin user. This can be overridden using the -A|--admin-user







>


>







1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
    rid = content_put(&manifest, 0, 0);
    manifest_crosslink(rid, &manifest);
  }
}

/*
** COMMAND: new
** COMMAND: init
**
** Usage: %fossil new ?OPTIONS? FILENAME
**    Or: %fossil init ?OPTIONS? FILENAME
**
** Create a repository for a new project in the file named FILENAME.
** This command is distinct from "clone".  The "clone" command makes
** a copy of an existing project.  This command starts a new project.
**
** By default, your current login name is used to create the default
** admin user. This can be overridden using the -A|--admin-user