#7057 closed task (fixed)
Unclear hompage documentation or initenv is broken
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | not applicable |
Component: | general | Version: | 0.10.4 |
Severity: | normal | Keywords: | documentation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
On the page http://trac.edgewall.org/wiki/TracAdmin
it says takes these arguments
initenv <projectname> <db> <repostype> <repospath>
so I run a
trac-admin $tracpath initenv $name sqllite $svnpath
it complains about Wrong number of arguments to initenv :4.
Isn't 4 supposed to be correct? if I add a 5th argument, it throws an error about it doesn't look like a trac templates directory, which seems like it works.
Thanks, Jayh
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
comment:3 by , 17 years ago
Keywords: | documentation added |
---|---|
Type: | defect → task |
TracAdmin is for 0.11, you're using 0.10. See 0.10/TracAdmin.
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
…and the docs are now in sync. Thanks for the catch, cboos.
comment:6 by , 12 years ago
Milestone: | → not applicable |
---|
timeline links to the rescue, for seeing what was actually changed ;-)
On one hand, your arguments are wrong (svn would be an acceptable repostype, not sqllite)…
On the other hand, the docs are not current, and it seems reasonable to leave the template_dir off. You'll need to put the output of:
as the 5th argument for now.