bun 发表于 2013-05-23 12:55

wenhq 发表于 2013-05-23 16:56

import: Commit an unversioned file or tree into the repository.
usage: import URL

Recursively commit a copy of PATH to URL.
If PATH is omitted '.' is assumed.
Parent directories are created as necessary in the repository.
If PATH is a directory, the contents of the directory are added
directly under URL.
Unversionable items such as device files and pipes are ignored
if --force is specified.

Valid options:
-q [--quiet]             : print nothing, or only summary information
-N [--non-recursive]   : obsolete; try --depth=files or --depth=immediates
--depth ARG            : limit operation by depth ARG ('empty', 'files',
                            'immediates', or 'infinity')
--auto-props             : enable automatic properties
--force                  : force operation to run
--no-auto-props          : disable automatic properties
-m [--message] ARG       : specify log message ARG
-F [--file] ARG          : read log message from file ARG
--force-log            : force validity of log message source
--editor-cmd ARG         : use ARG as external editor
--encoding ARG         : treat value as being in charset encoding ARG
--with-revprop ARG       : set revision property ARG in new revision
                           using the name[=value] format
--no-ignore            : disregard default and svn:ignore property ignores

Global options:
--username ARG         : specify a username ARG
--password ARG         : specify a password ARG
--no-auth-cache          : do not cache authentication tokens
--non-interactive      : do no interactive prompting
--trust-server-cert      : accept unknown SSL server certificates without
                           prompting (but only with '--non-interactive')
--config-dir ARG         : read user configuration files from directory ARG
--config-option ARG      : set user configuration option in the format:
                                 FILE:SECTION:OPTION=
                           For example:
                                 servers:global:http-library=serf

bun 发表于 2013-05-23 20:32

wenhq 发表于 2013-05-23 20:43

嗯,看下详细的手册吧!
为啥不考虑git?不过git好像也不能满足你的需求吧。

maochanglu 发表于 2013-05-29 09:11

git 比svn 复杂而已。

wenhq 发表于 2013-05-29 15:35

没感觉git比SVN复杂到哪里去啊?
页: [1]
查看完整版本: svn import 的时候,可以指定忽略部分文件和目录吗?