📄 main.c
字号:
("Remove files and directories from version control.\n" "usage: 1. delete PATH...\n" " 2. delete URL...\n" "\n" " 1. Each item specified by a PATH is scheduled for deletion upon\n" " the next commit. Files, and directories that have not been\n" " committed, are immediately removed from the working copy.\n" " PATHs that are, or contain, unversioned or modified items will\n" " not be removed unless the --force option is given.\n" "\n" " 2. Each item specified by a URL is deleted from the repository\n" " via an immediate commit.\n"), {svn_cl__force_opt, 'q', svn_cl__targets_opt, SVN_CL__LOG_MSG_OPTIONS, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "diff", svn_cl__diff, {"di"}, N_ ("Display the differences between two revisions or paths.\n" "usage: 1. diff [-c M | -r N[:M]] [TARGET[@REV]...]\n" " 2. diff [-r N[:M]] --old=OLD-TGT[@OLDREV] [--new=NEW-TGT[@NEWREV]] \\\n" " [PATH...]\n" " 3. diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]\n" "\n" " 1. Display the changes made to TARGETs as they are seen in REV between\n" " two revisions. TARGETs may be all working copy paths or all URLs.\n" " If TARGETs are working copy paths, N defaults to BASE and M to the\n" " working copy; if URLs, N must be specified and M defaults to HEAD.\n" " The '-c M' option is equivalent to '-r N:M' where N = M-1.\n" " Using '-c -M' does the reverse: '-r M:N' where N = M-1.\n" "\n" " 2. Display the differences between OLD-TGT as it was seen in OLDREV and\n" " NEW-TGT as it was seen in NEWREV. PATHs, if given, are relative to\n" " OLD-TGT and NEW-TGT and restrict the output to differences for those\n" " paths. OLD-TGT and NEW-TGT may be working copy paths or URL[@REV]. \n" " NEW-TGT defaults to OLD-TGT if not specified. -r N makes OLDREV default\n" " to N, -r N:M makes OLDREV default to N and NEWREV default to M.\n" "\n" " 3. Shorthand for 'svn diff --old=OLD-URL[@OLDREV] --new=NEW-URL[@NEWREV]'\n" "\n" " Use just 'svn diff' to display local modifications in a working copy.\n"), {'r', 'c', svn_cl__old_cmd_opt, svn_cl__new_cmd_opt, 'N', svn_cl__diff_cmd_opt, 'x', svn_cl__no_diff_deleted, svn_cl__notice_ancestry_opt, svn_cl__summarize, svn_cl__force_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "export", svn_cl__export, {0}, N_ ("Create an unversioned copy of a tree.\n" "usage: 1. export [-r REV] URL[@PEGREV] [PATH]\n" " 2. export [-r REV] PATH1[@PEGREV] [PATH2]\n" "\n" " 1. Exports a clean directory tree from the repository specified by\n" " URL, at revision REV if it is given, otherwise at HEAD, into\n" " PATH. If PATH is omitted, the last component of the URL is used\n" " for the local directory name.\n" "\n" " 2. Exports a clean directory tree from the working copy specified by\n" " PATH1, at revision REV if it is given, otherwise at WORKING, into\n" " PATH2. If PATH2 is omitted, the last component of the PATH1 is used\n" " for the local directory name. If REV is not specified, all local\n" " changes will be preserved. Files not under version control will\n" " not be copied.\n" "\n" " If specified, PEGREV determines in which revision the target is first\n" " looked up.\n"), {'r', 'q', 'N', svn_cl__force_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt, svn_cl__native_eol_opt, svn_cl__ignore_externals_opt} }, { "help", svn_cl__help, {"?", "h"}, N_ ("Describe the usage of this program or its subcommands.\n" "usage: help [SUBCOMMAND...]\n"), {svn_cl__config_dir_opt} }, /* This command is also invoked if we see option "--help", "-h" or "-?". */ { "import", svn_cl__import, {0}, N_ ("Commit an unversioned file or tree into the repository.\n" "usage: import [PATH] URL\n" "\n" " Recursively commit a copy of PATH to URL.\n" " If PATH is omitted '.' is assumed.\n" " Parent directories are created as necessary in the repository.\n" " If PATH is a directory, the contents of the directory are added\n" " directly under URL.\n"), {'q', 'N', svn_cl__autoprops_opt, svn_cl__no_autoprops_opt, SVN_CL__LOG_MSG_OPTIONS, svn_cl__no_ignore_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "info", svn_cl__info, {0}, N_ ("Display information about a local or remote item.\n" "usage: info [TARGET[@REV]...]\n" "\n" " Print information about each TARGET (default: '.')\n" " TARGET may be either a working-copy path or URL. If specified, REV\n" " determines in which revision the target is first looked up.\n"), {'r', 'R', svn_cl__targets_opt, svn_cl__incremental_opt, svn_cl__xml_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "list", svn_cl__list, {"ls"}, N_ ("List directory entries in the repository.\n" "usage: list [TARGET[@REV]...]\n" "\n" " List each TARGET file and the contents of each TARGET directory as\n" " they exist in the repository. If TARGET is a working copy path, the\n" " corresponding repository URL will be used. If specified, REV determines\n" " in which revision the target is first looked up.\n" "\n" " The default TARGET is '.', meaning the repository URL of the current\n" " working directory.\n" "\n" " With --verbose, the following fields will be shown for each item:\n" "\n" " Revision number of the last commit\n" " Author of the last commit\n" " If locked, the letter 'O'. (Use 'svn info URL' to see details)\n" " Size (in bytes)\n" " Date and time of the last commit\n"), {'r', 'v', 'R', svn_cl__incremental_opt, svn_cl__xml_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "lock", svn_cl__lock, {0}, N_ ("Lock working copy paths or URLs in the repository, so that\n" "no other user can commit changes to them.\n" "usage: lock TARGET...\n" "\n" " Use --force to steal the lock from another user or working copy.\n"), { svn_cl__targets_opt, 'm', 'F', svn_cl__force_log_opt, svn_cl__encoding_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt, svn_cl__force_opt }, {{'F', N_("read lock comment from file ARG")}, {'m', N_("specify lock comment ARG")}} }, { "log", svn_cl__log, {0}, N_ ("Show the log messages for a set of revision(s) and/or file(s).\n" "usage: 1. log [PATH]\n" " 2. log URL[@REV] [PATH...]\n" "\n" " 1. Print the log messages for a local PATH (default: '.').\n" " The default revision range is BASE:1.\n" "\n" " 2. Print the log messages for the PATHs (default: '.') under URL.\n" " If specified, REV determines in which revision the URL is first\n" " looked up. The default revision range is HEAD:1.\n" "\n" " With -v, also print all affected paths with each log message.\n" " With -q, don't print the log message body itself (note that this is\n" " compatible with -v).\n" "\n" " Each log message is printed just once, even if more than one of the\n" " affected paths for that revision were explicitly requested. Logs\n" " follow copy history by default. Use --stop-on-copy to disable this\n" " behavior, which can be useful for determining branchpoints.\n" "\n" " Examples:\n" " svn log\n" " svn log foo.c\n" " svn log http://www.example.com/repo/project/foo.c\n" " svn log http://www.example.com/repo/project foo.c bar.c\n"), {'r', 'q', 'v', svn_cl__targets_opt, svn_cl__stop_on_copy_opt, svn_cl__incremental_opt, svn_cl__xml_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt, svn_cl__limit_opt} }, { "merge", svn_cl__merge, {0}, N_ ("Apply the differences between two sources to a working copy path.\n" "usage: 1. merge sourceURL1[@N] sourceURL2[@M] [WCPATH]\n" " 2. merge sourceWCPATH1@N sourceWCPATH2@M [WCPATH]\n" " 3. merge [-c M | -r N:M] SOURCE[@REV] [WCPATH]\n" "\n" " 1. In the first form, the source URLs are specified at revisions\n" " N and M. These are the two sources to be compared. The revisions\n" " default to HEAD if omitted.\n" "\n" " 2. In the second form, the URLs corresponding to the source working\n" " copy paths define the sources to be compared. The revisions must\n" " be specified.\n" "\n" " 3. In the third form, SOURCE can be a URL, or working copy item\n" " in which case the corresponding URL is used. This URL in\n" " revision REV is compared as it existed between revisions N and \n" " M. If REV is not specified, HEAD is assumed.\n" " The '-c M' option is equivalent to '-r N:M' where N = M-1.\n" " Using '-c -M' does the reverse: '-r M:N' where N = M-1.\n" "\n" " WCPATH is the working copy path that will receive the changes.\n" " If WCPATH is omitted, a default value of '.' is assumed, unless\n" " the sources have identical basenames that match a file within '.':\n" " in which case, the differences will be applied to that file.\n"), {'r', 'c', 'N', 'q', svn_cl__force_opt, svn_cl__dry_run_opt, svn_cl__merge_cmd_opt, 'x', svn_cl__ignore_ancestry_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "mkdir", svn_cl__mkdir, {0}, N_ ("Create a new directory under version control.\n" "usage: 1. mkdir PATH...\n" " 2. mkdir URL...\n" "\n" " Create version controlled directories.\n" "\n" " 1. Each directory specified by a working copy PATH is created locally\n" " and scheduled for addition upon the next commit.\n" "\n" " 2. Each directory specified by a URL is created in the repository via\n" " an immediate commit.\n" "\n" " In both cases, all the intermediate directories must already exist.\n"), {'q', SVN_CL__LOG_MSG_OPTIONS, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "move", svn_cl__move, {"mv", "rename", "ren"}, N_ ("Move and/or rename something in working copy or repository.\n" "usage: move SRC DST\n" "\n" " Note: this subcommand is equivalent to a 'copy' and 'delete'.\n" " Note: the --revision option has no use and is deprecated.\n" "\n" " SRC and DST can both be working copy (WC) paths or URLs:\n" " WC -> WC: move and schedule for addition (with history)\n" " URL -> URL: complete server-side rename.\n"), {'r', 'q', svn_cl__force_opt, SVN_CL__LOG_MSG_OPTIONS, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "propdel", svn_cl__propdel, {"pdel", "pd"}, N_ ("Remove a property from files, dirs, or revisions.\n" "usage: 1. propdel PROPNAME [PATH...]\n" " 2. propdel PROPNAME --revprop -r REV [TARGET]\n" "\n" " 1. Removes versioned props in working copy.\n" " 2. Removes unversioned remote prop on repos revision.\n" " TARGET only determines which repository to access.\n"), {'q', 'R', 'r', svn_cl__revprop_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} },#ifndef AS400 { "propedit", svn_cl__propedit, {"pedit", "pe"}, N_ ("Edit a property with an external editor.\n" "usage: 1. propedit PROPNAME PATH...\n" " 2. propedit PROPNAME --revprop -r REV [TARGET]\n" "\n" " 1. Edits versioned props in working copy.\n" " 2. Edits unversioned remote prop on repos revision.\n" " TARGET only determines which repository to access.\n"), {'r', svn_cl__revprop_opt, SVN_CL__AUTH_OPTIONS, svn_cl__encoding_opt, svn_cl__editor_cmd_opt, svn_cl__force_opt, svn_cl__config_dir_opt} },#endif { "propget", svn_cl__propget, {"pget", "pg"}, N_ ("Print the value of a property on files, dirs, or revisions.\n" "usage: 1. propget PROPNAME [TARGET[@REV]...]\n" " 2. propget PROPNAME --revprop -r REV [TARGET]\n" "\n" " 1. Prints versioned props. If specified, REV determines in which\n" " revision the target is first looked up.\n" " 2. Prints unversioned remote prop on repos revision.\n" " TARGET only determines which repository to access.\n" "\n" " By default, this subcommand will add an extra newline to the end\n" " of the property values so that the output looks pretty. Also,\n" " whenever there are multiple paths involved, each property value\n" " is prefixed with the path with which it is associated. Use\n" " the --strict option to disable these beautifications (useful,\n" " for example, when redirecting binary property values to a file).\n"), {'R', 'r', svn_cl__revprop_opt, svn_cl__strict_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "proplist", svn_cl__proplist, {"plist", "pl"}, N_ ("List all properties on files, dirs, or revisions.\n" "usage: 1. proplist [TARGET[@REV]...]\n" " 2. proplist --revprop -r REV [TARGET]\n" "\n" " 1. Lists versioned props. If specified, REV determines in which\n" " revision the target is first looked up.\n" " 2. Lists unversioned remote props on repos revision.\n" " TARGET only determines which repository to access.\n"), {'v', 'R', 'r', 'q', svn_cl__revprop_opt, SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} }, { "propset", svn_cl__propset, {"pset", "ps"}, N_ ("Set the value of a property on files, dirs, or revisions.\n" "usage: 1. propset PROPNAME PROPVAL PATH...\n" " 2. propset PROPNAME --revprop -r REV PROPVAL [TARGET]\n" "\n" " 1. Creates a versioned, local propchange in working copy.\n" " 2. Creates an unversioned, remote propchange on repos revision.\n" " TARGET only determines which repository to access.\n" "\n" " The value may be provided with the --file option instead of PROPVAL.\n" "\n" " Note: svn recognizes the following special versioned properties\n" " but will store any arbitrary properties set:\n" " svn:ignore - A newline separated list of file patterns to ignore.\n" " svn:keywords - Keywords to be expanded. Valid keywords are:\n" " URL, HeadURL - The URL for the head version of the object.\n" " Author, LastChangedBy - The last person to modify the file.\n" " Date, LastChangedDate - The date/time the object was last modified.\n" " Rev, Revision, - The last revision the object changed.\n" " LastChangedRevision\n" " Id - A compressed summary of the previous\n" " 4 keywords.\n" " svn:executable - If present, make the file executable.\n" " svn:eol-style - One of 'native', 'LF', 'CR', 'CRLF'.\n" " svn:mime-type - The mimetype of the file. Used to determine\n" " whether to merge the file, and how to serve it from Apache.\n" " A mimetype beginning with 'text/' (or an absent mimetype) is\n" " treated as text. Anything else is treated as binary.\n"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -