Unix-commands-cvs
cvs-Unix、Linuxコマンド
link:/unix_commands/index [previous] link:/unix_commands/index [next] [[1]] php [AddThis Social Bookmark Button]
NAME
概要
Tag
説明
cvs_command [command_options] [command_args]
NOTE
CVSコマンド
CVSコマンドのガイド
この付録では、 cvs コマンドの全体的な構造について説明し、一部のコマンドを詳細に説明します(他のコマンドについては別の場所で説明します。 cvs コマンドのクイックリファレンスについては、ノード「CVS \(aqのCVSマニュアル)」を参照してください)
構造
CVSコマンドの全体構造
すべての cvs コマンドの全体的な形式は次のとおりです。
Tag | Description |
---|---|
cvs [ cvs_options ] cvs_command [ command_options ] [ command_args ] | |
*cvs * | |
The name of the* cvs* program. | |
*cvs_options * | |
Some options that affect all sub-commands of* cvs*. These are described below. | |
*cvs_command * | |
One of several different sub-commands. Some of the commands have aliases that can be used instead; those aliases are noted in the reference manual for that command. There are only two situations where you may omit* cvs_command*: cvs -H *elicits a list of available commands, and cvs -v displays version information on cvs* itself. | |
command_options | |
Options that are specific for the command. | |
command_args | |
Arguments to the commands. 残念ながら、 cvs_options と command_options の間には混乱があります。 cvs_option として指定すると、一部のオプションは一部のコマンドにのみ影響します。 command_option として指定された場合、異なる意味を持ち、より多くのコマンドで受け入れられます。 言い換えれば、上記の分類をあまり真剣に受け止めないでください。 代わりにドキュメントをご覧ください。 |
終了ステータス
CVS \(aqs exit status
〜/.cvsrc
デフォルトのオプションと〜/.cvsrcファイル
頻繁に使用される command_options がいくつかあるため、エイリアスを設定したり、そのオプションを常に指定したことを確認する他の手段を設定した可能性があります。 1つの例(実際には .cvsrc サポートの実装を推進したもの)は、多くの人が diff コマンドのデフォルト出力を読むのが非常に難しく、コンテキストdiffまたはunidiffの方がはるかに簡単だと感じることです理解する。
〜/.cvsrc *ファイルは、エイリアスまたは他のシェルスクリプトに依存する代わりに、cvs内の *cvs_commands にデフォルトオプションを追加できる方法です。
〜/.cvsrc *ファイルの形式は単純です。 ファイルは、実行されている *cvs_command と同じ名前で始まる行を検索します。 一致するものが見つかった場合、行の残りの部分は(空白文字で)別のオプションに分割され、コマンドラインからオプションの前にコマンド引数に追加されます。
コマンドに2つの名前(たとえば、 checkout と co )がある場合、必ずしもコマンドラインで使用される正式名ではなく、ファイルとの照合に使用されます。 これがuser \(aqs *〜/.cvsrc *ファイルの内容である場合:
Tag | Description |
---|---|
log -N | |
diff -uN | |
rdiff -u | |
update -Pd | |
checkout -P | |
release -d | |
the command cvs checkout foo *would have the -P option added to the arguments, as well as cvs co foo*. 上記のサンプルファイルでは、 cvs diff foobar からの出力はunidiff形式になります。 cvs diff -c foobar は、通常どおりコンテキストdiffを提供します。 diff には「古い」形式の使用を指定するオプションがあり、 cvs -f diff foobar が必要なため、「古い」形式のdiffを取得するのは少し複雑です。 コマンド名の代わりに、 cvs を使用してグローバルオプションを指定できます(CVSマニュアルのノード 'Global options \(aq)を参照)。 たとえば、*。cvsrc *の次の行 | |
cvs -z6 | |
causes cvs to use compression level 6. |
グローバルオプション
使用可能な cvs_options ( cvs_command の左側にある)は次のとおりです。
Tag | Description |
---|---|
--allow-root=rootdir* * | |
Specify legal* cvsroot* directory. See see node ‘Password authentication server\(aq in the CVS manual. | |
*-a * | |
Authenticate all communication between the client and the server. Only has an effect on the* cvs client. As of this writing, this is only implemented when using a GSSAPI connection (see node ‘GSSAPI authenticated\(aq in the CVS manual). Authentication prevents certain sorts of attacks involving hijacking the active tcp* connection. Enabling authentication does not enable encryption. | |
-b bindir*** * | |
In* cvs 1.9.18 and older, this specified that rcs programs are in the bindir directory. Current versions of cvs do not run rcs* programs; for compatibility this option is accepted, but it does nothing. | |
-T tempdir*** * | |
Use tempdir as the directory where temporary files are located. Overrides the setting of the* $TMPDIR environment variable and any precompiled directory. This parameter should be specified as an absolute pathname. (When running client/server, -T affects only the local process; specifying -T* for the client has no effect on the server and vice versa.) | |
-d cvs_root_directory*** * | |
Use cvs_root_directory as the root directory pathname of the repository. Overrides the setting of the* $CVSROOT* environment variable. see node ‘Repository\(aq in the CVS manual. | |
-e editor*** * | |
Use editor to enter revision log information. Overrides the setting of the* $CVSEDITOR and $EDITOR* environment variables. For more information, see see node ‘Committing your changes\(aq in the CVS manual. | |
*-f * | |
Do not read the* ~/.cvsrc file. This option is most often used because of the non-orthogonality of the cvs option set. For example, the cvs log option -N (turn off display of tag names) does not have a corresponding option to turn the display on. So if you have -N in the ~/.cvsrc entry for log*, you may need to use -f to show the tag names. | |
-H | |
*--help * | |
Display usage information about the specified* cvs_command (but do not actually execute the command). If you don\(aqt specify a command name, cvs -H displays overall help for cvs*, including a list of other help options. | |
*-n * | |
Do not change any files. Attempt to execute the* cvs_command*, but only to issue reports; do not remove, update, or merge any existing files, or create any new files.
| |
-Q | |
Cause the command to be really quiet; the command will only generate output for serious problems. | |
-q | |
Cause the command to be somewhat quiet; informational messages, such as reports of recursion through subdirectories, are suppressed. | |
*-r * | |
Make new working files read-only. Same effect as if the* $CVSREAD* environment variable is set (see node ‘Environment variables\(aq in the CVS manual). The default is to make working files writable, unless watches are on (see node ‘Watches\(aq in the CVS manual). | |
-s variable=value** | |
Set a user variable (see node ‘Variables\(aq in the CVS manual). | |
*-t * | |
Trace program execution; display messages showing the steps of* cvs activity. Particularly useful with -n* to explore the potential impact of an unfamiliar command. | |
-v | |
*--version * | |
Display version and copyright information for* cvs*. | |
*-w * | |
Make new working files read-write. Overrides the setting of the* $CVSREAD environment variable. Files are created read-write by default, unless $CVSREAD is set or -r* is given. | |
*-x * | |
Encrypt all communication between the client and the server. Only has an effect on the* cvs client. As of this writing, this is only implemented when using a GSSAPI connection (see node ‘GSSAPI authenticated\(aq in the CVS manual) or a Kerberos connection (see node ‘Kerberos authenticated\(aq in the CVS manual). Enabling encryption implies that message traffic is also authenticated. Encryption support is not available by default; it must be enabled using a special configure option, --enable-encryption*, when you build cvs. | |
-z gzip-level*** * | |
Set the compression level. Valid levels are 1 (high speed, low compression) to 9 (low speed, high compression), or 0 to disable compression (the default). Only has an effect on the* cvs* client. |
一般的なオプション
共通コマンドオプション
このセクションでは、いくつかの cvs コマンドで使用できる command_options について説明します。 これらのオプションは常に cvs_command の右側に与えられます。 すべてのコマンドがこれらのオプションをすべてサポートしているわけではありません。各オプションは、意味のあるコマンドでのみサポートされます。 ただし、コマンドにこれらのオプションのいずれかがある場合、ほとんどの場合、他のコマンドと同じオプションの動作を期待できます。 (個々のコマンドとともにリストされている他のコマンドオプションは、1つの cvs コマンドから別のコマンドに異なる動作をする場合があります)。
- history コマンドは例外です。これらの標準オプションと競合する多くのオプションをサポートしています。
Tag | Description |
---|---|
-D date_spec** | |
Use the most recent revision no later than date_spec. date_spec is a single argument, a date description specifying a date in the past. ソースファイルのプライベートコピーを作成するために使用する場合の仕様は、_sticky_です。つまり、-D *を使用して作業ファイルを取得すると、指定した日付が *cvs に記録されるため、同じディレクトリ内の以降の更新では同じ日付が使用されます(スティッキータグ/日付の詳細については、ノード 'スティッキータグ\(CVSマニュアルのaq)。
さまざまな日付形式が cvs でサポートされています。 最も標準的なものは、ISO8601(国際標準化機構)およびインターネット電子メール標準(RFC822でRFC1123によって修正された仕様)です。 ISO8601の日付には多くのバリエーションがありますが、いくつか例を示します。 |
Tag | Description |
---|---|
1972-09-24 | |
1972-09-24 20:05 |
Tag | Description |
---|---|
There are a lot more ISO8601 date formats, and cvs accepts many of them, but you probably don\(aqt want to hear the whole long story :-). インターネット電子メール自体で許可されている日付に加えて、 cvs では一部のフィールドを省略することもできます。 例えば: |
Tag | Description |
---|---|
24 Sep 1972 20:05 | |
24 Sep |
Tag | Description |
---|---|
The date is interpreted as being in the local timezone, unless a specific timezone is specified. これら2つの日付形式が推奨されます。 ただし、 cvs は現在、さまざまな他の日付形式を受け入れます。 それらはここでは詳細に意図的に文書化されておらず、 cvs の将来のバージョンはそれらのすべてを受け入れないかもしれません。 そのような形式の1つは** *month / day / year です。 これは、月と日を他の順序にすることに慣れている人々を混乱させる可能性があります。 *1/4/96 は4月1日ではなく1月4日です。 シェルがスペースを引数区切り文字として解釈しないように、-D *フラグの引数を引用符で囲むことを忘れないでください。 *-D フラグを使用するコマンドは次のようになります。 |
Tag | Description |
---|---|
$ cvs diff -D "1 hour ago" cvs.texinfo |
Tag | Description |
---|---|
*-f * | |
When you specify a particular date or tag to* cvs commands, they normally ignore files that do not contain the tag (or did not exist prior to the date) that you specified. Use the -f* option if you want files retrieved even when there is no match for the tag or date. (The most recent revision of the file will be used).
警告: コミット および 削除 コマンドにも -f オプションがありますが、これらのコマンドに対して異なる動作をします。 CVSマニュアルの「commit options \」ノードを参照し、CVSマニュアルの「Removing files \(aq」ノードを参照してください。 | |
-k kflag*** * | |
Alter the default processing of keywords. see node ‘Keyword substitution\(aq in the CVS manual, for the meaning of kflag. Your kflag specification is sticky when you use it to create a private copy of a source file; that is, when you use this option with the* checkout or update commands, cvs* associates your selected kflag with the file, and continues to use it with future update commands on the same file until you specify otherwise.
| |
-l | |
Local; run only in current working directory, rather than recursing through subdirectories. 次のコマンドで利用可能: annotate 、 checkout 、 commit 、 diff 、 edit 、 editors 、 export 、 log 、 rdiff 、 remove 、 rtag 、 status 、 tag 、 unedit 、 update 、 watch 、および watchers 。 | |
-m message** | |
Use message as log information, instead of invoking an editor. 次のコマンドで利用可能: add 、 commit および import 。 | |
-n | |
Do not run any tag program. (A program can be specified to run in the modules database (see node ‘modules\(aq in the CVS manual); this option bypasses it). これは、 cvs -n * programオプションとは異なり、cvsコマンドの左側に指定できます!*
| |
-P | |
Prune empty directories. See see node ‘Removing directories\(aq in the CVS manual. | |
*-p * | |
Pipe the files retrieved from the repository to standard output, rather than writing them in the current directory. Available with the* checkout and update* commands. | |
-R | |
Process directories recursively. This is on by default. 次のコマンドで使用可能: annotate 、 checkout 、 commit 、 diff 、 edit 、 editors 、 export 、 rdiff 、 remove 、 rtag 、 status 、 tag 、 unedit 、 update 、 watch 、および watchers 。 | |
-r tag*** * | |
Use the revision specified by the tag argument instead of the default head revision. As well as arbitrary tags defined with the* tag or rtag command, two special tags are always available: HEAD refers to the most recent version available in the repository, and BASE* refers to the revision you last checked out into the current working directory.
タグは、CVSマニュアルのノード「Tags \(aq)で説明されているシンボリックまたは数値タグ、またはCVSマニュアルのnode’Branching and merging \(aq。 コマンドが特定のリビジョンを予期している場合、ブランチの名前はそのブランチの最新のリビジョンとして解釈されます。
これは、全体 cvs -r オプションと同じではありません。これは、 cvs コマンドの左側に指定できます!
| |
*-W * | |
Specify file names that should be filtered. You can use this option repeatedly. The spec can be a file name pattern of the same type that you can specify in the* .cvswrappers file. Available with the following commands: import*, and update. |
管理者
管理
Tag | Description |
---|---|
o | Requires: repository, working directory. |
o | Changes: repository. |
o |
Synonym: rcs これは、さまざまな管理機能への cvs インターフェイスです。 それらのいくつかは cvs に対して疑わしい有用性を持っていますが、歴史的な目的のために存在しています。 疑わしいオプションのいくつかは、将来消滅する可能性があります。 このコマンドは_does_再帰的に機能するため、細心の注意を払う必要があります。 UNIXでは、 cvsadmin という名前のグループがある場合、そのグループのメンバーのみが cvs admin を実行できます(誰でも実行できる cvs admin -k コマンドを除く)。 このグループは、サーバー、または非クライアント/サーバー cvs を実行しているシステムに存在する必要があります。 すべてのユーザーに対して cvs admin を禁止するには、ユーザーを含まないグループを作成します。 NTでは、 cvsadmin 機能は存在せず、すべてのユーザーが cvs admin を実行できます。 |
管理オプション
これらのオプションのいくつかは、 cvs の有用性に疑問の余地がありますが、歴史的な目的で存在します。 効果を元に戻すまで cvs を使用できないようにするものさえあります!
Tag | Description |
---|---|
-Aoldfile* * | |
Might not work together with* cvs*. Append the access list of oldfile to the access list of the rcs file. | |
-alogins* * | |
Might not work together with* cvs*. Append the login names appearing in the comma-separated list logins to the access list of the rcs file. | |
-b[rev*] * | |
Set the default branch to rev. In* cvs*, you normally do not manipulate default branches; sticky tags (see node ‘Sticky tags\(aq in the CVS manual) are a better way to decide which branch you want to work on. There is one reason to run cvs admin -b: to revert to the vendor\(aqs version when using vendor branches (see node ‘Reverting local changes\(aq in the CVS manual). There can be no space between -b and its argument. | |
-cstring* * | |
Sets the comment leader to string. The comment leader is not used by current versions of* cvs or rcs* 5.7. Therefore, you can almost surely not worry about it. see node ‘Keyword substitution\(aq in the CVS manual. | |
-e[logins*] * | |
Might not work together with* cvs*. Erase the login names appearing in the comma-separated list logins from the access list of the RCS file. If logins is omitted, erase the entire access list. There can be no space between -e and its argument. | |
*-I * | |
Run interactively, even if the standard input is not a terminal. This option does not work with the client/server* cvs and is likely to disappear in a future release of cvs*. | |
*-i * | |
Useless with* cvs*. This creates and initializes a new rcs *file, without depositing a revision. With cvs*, add files with the cvs add command (see node ‘Adding files\(aq in the CVS manual). | |
-ksubst* * | |
Set the default keyword substitution to subst. see node ‘Keyword substitution\(aq in the CVS manual. Giving an explicit* -k option to cvs update*, cvs export, or cvs checkout overrides this default. | |
-l[rev*] * | |
Lock the revision with number rev. If a branch is given, lock the latest revision on that branch. If rev is omitted, lock the latest revision on the default branch. There can be no space between* -l* and its argument. これは、 cvs ソース配布の contrib ディレクトリの rcslock.pl スクリプトと組み合わせて使用して、予約済みのチェックアウトを提供できます(一度に1人のユーザーのみが特定のファイルを編集できます)。 詳細については、そのファイルのコメントを参照してください(およびcontribのサポートされていない性質に関する免責事項については、そのディレクトリの README ファイルを参照してください)。 そのファイルのコメントによると、ロックはstrict(デフォルト)に設定する必要があります。 | |
*-L * | |
Set locking to strict. Strict locking means that the owner of an RCS file is not exempt from locking for checkin. For use with* cvs*, strict locking must be set; see the discussion under the -l option above. | |
-mrev:msg** | |
Replace the log message of revision rev with msg. | |
-Nname[:[rev*]] * | |
Act like* -n*, except override any previous assignment of name. For use with magic branches, see see node ‘Magic branch numbers\(aq in the CVS manual. | |
-nname[:[rev*]] * | |
Associate the symbolic name name with the branch or revision rev. It is normally better to use* cvs tag or cvs rtag instead. Delete the symbolic name if both : and rev are omitted; otherwise, print an error message if name is already associated with another number. If rev is symbolic, it is expanded before association. A rev consisting of a branch number followed by a . stands for the current latest revision in the branch. A : with an empty rev stands for the current latest revision on the default branch, normally the trunk. For example, cvs admin -nname: associates name with the current latest revision of all the RCS files; this contrasts with cvs admin -nname:$* which associates name with the revision numbers extracted from keyword strings in the corresponding working files. | |
-orange** | |
Deletes (outdates) the revisions given by range. このコマンドは、何をしているのかを正確に把握していない限り、非常に危険です(たとえば、rev1 _: rev2_構文の混乱に関する以下の警告を参照してください)。 ディスクが不足している場合、このオプションが役立ちます。 ただし、使用する前によく考えてください。このコマンドを元に戻すために最新のバックアップを復元する以外に方法はありません。 不注意または cvs バグにより、計画とは異なるリビジョンを削除した場合、リビジョンが削除される前にエラーを修正する機会はありません。 最初にリポジトリのコピーを試すことをお勧めします。 次のいずれかの方法で_range_を指定します。 | |
**rev1::rev2 |
Tag | Description |
---|---|
Collapse all revisions between rev1 and rev2, so that cvs *only stores the differences associated with going from rev1 to rev2, not intermediate steps. For example, after -o 1.3::1.5 one can retrieve revision 1.3, revision 1.5, or the differences to get from 1.3 to 1.5, but not the revision 1.4, or the differences between 1.3 and 1.4. Other examples: -o 1.3::1.4 and -o 1.3::1.3* have no effect, because there are no intermediate revisions to remove. |
Tag | Description |
---|---|
::rev** |
Tag | Description |
---|---|
Collapse revisions between the beginning of the branch containing rev and rev itself. The branchpoint and rev are left intact. For example, -o ::1.3.2.6 deletes revision 1.3.2.1, revision 1.3.2.5, and everything in between, but leaves 1.3 and 1.3.2.6 intact. |
Tag | Description |
---|---|
**rev*::* |
Tag | Description |
---|---|
Collapse revisions between rev and the end of the branch containing rev. Revision rev is left intact but the head revision is deleted. |
Tag | Description |
---|---|
**rev |
Tag | Description |
---|---|
Delete the revision rev. For example, -o 1.3 *is equivalent to -o 1.2::1.4*. |
Tag | Description |
---|---|
**rev1:rev2 |
Tag | Description |
---|---|
Delete the revisions from rev1 to rev2, inclusive, on the same branch. One will not be able to retrieve rev1 or rev2 or any of the revisions in between. For example, the command cvs admin -oR_1_01:R_1_02 . is rarely useful. It means to delete revisions up to, and including, the tag R_1_02. But beware! If there are files that have not changed between R_1_02 and R_1_03 the file will have the same numerical revision number assigned to the tags R_1_02 and R_1_03. So not only will it be impossible to retrieve R_1_02; R_1_03 will also have to be restored from the tapes! In most cases you want to specify rev1::_rev2_ instead. |
Tag | Description |
---|---|
:rev** |
Tag | Description |
---|---|
Delete revisions from the beginning of the branch containing rev up to and including rev. |
Tag | Description |
---|---|
**rev*:* |
Tag | Description |
---|---|
Delete revisions from revision rev, including rev itself, to the end of the branch containing rev. 削除するリビジョンには、ブランチまたはロックがない場合があります。 削除するリビジョンのいずれかに記号名があり、 :: 構文のいずれかを指定すると、 cvs はエラーを表示し、リビジョンを削除しません。 シンボリック名とリビジョンの両方を本当に削除する場合は、最初に cvs tag -d でシンボリック名を削除してから、 cvs admin -o を実行します。 :: 以外の構文を指定すると、 cvs はリビジョンを削除しますが、シンボリック名は存在しないリビジョンを指します。 この動作は、以前のバージョンの cvs との互換性のために保持されていますが、それは非常に便利なので、将来的には :: のように変更される可能性があります。
誰もあなたが古いリビジョンのコピーをチェックアウトしていないことを確認してください。 彼が編集を開始し、チェックインしようとすると、奇妙なことが起こります。 このため、このオプションは偽のコミットを取り戻すのに適した方法ではありません。代わりに、偽の変更を取り消す新しいリビジョンをコミットします(ノード「2つのリビジョンのマージ」(CVSマニュアルのaqを参照)。 | |
-q |
Tag | Description |
---|---|
Run quietly; do not print diagnostics. | |
-sstate[:rev*] * | |
Useful with* cvs*. Set the state attribute of the revision rev to state. If rev is a branch number, assume the latest revision on that branch. If rev is omitted, assume the latest revision on the default branch. Any identifier is acceptable for state. A useful set of states is Exp *(for experimental), Stab (for stable), and Rel (for released). By default, the state of a new revision is set to Exp when it is created. The state is visible in the output from cvs log (see node ‘log\(aq in the CVS manual), and in the $Log$ and$*State$ keywords (see node ‘Keyword substitution\(aq in the CVS manual). Note that cvs *uses the dead state for its own purposes (see node ‘Attic\(aq in the CVS manual); to take a file to or from the dead state use commands like cvs remove and cvs add (see node ‘Adding and removing\(aq in the CVS manual), not cvs admin -s*. | |
-t[file*] * | |
Useful with* cvs*. Write descriptive text from the contents of the named file into the RCS file, deleting the existing text. The file pathname may not begin with -. The descriptive text can be seen in the output from cvs log *(see node ‘log\(aq in the CVS manual). There can be no space between -t* and its argument. _file_が省略されている場合は、標準入力からテキストを取得し、ファイルの終わりまたは*。を含む行だけで終了します。 相互作用が可能な場合、テキストの入力を求めます。 *-I を参照してください。 | |
-t-string* * | |
Similar to* -tfile. Write descriptive text from the string into the *rcs *file, deleting the existing text. There can be no space between -t* and its argument. | |
*-U * | |
Set locking to non-strict. Non-strict locking means that the owner of a file need not lock a revision for checkin. For use with* cvs*, strict locking must be set; see the discussion under the -l option above. | |
-u[rev*] * | |
See the option* -l above, for a discussion of using this option with cvs*. Unlock the revision with number rev. If a branch is given, unlock the latest revision on that branch. If rev is omitted, remove the latest lock held by the caller. Normally, only the locker of a revision may unlock it; somebody else unlocking a revision breaks the lock. This causes the original locker to be sent a commit *notification (see node ‘Getting Notified\(aq in the CVS manual). There can be no space between -u* and its argument. | |
-Vn* * | |
In previous versions of* cvs*, this option meant to write an rcs *file which would be acceptable to rcs* version n, but it is now obsolete and specifying it will produce an error. | |
-xsuffixes* * | |
In previous versions of* cvs*, this was documented as a way of specifying the names of the rcs *files. However, cvs has always required that the rcs files used by cvs end in ,v*, so this option has never done anything useful. |
注釈を付ける
ファイルの各行を変更したリビジョンは何ですか?
Tag | Description |
---|---|
o | Synopsis: annotate [options] files… |
o | Requires: repository. |
o |
Changes: nothing. _files_の各ファイルについて、各行の最終変更に関する情報とともに、トランクの最新リビジョンを印刷します。 |
オプションに注釈を付ける
これらの標準オプションは、 annotate によってサポートされています(ノードの「Common options \」(CVSマニュアルのaq、それらの完全な説明を参照):
Tag | Description |
---|---|
-l | |
Local directory only, no recursion. | |
-R | |
Process directories recursively. | |
-f | |
Use head revision if tag/date not found. | |
-F | |
Annotate binary files. | |
-r revision** | |
Annotate file as of specified revision/tag. | |
-D date** | |
Annotate file as of specified date. |
注釈の例
例えば:
Tag | Description |
---|---|
$ cvs annotate ssfile | |
Annotations for ssfile | |
''''** * | |
1.1 (mary 27-Mar-96): ssfile line 1 | |
1.2 (joe 28-Mar-96): ssfile line 2 | |
The file* ssfile currently contains two lines. The ssfile line 1 line was checked in by mary on March 27. Then, on March 28, joe added a line ssfile line 2*, without modifying the ssfile line 1 *line. This report doesn\(aqt tell you anything about lines which have been deleted or replaced; you need to use cvs diff* for that (see node ‘diff\(aq in the CVS manual).
|
チェックアウト
編集用のソースをチェックアウト
Tag | Description |
---|---|
o | Synopsis: checkout [options] modules… |
o | Requires: repository. |
o | Changes: working directory. |
o |
Synonyms: co, get _modules_で指定されたソースファイルのコピーを含む作業ディレクトリを作成または更新します。 他のほとんどの cvs コマンドを使用する前に checkout を実行する必要があります。ほとんどのコマンドは作業ディレクトリで動作するためです。 _modules_は、ソースディレクトリとファイルのコレクションのシンボル名、またはリポジトリ内のディレクトリまたはファイルへのパスです。 シンボル名は modules ファイルで定義されています。 CVSマニュアルのノード「モジュール」(aqを参照してください。 指定したモジュールに応じて、 checkout は再帰的にディレクトリを作成し、適切なソースファイルをそれらに追加します。 その後、これらのソースファイルをいつでも編集できます(他のソフトウェア開発者がソースの独自のコピーを編集しているかどうかに関係なく)。それらを更新して、他の人がソースリポジトリに適用した新しい変更を含めます。または、ソースリポジトリへの永続的な変更として作業をコミットします。
以前の checkout によってすでに構築されたディレクトリで checkout を実行することも許可されていることに注意してください。 これは、リポジトリに作成された新しいディレクトリが作業領域に表示されるという意味で、 update コマンドに -d オプションを指定するのと似ています。 ただし、 checkout はモジュール名を使用し、 update はディレクトリ名を使用します。 また、 checkout をこの方法で使用するには、トップレベルディレクトリ(最初に checkout を実行した場所)から実行する必要があるため、 checkout を実行して既存のディレクトリを更新する前に、don \(aqt最上位ディレクトリに移動します。
|
チェックアウトオプション
これらの標準オプションは、 checkout でサポートされています(ノードの一般的なオプション\(CVSマニュアルのaq、それらの完全な説明については参照):
Tag | Description |
---|---|
-D date*** * | |
Use the most recent revision no later than date. This option is sticky, and implies* -P*. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. | |
*-f * | |
Only useful with the* -D* date* or -r* tag** flags. If no matching revision is found, retrieve the most recent revision (instead of ignoring the file). | |
-k kflag*** * | |
Process keywords according to kflag. See see node ‘Keyword substitution\(aq in the CVS manual. This option is sticky; future updates of this file in this working directory will use the same kflag. The* status command can be viewed to see the sticky options. See see node ‘Invoking CVS\(aq in the CVS manual, for more information on the status* command. | |
-l | |
Local; run only in current working directory. | |
*-n * | |
Do not run any checkout program (as specified with the* -o* option in the modules file; see node ‘modules\(aq in the CVS manual). | |
-P | |
Prune empty directories. See see node ‘Moving directories\(aq in the CVS manual. | |
-p | |
Pipe files to the standard output. | |
-R | |
Checkout directories recursively. This option is on by default. | |
-r tag*** * | |
Use revision tag. This option is sticky, and implies* -P*. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. これらに加えて、 checkout でこれらの特別なコマンドオプションを使用できます。 | |
*-A * | |
Reset any sticky tags, dates, or* -k options. Does not reset sticky -k* options on modified files. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. | |
-c | |
Copy the module file, sorted, to the standard output, instead of creating or modifying any files or directories in your working directory. | |
-d dir*** * | |
Create a directory called dir for the working files, instead of using the module name. In general, using this flag is equivalent to using* mkdir* dir; cd dir** *followed by the checkout command without the -d* flag. ただし、重要な例外があります。 単一のアイテムをチェックアウトして、出力が空の中間ディレクトリを含まないディレクトリに表示されるようにすると便利です。 この場合は_only _、 cvs は `` shorten \(aq \(aqパス名を使用してこれらの空のディレクトリを回避しようとします。 たとえば、ファイル bar.c を含むモジュール foo を指定すると、コマンド cvs co -d dir foo はディレクトリ dir を作成し、その中に bar.c を配置します。 同様に、サブディレクトリ baz があり、ファイル quux.c があるモジュール bar を指定すると、コマンド cvs co -d dir bar/baz はディレクトリ dir を作成し、 quux.c を配置します。内部。
| |
-j tag*** * | |
With two* -j options, merge changes from the revision specified with the first -j option to the revision specified with the second j* option, into the working directory. 1つの -j オプションを使用して、祖先リビジョンから -j オプションで指定されたリビジョンへの変更を作業ディレクトリにマージします。 祖先リビジョンは、作業ディレクトリが基づいているリビジョンの共通の祖先であり、*-j *オプションで指定されたリビジョンです。 さらに、各-jオプションにはオプションの日付指定を含めることができます。これをブランチで使用すると、選択したリビジョンを特定の日付内のリビジョンに制限できます。 オプションの日付を指定するには、タグにコロン(:)を追加します:*-j * *Symbolic_Tag : Date_Specifier *。 CVSマニュアルの「分岐とマージ」ノード(aq | |
*-N * | |
Only useful together with* -d* dir**. With this option, cvs *will not ``shorten\(aq\(aq module paths in your working directory when you check out a single module. See the -d* flag for examples and a discussion. | |
*-s * | |
Like* -c*, but include the status of all modules, and sort it by the status string. see node ‘modules\(aq in the CVS manual, for info about the -s option that is used inside the modules file to set the module status. |
チェックアウトの例
モジュールのコピーを取得します tc :
Tag | Description |
---|---|
$ cvs checkout tc | |
Get a copy of the module tc as it looked one day ago: | |
$ cvs checkout -D yesterday tc | |
コミット
ファイルをリポジトリにチェックイン
Tag | Description |
---|---|
o | Synopsis: commit [-lRf] [-m \(aqlog_message\(aq |
-F file] [-r revision] [files…] | o |
Requires: working directory, repository. | o |
Changes: repository. | o |
コミットオプション
これらの標準オプションは、 commit でサポートされています(ノードの一般的なオプション\(CVSマニュアルのaqを参照してください、それらの完全な説明については)
Tag | Description |
---|---|
-l | |
Local; run only in current working directory. | |
-R | |
Commit directories recursively. This is on by default. | |
-r revision** | |
Commit to revision. revision must be either a branch, or a revision on the main trunk that is higher than any existing revision number (see node ‘Assigning revisions\(aq in the CVS manual). You cannot commit to a specific revision on a branch.
| |
-F file** | |
Read the log message from file, instead of invoking an editor. | |
*-f * | |
Note that this is not the standard behavior of the* -f* option as defined in see node ‘Common options\(aq in the CVS manual. ファイルに変更を加えていない場合でも、 cvs に強制的に新しいリビジョンをコミットさせます。 _file_の現在のリビジョンが1.7の場合、次の2つのコマンドは同等です。 |
Tag | Description |
---|---|
$ cvs commit -f file | |
$ cvs commit -r 1.8 file |
Tag | Description |
---|---|
The -f *option disables recursion (i.e., it implies -l*). To force cvs *to commit a new revision for all files in all subdirectories, you must use -f -R*. | |
-m message** | |
Use message as the log message, instead of invoking an editor. |
コミットの例
ブランチへのコミット
Tag | Description |
---|---|
$ cvs rtag -b -r FCS1_2 FCS1_2_Patch product_module | |
$ cvs checkout -r FCS1_2_Patch product_module | |
$ cd product_module | |
hack away | |
$ cvs commit | |
This works automatically since the -r option is sticky. |
編集後のブランチの作成
先週チェックアウトしたリビジョンに基づいて、非常に実験的なソフトウェアに取り組んでいるとしましょう。 グループの他の人がこのソフトウェアで作業したいが、メインラインの開発を妨げることなく、新しいブランチに変更をコミットできます。 他の人は、あなたの実験的なものをチェックアウトし、 cvs 競合解決の利点を最大限に活用できます。 シナリオは次のようになります。
Tag | Description |
---|---|
hacked sources are present | |
$ cvs tag -b EXPR1 | |
$ cvs update -r EXPR1 | |
$ cvs commit | |
The update *command will make the -r EXPR1 option sticky on all files. Note that your changes to the files will never be removed by the update command. The commit will automatically commit to the correct branch, because the -r *is sticky. You could also do like this: | |
hacked sources are present | |
$ cvs tag -b EXPR1 | |
$ cvs commit -r EXPR1 | |
but then, only those files that were changed by you will have the* -r EXPR1 sticky flag. If you hack away, and commit without specifying the -r EXPR1* flag, some files may accidentally end up on the main trunk. 実験的な変更であなたと協力するには、他の人は単に | |
$ cvs checkout -r EXPR1 whatever_module | |
diff
リビジョン間の違いを表示
Tag | Description |
---|---|
o | Synopsis: diff [-lR] [-k kflag] [format_options] [[r rev1 |
-D date1] [-r rev2 | -D date2]] [files…] |
o | Requires: working directory, repository. |
o |
Changes: nothing.
ファイル名が指定されている場合、それらのファイルのみが比較されます。 ディレクトリが指定されている場合、その下のすべてのファイルが比較されます。 diffの終了ステータスは、他の cvs コマンドとは異なります。詳細については、CVSマニュアルのノード「終了ステータス」を参照してください。 |
diffオプション
これらの標準オプションは、 diff でサポートされています(ノードの一般的なオプション\(CVSマニュアルのaq、それらの詳細な説明を参照):
Tag | Description |
---|---|
-D date*** * | |
Use the most recent revision no later than date. See* -r* for how this affects the comparison. | |
-k kflag** | |
Process keywords according to kflag. See see node ‘Keyword substitution\(aq in the CVS manual. | |
-l | |
Local; run only in current working directory. | |
-R | |
Examine directories recursively. This option is on by default. | |
-r tag*** * | |
Compare with revision tag. Zero, one or two* -r options can be present. With no -r option, the working file will be compared with the revision it was based on. With one -r*, that revision will be compared to your current working file. With two -r options those two revisions will be compared (and your working file will not affect the outcome in any way). 1つまたは両方の -r オプションは、上記の -D date **オプションに置き換えることができます。 次のオプションは、出力の形式を指定します。 GNU diffと同じ意味を持ちます。 ほとんどのオプションには2つの同等の名前があり、1つは*-で始まる1文字で、もう1つは-*で始まる長い名前です。 | |
-lines* * | |
Show lines (an integer) lines of context. This option does not specify an output format by itself; it has no effect unless it is combined with* -c or -u*. This option is obsolete. For proper operation, patch typically needs at least two lines of context. | |
-a | |
Treat all files as text and compare them line-by-line, even if they do not seem to be text. | |
-b | |
Ignore trailing white space and consider all other sequences of one or more white space characters to be equivalent. | |
-B | |
Ignore changes that just insert or delete blank lines. | |
--binary | |
Read and write data in binary mode. | |
--brief | |
Report only whether the files differ, not the details of the differences. | |
-c | |
Use the context output format. | |
-C lines** | |
--context[=lines*] * | |
Use the context output format, showing lines (an integer) lines of context, or three if lines is not given. For proper operation,* patch* typically needs at least two lines of context. | |
--changed-group-format=format** | |
Use format to output a line group containing differing lines from both files in if-then-else format. see node ‘Line group formats\(aq in the CVS manual. | |
*-d * | |
Change the algorithm to perhaps find a smaller set of changes. This makes* diff* slower (sometimes much slower). | |
-e | |
*--ed * | |
Make output that is a valid* ed* script. | |
--expand-tabs | |
Expand tabs to spaces in the output, to preserve the alignment of tabs in the input files. | |
*-f * | |
Make output that looks vaguely like an* ed* script but has changes in the order they appear in the file. | |
-F regexp** | |
In context and unified format, for each hunk of differences, show some of the last preceding line that matches regexp. | |
*--forward-ed * | |
Make output that looks vaguely like an* ed* script but has changes in the order they appear in the file. | |
-H | |
Use heuristics to speed handling of large files that have numerous scattered small changes. | |
--horizon-lines=lines** | |
Do not discard the last lines lines of the common prefix and the first lines lines of the common suffix. | |
-i | |
Ignore changes in case; consider upper- and lower-case letters equivalent. | |
-I regexp** | |
Ignore changes that just insert or delete lines that match regexp. | |
--ifdef=name** | |
Make merged if-then-else output using name. | |
--ignore-all-space | |
Ignore white space when comparing lines. | |
--ignore-blank-lines | |
Ignore changes that just insert or delete blank lines. | |
--ignore-case | |
Ignore changes in case; consider upper- and lower-case to be the same. | |
--ignore-matching-lines=regexp** | |
Ignore changes that just insert or delete lines that match regexp. | |
--ignore-space-change | |
Ignore trailing white space and consider all other sequences of one or more white space characters to be equivalent. | |
--initial-tab | |
Output a tab rather than a space before the text of a line in normal or context format. This causes the alignment of tabs in the line to look normal. | |
-L label** | |
Use label instead of the file name in the context format and unified format headers. | |
--label=label** | |
Use label instead of the file name in the context format and unified format headers. | |
--left-column | |
Print only the left column of two common lines in side by side format. | |
--line-format=format** | |
Use format to output all input lines in if-then-else format. see node ‘Line formats\(aq in the CVS manual. | |
*--minimal * | |
Change the algorithm to perhaps find a smaller set of changes. This makes* diff* slower (sometimes much slower). | |
*-n * | |
Output RCS-format diffs; like* -f* except that each command specifies the number of lines affected. | |
-N | |
--new-file | |
In directory comparison, if a file is found in only one directory, treat it as present but empty in the other directory. | |
--new-group-format=format** | |
Use format to output a group of lines taken from just the second file in if-then-else format. see node ‘Line group formats\(aq in the CVS manual. | |
--new-line-format=format** | |
Use format to output a line taken from just the second file in if-then-else format. see node ‘Line formats\(aq in the CVS manual. | |
--old-group-format=format** | |
Use format to output a group of lines taken from just the first file in if-then-else format. see node ‘Line group formats\(aq in the CVS manual. | |
--old-line-format=format** | |
Use format to output a line taken from just the first file in if-then-else format. see node ‘Line formats\(aq in the CVS manual. | |
-p | |
Show which C function each change is in. | |
*--rcs * | |
Output RCS-format diffs; like* -f* except that each command specifies the number of lines affected. | |
--report-identical-files | |
-s | |
Report when two files are the same. | |
--show-c-function | |
Show which C function each change is in. | |
--show-function-line=regexp** | |
In context and unified format, for each hunk of differences, show some of the last preceding line that matches regexp. | |
--side-by-side | |
Use the side by side output format. | |
--speed-large-files | |
Use heuristics to speed handling of large files that have numerous scattered small changes. | |
--suppress-common-lines | |
Do not print common lines in side by side format. | |
-t | |
Expand tabs to spaces in the output, to preserve the alignment of tabs in the input files. | |
-T | |
Output a tab rather than a space before the text of a line in normal or context format. This causes the alignment of tabs in the line to look normal. | |
--text | |
Treat all files as text and compare them line-by-line, even if they do not appear to be text. | |
-u | |
Use the unified output format. | |
--unchanged-group-format=format** | |
Use format to output a group of common lines taken from both files in if-then-else format. see node ‘Line group formats\(aq in the CVS manual. | |
--unchanged-line-format=format** | |
Use format to output a line common to both files in if-then-else format. see node ‘Line formats\(aq in the CVS manual. | |
-U lines** | |
--unified[=lines*] * | |
Use the unified output format, showing lines (an integer) lines of context, or three if lines is not given. For proper operation,* patch* typically needs at least two lines of context. | |
-w | |
Ignore white space when comparing lines. | |
-W columns** | |
--width=columns** | |
Use an output width of columns in side by side format. | |
-y | |
Use the side by side output format. |
回線グループ形式
行グループ形式を使用すると、プログラミング言語やテキスト形式言語など、if-then-else入力が可能な多くのアプリケーションに適した形式を指定できます。 行グループ形式は、類似した行の連続したグループの出力形式を指定します。
たとえば、次のコマンドは、TeXファイル myfile をリポジトリの元のバージョンと比較し、古い領域が \ begin \ {em} - \ end \ {em} で囲まれたマージファイルを出力します行、および新しい領域は \ begin \ {bf} - \ end \ {bf} 行で囲まれています。
Tag | Description |
---|---|
cvs diff \ | |
--old-group-format=\(aq\begin{em} | |
%<\end{em} | |
\(aq \ | |
--new-group-format=\(aq\begin{bf} | |
%>\end{bf} | |
\(aq \ | |
myfile | |
The following command is equivalent to the above example, but it is a little more verbose, because it spells out the default line group formats. | |
cvs diff \ | |
--old-group-format=\(aq\begin{em} | |
%<\end{em} | |
\(aq \ | |
--new-group-format=\(aq\begin{bf} | |
%>\end{bf} | |
\(aq \ | |
--unchanged-group-format=\(aq%=\(aq \ | |
--changed-group-format=\(aq\begin{em} | |
%<\end{em} | |
\begin{bf} | |
%>\end{bf} | |
\(aq \ | |
myfile | |
Here is a more advanced example, which outputs a diff listing with headers containing line numbers in a ``plain English\(aq\(aq style. | |
cvs diff \ | |
--unchanged-group-format=\(aq\(aq \ | |
--old-group-format=\(aq-------- %dn line%(n=1?:s) deleted at %df: | |
%<\(aq \ | |
--new-group-format=\(aq-------- %dN line%(N=1?:s) added after %de: | |
%>\(aq \ | |
--changed-group-format=\(aq-------- %dn line%(n=1?:s) changed at %df: | |
%←------- to: | |
%>\(aq \ | |
myfile | |
To specify a line group format, use one of the options listed below. You can specify up to four line group formats, one for each kind of line group. You should quote format, because it typically contains shell metacharacters. | |
--old-group-format=format** | |
These line groups are hunks containing only lines from the first file. The default old group format is the same as the changed group format if it is specified; otherwise it is a format that outputs the line group as-is. | |
--new-group-format=format** | |
These line groups are hunks containing only lines from the second file. The default new group format is same as the changed group format if it is specified; otherwise it is a format that outputs the line group as-is. | |
--changed-group-format=format** | |
These line groups are hunks containing lines from both files. The default changed group format is the concatenation of the old and new group formats. | |
--unchanged-group-format=format** | |
These line groups contain lines common to both files. The default unchanged group format is a format that outputs the line group as-is. 行グループ形式では、通常の文字は自分自身を表します。変換仕様は*%*で始まり、次の形式のいずれかです。 | |
%< | |
stands for the lines from the first file, including the trailing newline. Each line is formatted according to the old line format (see node ‘Line formats\(aq in the CVS manual). | |
%> | |
stands for the lines from the second file, including the trailing newline. Each line is formatted according to the new line format. | |
%= | |
stands for the lines common to both files, including the trailing newline. Each line is formatted according to the unchanged line format. | |
*%% * | |
stands for* %*. | |
%c\(aqC*\(aq * | |
where C is a single character, stands for C. C may not be a backslash or an apostrophe. For example,* %c\(aq:\(aq* stands for a colon, even inside the then-part of an if-then-else format, which a colon would normally terminate. | |
%c\(aq\O*\(aq * | |
where O is a string of 1, 2, or 3 octal digits, stands for the character with octal code O. For example,* %c\(aq\0\(aq* stands for a null character. | |
'*F'''*n* * | |
where F is a* printf* conversion specification and n is one of the following letters, stands for n\(aqs value formatted with F. | |
e |
Tag | Description |
---|---|
The line number of the line just before the group in the old file. |
Tag | Description |
---|---|
f |
Tag | Description |
---|---|
The line number of the first line in the group in the old file; equals e + 1. |
Tag | Description |
---|---|
l |
Tag | Description |
---|---|
The line number of the last line in the group in the old file. |
Tag | Description |
---|---|
m |
Tag | Description |
---|---|
The line number of the line just after the group in the old file; equals l + 1. |
Tag | Description |
---|---|
n |
Tag | Description |
---|---|
The number of lines in the group in the old file; equals l - f + 1. |
Tag | Description |
---|---|
E, F, L, M, N |
Tag | Description |
---|---|
Likewise, for lines in the new file.
| |
(A=B?T:E*)* |
Tag | Description |
---|---|
If A equals B then T else E. A and B are each either a decimal constant or a single letter interpreted as above. This format spec is equivalent to T if A\(aqs value equals B\(aqs; otherwise it is equivalent to E. たとえば、%(N = 0?no:%dN)line%(N = 1?:s)*は、N(新しいファイルのグループの行数)が0の場合、 *no lines と同等です。 、_N_が1の場合は 1 line に、それ以外の場合は*%dN lines *に。 |
行フォーマット
行形式は、入力ファイルから取得した各行をif-then-else形式の行グループの一部として出力する方法を制御します。
たとえば、次のコマンドは、テキストの左側に1列の変更インジケーターが付いたテキストを出力します。 出力の最初の列は、削除された行の*-、追加された行の *| 、および変更されていない行のスペースです。 形式には、出力で改行が必要な改行文字が含まれます。
Tag | Description |
---|---|
cvs diff \ | |
--old-line-format=\(aq-%l | |
\(aq \ | |
--new-line-format=\(aq | |
%l | |
\(aq \ | |
--unchanged-line-format=\(aq %l | |
\(aq \ | |
myfile | |
To specify a line format, use one of the following options. You should quote format, since it often contains shell metacharacters. | |
--old-line-format=format** | |
formats lines just from the first file. | |
--new-line-format=format** | |
formats lines just from the second file. | |
--unchanged-line-format=format** | |
formats lines common to both files. | |
--line-format=format** | |
formats all lines; in effect, it sets all three above options simultaneously. 行形式では、通常の文字は自分自身を表します。変換仕様は*%*で始まり、次の形式のいずれかです。 |
|
%l | |
stands for the contents of the line, not counting its trailing newline (if any). This format ignores whether the line is incomplete. | |
%L | |
stands for the contents of the line, including its trailing newline (if any). If a line is incomplete, this format preserves its incompleteness. | |
*%% * | |
stands for* %*. | |
%c\(aqC*\(aq * | |
where C is a single character, stands for C. C may not be a backslash or an apostrophe. For example,* %c\(aq:\(aq* stands for a colon. | |
%c\(aq\O*\(aq * | |
where O is a string of 1, 2, or 3 octal digits, stands for the character with octal code O. For example,* %c\(aq\0\(aq* stands for a null character. | |
**F*n * | |
where F is a* printf conversion specification, stands for the line number formatted with F. For example, %.5dn prints the line number using the printf format "%.5d"*. see node ‘Line group formats\(aq in the CVS manual, for more about printf conversion specifications. デフォルトの行形式は*%l *で、その後に改行文字が続きます。 入力にタブ文字が含まれ、それらが出力に並ぶことが重要である場合、行形式の*%l または%L がタブストップの直後にあることを確認する必要があります(例: *%l *または%L の前にタブ文字を追加するか、-t または-expand-tabs *オプションを使用する必要があります。 まとめて、ラインおよびライングループ形式を使用すると、さまざまな形式を指定できます。 たとえば、次のコマンドは、 diff \(aqs normal format。 このコマンドを調整して、 diff \(aqs出力を細かく制御できます。 |
|
cvs diff \ | |
--old-line-format=\(aq< %l | |
\(aq \ | |
--new-line-format=\(aq> %l | |
\(aq \ | |
--old-group-format=\(aq%df%(f=l?:,%dl)d%dE | |
%<\(aq \ | |
--new-group-format=\(aq%dea%dF%(F=L?:,%dL) | |
%>\(aq \ | |
--changed-group-format=\(aq%df%(f=l?:,%dl)c%dF%(F=L?:,%dL) | |
%<— | |
%>\(aq \ | |
--unchanged-group-format=\(aq\(aq \ | |
myfile |
diffの例
次の行は、 backend.c のリビジョン1.14と1.19の間にUnidiff( -u フラグ)を生成します。 -kk フラグにより、キーワードは置換されないため、キーワード置換のみに依存する違いは無視されます。
Tag | Description |
---|---|
$ cvs diff -kk -u -r 1.14 -r 1.19 backend.c | |
Suppose the experimental branch EXPR1 was based on a set of files tagged RELEASE_1_0. To see what has happened on that branch, the following can be used: | |
$ cvs diff -r RELEASE_1_0 -r EXPR1 | |
A command like this can be used to produce a context diff between two releases: | |
$ cvs diff -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs | |
If you are maintaining ChangeLogs, a command like the following just before you commit your changes may help you write the ChangeLog entry. All local modifications that have not yet been committed will be printed. | |
$ cvs diff -u | |
less |
輸出する
checkoutと同様に、CVSからソースをエクスポートします
Tag | Description |
---|---|
o | Synopsis: export [-flNnR] [-r rev |
-D date] [-k subst] [-d dir] module… | o |
Requires: repository. | o |
エクスポートオプション
これらの標準オプションは export でサポートされています(それらの完全な説明については、CVSマニュアルの「Common options \」ノードを参照してください)。
Tag | Description |
---|---|
-D date** | |
Use the most recent revision no later than date. | |
-f | |
If no matching revision is found, retrieve the most recent revision (instead of ignoring the file). | |
-l | |
Local; run only in current working directory. | |
-n | |
Do not run any checkout program. | |
-R | |
Export directories recursively. This is on by default. | |
-r tag** | |
Use revision tag. さらに、これらのオプション( checkout および export に共通)もサポートされています。 | |
-d dir*** * | |
Create a directory called dir for the working files, instead of using the module name. see node ‘checkout options\(aq in the CVS manual, for complete details on how* cvs* handles this flag. | |
-k subst** | |
Set keyword expansion mode (see node ‘Substitution modes\(aq in the CVS manual). | |
*-N * | |
Only useful together with* -d* dir**. see node ‘checkout options\(aq in the CVS manual, for complete details on how *cvs *handles this flag. |
歴史
ファイルとユーザーのステータスを表示
Tag | Description |
---|---|
o | Synopsis: history [-report] [-flags] [-options args] [files…] |
o | Requires: the file* $CVSROOT/CVSROOT/history* |
o |
Changes: nothing.
ファイル $ CVSROOT/CVSROOT/history を作成して、ロギングを有効にする必要があります。
|
履歴オプション
生成されるレポートの種類を制御するいくつかのオプション( -report として上に表示):
Tag | Description |
---|---|
-c | |
Report on each time commit was used (i.e., each time the repository was modified). | |
*-e * | |
Everything (all record types). Equivalent to specifying* -x with all record types. Of course, -e will also include record types which are added in a future version of cvs*; if you are writing a script which can only handle certain record types, you\(aqll want to specify -x. | |
-m module*** * | |
Report on a particular module. (You can meaningfully use* -m* more than once on the command line.) | |
-o | |
Report on checked-out modules. This is the default report type. | |
-T | |
Report on all tags. | |
-x type*** * | |
Extract a particular set of record types type from the* cvs* history. The types are indicated by single letters, which you may specify in combination. 特定のコマンドには、単一のレコードタイプがあります。 | |
F |
Tag | Description |
---|---|
release |
Tag | Description |
---|---|
O |
Tag | Description |
---|---|
checkout |
Tag | Description |
---|---|
E |
Tag | Description |
---|---|
export |
Tag | Description |
---|---|
T |
Tag | Description |
---|---|
rtag 更新の結果、5つのレコードタイプのいずれかが発生する場合があります。 |
Tag | Description |
---|---|
C |
Tag | Description |
---|---|
A merge was necessary but collisions were detected (requiring manual merging). |
Tag | Description |
---|---|
G |
Tag | Description |
---|---|
A merge was necessary and it succeeded. |
Tag | Description |
---|---|
U |
Tag | Description |
---|---|
A working file was copied from the repository. |
Tag | Description |
---|---|
P |
Tag | Description |
---|---|
A working file was patched to match the repository. |
Tag | Description |
---|---|
W |
Tag | Description |
---|---|
The working copy of a file was deleted during update (because it was gone from the repository). コミットの結果、3つのレコードタイプのいずれかが発生します。 |
Tag | Description |
---|---|
A |
Tag | Description |
---|---|
A file was added for the first time. |
Tag | Description |
---|---|
M |
Tag | Description |
---|---|
A file was modified. |
Tag | Description |
---|---|
R |
Tag | Description |
---|---|
A file was removed.
| |
-a |
Tag | Description |
---|---|
Show data for all users (the default is to show data only for the user executing history). | |
-l | |
Show last modification only. | |
*-w * | |
Show only the records for modifications done from the same working directory where* history* is executing.
| |
-b str** | |
Show data back to a record containing the string str in either the module name, the file name, or the repository path. | |
-D date*** * | |
Show data since date. This is slightly different from the normal use of* -D* date**, which selects the newest revision older than date. | |
-f file*** * | |
Show data for a particular file (you can specify several* -f* options on the same command line). This is equivalent to specifying the file on the command line. | |
-n module*** * | |
Show data for a particular module (you can specify several* -n* options on the same command line). | |
-p repository*** * | |
Show data for a particular source repository (you can specify several* -p* options on the same command line). | |
-r rev*** * | |
Show records referring to revisions since the revision or tag named rev appears in individual* rcs files. Each rcs* file is searched for the revision or tag. | |
-t tag*** * | |
Show records since tag tag was last added to the history file. This differs from the* -r flag above in that it reads only the history file, not the rcs* files, and is much faster. | |
-u name** | |
Show records for user name. | |
-z timezone** | |
Show times in the selected records using the specified time zone instead of UTC. |
インポート
ベンダーブランチを使用してソースをCVSにインポート
Tag | Description |
---|---|
o | Synopsis: import [-options] repository vendortag releasetag… |
o | Requires: Repository, source distribution directory. |
o |
Changes: repository.
_repository_引数は、リポジトリの cvs ルートディレクトリの下のディレクトリ名(またはディレクトリへのパス)を提供します。ディレクトリが存在しなかった場合、インポートにより作成されます。 ソースリポジトリで変更されたソースの更新にインポートを使用すると(以前のインポート以降)、開発の2つのブランチで競合するファイルがあれば通知されます。インポートの指示に従って、 checkout -j を使用して違いを調整します。
ファイル $ CVSROOT/CVSROOT/cvswrappers が存在する場合、そのファイルの仕様と名前が一致するファイルはすべてパッケージとして扱われ、インポートする前にファイル/ディレクトリで適切なフィルタリングが実行されます。 CVSマニュアルのノード「Wrappers \(aq」を参照してください。 外部ソースは、デフォルトでは1.1.1の第1レベルのブランチに保存されます。 更新はこのブランチのリーフです。たとえば、最初にインポートされたソースのコレクションからのファイルはリビジョン1.1.1.1になり、最初にインポートされた更新からのファイルはリビジョン1.1.1.2になります。 少なくとも3つの引数が必要です。 _repository_は、ソースのコレクションを識別するために必要です。 _vendortag_は、ブランチ全体のタグです(1.1.1など)。 また、 import を実行するたびに作成されるリーフでファイルを一意に識別するために、少なくとも1つの_releasetag_を指定する必要があります。 _releasetag_は、リポジトリファイルに以前は存在していない新しいものであり、インポートされたリリースを一意に識別する必要があります。
|
インポートオプション
この標準オプションは import でサポートされています(完全な説明については、CVSマニュアルの「Common options \」ノードを参照してください)。
Tag | Description |
---|---|
-m message** | |
Use message as log information, instead of invoking an editor. 次の追加の特別なオプションがあります。 | |
-b branch** | |
See see node ‘Multiple vendor branches\(aq in the CVS manual. | |
-k subst*** * | |
Indicate the keyword expansion mode desired. This setting will apply to all files created during the import, but not to any files that previously existed in the repository. See see node ‘Substitution modes\(aq in the CVS manual, for a list of valid* -k* settings. | |
-I name** | |
Specify file names that should be ignored during import. You can use this option repeatedly. To avoid ignoring any files at all (even those ignored by default), specify `-I !\(aq. _name_には、*。cvsignore *ファイルで指定できるものと同じタイプのファイル名パターンを指定できます。 CVSマニュアルのノードcvsignore \(aqを参照してください。 | |
-W spec** | |
Specify file names that should be filtered during import. You can use this option repeatedly. _spec_は、*。cvswrappers *ファイルで指定できるものと同じタイプのファイル名パターンです。 CVSマニュアルのノード「Wrappers \(aq」を参照してください。 |
出力をインポートする
Tag | Description |
---|---|
U file** | |
The file already exists in the repository and has not been locally modified; a new revision has been created (if necessary). | |
N file** | |
The file is a new file which has been added to the repository. | |
C file** | |
The file already exists in the repository but has been locally modified; you will have to merge the changes. | |
I file** | |
The file is being ignored (see node ‘cvsignore\(aq in the CVS manual). | |
L file*** * | |
The file is a symbolic link;* cvs import ignores symbolic links. People periodically suggest that this behavior should be changed, but if there is a consensus on what it should be changed to, it doesn\(aqt seem to be apparent. (Various options in the modules *file can be used to recreate symbolic links on checkout, update, etc.; see node ‘modules\(aq in the CVS manual.) |
インポートの例
CVSマニュアルの「Tracking sources \」ノードを参照してください。CVSマニュアルの「From From \」ノードを参照してください。
log
ファイルのログ情報を印刷する
Tag | Description |
---|---|
o | Synopsis: log [options] [files…] |
o | Requires: repository, working directory. |
o |
Changes: nothing. ファイルのログ情報を表示します。* log は *rcs ユーティリティ rlog の呼び出しに使用されます。 これは現在のソースではもはや当てはまりませんが、この履歴は出力とオプションの形式を決定しますが、これらは他の cvs コマンドのスタイルとはまったく異なります。 出力には、 rcs ファイルの場所、_head_リビジョン(トランク上の最新リビジョン)、すべてのシンボル名(タグ)などが含まれます。 リビジョンごとに、リビジョン番号、作成者、追加/削除された行数、およびログメッセージが出力されます。 すべての時間は協定世界時(UTC)で表示されます。 ( cvs の他の部分は、ローカルタイムゾーンで時間を出力します)。
|
ログオプション
デフォルトでは、 log は利用可能なすべての情報を出力します。 他のすべてのオプションは出力を制限します。 リビジョン選択オプション( -d 、-r *、-s 、および *-w )は、Atticディレクトリでファイルを検索する可能性があることを除いて、 -S オプションも指定されていない限り、 log ヘッダーフィールド( -b 、-h *、-R 、および *-t )のみに出力を制限するオプション。
Tag | Description |
---|---|
-b | |
Print information about the revisions on the default branch, normally the highest branch on the trunk. | |
-d dates*** * | |
Print information about revisions with a checkin date/time in the range given by the semicolon-separated list of dates. The date formats accepted are those accepted by the* -D option to many other cvs* commands (see node ‘Common options\(aq in the CVS manual). Dates can be combined into ranges as follows: | |
**d1<d2 |
Tag | Description |
---|---|
Tag | Description |
---|---|
**d2>d1 |
Tag | Description |
---|---|
Select the revisions that were deposited between d1 and d2. |
Tag | Description |
---|---|
<d** |
Tag | Description |
---|---|
Tag | Description |
---|---|
**d*>* |
Tag | Description |
---|---|
Select all revisions dated d or earlier. |
Tag | Description |
---|---|
**d*<* |
Tag | Description |
---|---|
Tag | Description |
---|---|
>d** |
Tag | Description |
---|---|
Select all revisions dated d or later. |
Tag | Description |
---|---|
**d |
Tag | Description |
---|---|
Select the single, latest revision dated d or earlier. > *または <*文字の後に = を続けて、排他的範囲ではなく包括的範囲を示すことができます。 区切り記号はセミコロン(;)であることに注意してください。 | |
-h |
Tag | Description |
---|---|
Print only the name of the rcs file, name of the file in the working directory, head, default branch, access list, locks, symbolic names, and suffix. | |
-l | |
Local; run only in current working directory. (Default is to run recursively). | |
-N | |
Do not print the list of tags for this file. This option can be very useful when your site uses a lot of tags, so rather than "more"\(aqing over 3 pages of tag information, the log information is presented without tags at all. | |
*-R * | |
Print only the name of the* rcs* file. | |
-rrevisions** | |
Print information about revisions given in the comma-separated list revisions of revisions and ranges. The following table explains the available range formats: | |
**rev1:rev2 |
Tag | Description |
---|---|
Revisions rev1 to rev2 (which must be on the same branch). |
Tag | Description |
---|---|
**rev1::rev2 |
Tag | Description |
---|---|
The same, but excluding rev1. |
Tag | Description |
---|---|
:rev** |
Tag | Description |
---|---|
Tag | Description |
---|---|
::rev** |
Tag | Description |
---|---|
Revisions from the beginning of the branch up to and including rev. |
Tag | Description |
---|---|
**rev*:* |
Tag | Description |
---|---|
Revisions starting with rev to the end of the branch containing rev. |
Tag | Description |
---|---|
**rev*::* |
Tag | Description |
---|---|
Revisions starting just after rev to the end of the branch containing rev. |
Tag | Description |
---|---|
**branch |
Tag | Description |
---|---|
An argument that is a branch means all revisions on that branch. |
Tag | Description |
---|---|
**branch1:branch2 |
Tag | Description |
---|---|
Tag | Description |
---|---|
**branch1::branch2 |
Tag | Description |
---|---|
A range of branches means all revisions on the branches in that range. |
Tag | Description |
---|---|
**branch*.* |
Tag | Description |
---|---|
The latest revision in branch. リビジョンのない裸の -r は、デフォルトのブランチ(通常はトランク)の最新リビジョンを意味します。 -r オプションとその引数の間にスペースを入れることはできません。 | |
-S |
Tag | Description |
---|---|
Suppress the header if no revisions are selected. | |
-s states*** * | |
Print information about revisions whose state attributes match one of the states given in the comma-separated list states. Individual states may be any text string, though* cvs commonly only uses two states, Exp and dead*. See see node ‘admin options\(aq in the CVS manual for more information. | |
*-t * | |
Print the same as* -h*, plus the descriptive text. | |
-wlogins* * | |
Print information about revisions checked in by users with login names appearing in the comma-separated list logins. If logins is omitted, the user\(aqs login is assumed. There can be no space between the* -w* option and its argument.
|
ログの例
寄稿された例はありがたいことに受け入れられます。
rdiff
_ \(aqpatch \(aq formatリリース間の差分_
Tag | Description |
---|---|
o | rdiff [-flags] [-V vn] [-r |
-D d [-r t2 | -D d2]] modules… |
o | Requires: repository. |
o | Changes: nothing. |
o |
Synonym: patch 2つのリリース間でLarry Wall形式のpatch(1)ファイルをビルドします。これを patch プログラムに直接フィードして、古いリリースを新しいリリースで最新のものにすることができます。 (これはリポジトリから直接動作する数少ない cvs コマンドの1つであり、事前のチェックアウトが必要ではありません。)diff出力は標準出力デバイスに送信されます。 (標準の -r および -D オプションを使用して)1つまたは2つのリビジョンまたは日付の任意の組み合わせを指定できます。 リビジョンまたは日付が1つだけ指定されている場合、パッチファイルは、そのリビジョンまたは日付と rcs ファイルの現在の最新リビジョンとの違いを反映します。 影響を受けるソフトウェアリリースが複数のディレクトリに含まれている場合、 patch は他のディレクトリにあるファイル。 |
rdiffオプション
これらの標準オプションは rdiff でサポートされています(ノードの一般的なオプション\(CVSマニュアルのaq、それらの完全な説明については参照):
Tag | Description |
---|---|
-D date** | |
Use the most recent revision no later than date. | |
-f | |
If no matching revision is found, retrieve the most recent revision (instead of ignoring the file). | |
-k kflag** | |
Process keywords according to kflag. See see node ‘Keyword substitution\(aq in the CVS manual. | |
-l | |
Local; don\(aqt descend subdirectories. | |
-R | |
Examine directories recursively. This option is on by default. | |
-r tag** | |
Use revision tag. 上記に加えて、これらのオプションが利用可能です: | |
-c | |
Use the context diff format. This is the default format. | |
-s | |
Create a summary change report instead of a patch. The summary includes information about files that were changed or added between the releases. It is sent to the standard output device. This is useful for finding out, for example, which files have changed between two dates or revisions. | |
-t | |
A diff of the top two revisions is sent to the standard output device. This is most useful for seeing what the last change to a file was. | |
*-u * | |
Use the unidiff format for the context diffs. Remember that old versions of the* patch program can\(aqt handle the unidiff format, so if you plan to post this patch to the net you should probably not use -u*. | |
-V vn*** * | |
Expand keywords according to the rules current in* rcs version vn (the expansion format changed with rcs version 5). Note that this option is no longer accepted. cvs will always expand keywords the way that rcs* version 5 does. |
rdiffの例
tcコンパイラのリリース1.2から1.4への更新を求めるメールをfoo@example.netから受け取ったとします。 そのようなパッチはありませんが、次のようなコマンドで簡単に修正できる cvs があります。
Tag | Description |
---|---|
$ cvs rdiff -c -r FOO1_2 -r FOO1_4 tc | |
\ | |
$$ Mail -s \(aqThe patches you asked for\(aq foo@example.net | |
Suppose you have made release 1.3, and forked a branch called R_1_3fix *for bug fixes. R_1_3_1* corresponds to release 1.3.1, which was made some time ago. Now, you want to see how much development has been done on the branch. This command can be used: | |
$ cvs patch -s -r R_1_3_1 -r R_1_3fix module-name | |
cvs rdiff: Diffing module-name | |
File ChangeLog,v changed from revision 1.52.2.5 to 1.52.2.6 | |
File foo.c,v changed from revision 1.52.2.3 to 1.52.2.4 | |
File bar.h,v changed from revision 1.29.2.1 to 1.2 |
解放する
モジュールが使用されなくなったことを示す
Tag | Description |
---|---|
o | release [-d] directories… |
o | Requires: Working directory. |
o |
Changes: Working directory, history log. このコマンドは、 cvs checkout の効果を安全にキャンセルするためのものです。 cvs はファイルをロックしないため、このコマンドを使用することは厳密に必要ではありません。 必要に応じて、作業ディレクトリをいつでも削除できます。ただし、忘れた可能性のある変更を失うリスクがあり、 cvs 履歴ファイル(CVSマニュアルの「history file \(aq)」ノードを参照)に痕跡を残しません。 これらの問題を回避するには、 cvs release を使用してください。 このコマンドは、コミットされていない変更が存在しないことを確認します。 cvs 作業ディレクトリのすぐ上から実行していること。また、ファイル用に記録されたリポジトリは、モジュールデータベースで定義されたリポジトリと同じであること。 これらの条件がすべて当てはまる場合、 cvs release は、 cvs 履歴ログにその実行の記録を残します(意図的にチェックアウトを放棄したことを証明します)。 |
リリースオプション
Tag | Description |
---|---|
-d | |
Delete your working copy of the file if the release succeeds. If this flag is not given your files will remain in your working directory. 警告: リリース コマンドは、すべてのディレクトリとファイルを再帰的に削除します。 これには、チェックアウトされたソース内に作成され、リポジトリに追加されていないディレクトリ( add コマンドを使用、CVSマニュアルのノード 'Adding files \(aq )空ではない場合でも静かに削除されます! |
出力を解放する
Tag | Description |
---|---|
U file** | |
P file** | |
There exists a newer revision of this file in the repository, and you have not modified your local copy of the file (U *and P* mean the same thing). | |
A file** | |
The file has been added to your private copy of the sources, but has not yet been committed to the repository. If you delete your copy of the sources this file will be lost. | |
R file** | |
The file has been removed from your private copy of the sources, but has not yet been removed from the repository, since you have not yet committed the removal. see node ‘commit\(aq in the CVS manual. | |
M file** | |
The file is modified in your working directory. There might also be a newer revision inside the repository. | |
? file*** * | |
file is in your working directory, but does not correspond to anything in the source repository, and is not in the list of files for* cvs to ignore (see the description of the -I* option, and see node ‘cvsignore\(aq in the CVS manual). If you remove your working sources, this file will be lost. |
リリース例
Tag | Description |
---|---|
$ cd .. # You must stand immediately above the | |
# sources when you issue cvs release. | |
$ cvs release -d tc | |
You have [0] altered files in this repository. | |
Are you sure you want to release (and delete) directory `tc\(aq: y | |
$ | |
更新
作業ツリーをリポジトリと同期する
Tag | Description |
---|---|
o | update [-ACdflPpR] [-I name] [-j rev [-j rev]] [-k kflag] [-r tag |
-D date] [-W spec] files… | o |
Requires: repository, working directory. | o |
更新オプション
これらの標準オプションは、 update で使用できます(ノードの「Common options \(CVSマニュアルのaq、それらの完全な説明については参照):
Tag | Description |
---|---|
*-D date * | |
Use the most recent revision no later than date. This option is sticky, and implies* -P*. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. | |
*-f * | |
Only useful with the* -D* date* or -r* tag** flags. If no matching revision is found, retrieve the most recent revision (instead of ignoring the file). | |
-k kflag*** * | |
Process keywords according to kflag. See see node ‘Keyword substitution\(aq in the CVS manual. This option is sticky; future updates of this file in this working directory will use the same kflag. The* status command can be viewed to see the sticky options. See see node ‘Invoking CVS\(aq in the CVS manual, for more information on the status* command. | |
-l | |
Local; run only in current working directory. see node ‘Recursive behavior\(aq in the CVS manual. | |
-P | |
Prune empty directories. See see node ‘Moving directories\(aq in the CVS manual. | |
-p | |
Pipe files to the standard output. | |
-R | |
Update directories recursively (default). see node ‘Recursive behavior\(aq in the CVS manual. | |
*-r rev * | |
Retrieve revision/tag rev. This option is sticky, and implies* -P*. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. これらの特別なオプションは update でも利用できます。 | |
*-A * | |
Reset any sticky tags, dates, or* -k options. Does not reset sticky -k* options on modified files. See see node ‘Sticky tags\(aq in the CVS manual, for more information on sticky tags/dates. | |
*-C * | |
Overwrite locally modified files with clean copies from the repository (the modified file is saved in* *.#file.revision, however). | |
*-d * | |
Create any directories that exist in the repository if they\(aqre missing from the working directory. Normally,* update* acts only on directories and files that were already enrolled in your working directory. これは、最初のチェックアウト以降にリポジトリに作成されたディレクトリを更新するのに役立ちます。しかし、残念な副作用があります。 作業ディレクトリの作成時にリポジトリ内の特定のディレクトリを意図的に回避した場合(モジュール名を使用するか、コマンドラインで必要なファイルとディレクトリを明示的にリストすることにより)、*-d *で更新するとそれらのディレクトリが作成されます、これはあなたが望むものではないかもしれません。 | |
-I name*** * | |
Ignore files whose names match name (in your working directory) during the update. You can specify* -I more than once on the command line to specify several files to ignore. Use -I ! to avoid ignoring any files at all. see node ‘cvsignore\(aq in the CVS manual, for other ways to make cvs* ignore some files. | |
-Wspec** | |
Specify file names that should be filtered during update. You can use this option repeatedly. _spec_は、*。cvswrappers *ファイルで指定できるものと同じタイプのファイル名パターンです。 CVSマニュアルのノード「Wrappers \(aq」を参照してください。 | |
-jrevision* * | |
With two* -j options, merge changes from the revision specified with the first -j option to the revision specified with the second j* option, into the working directory. 1つの -j オプションを使用して、祖先リビジョンから -j オプションで指定されたリビジョンへの変更を作業ディレクトリにマージします。 祖先リビジョンは、作業ディレクトリが基づいているリビジョンの共通の祖先であり、*-j *オプションで指定されたリビジョンです。 ブランチからの変更をマージするために -j' branchname '*ではなく単一の *-j tagname**オプションを使用しても、ブランチで削除されたファイルは削除されないことが多いことに注意してください。 詳細については、CVSマニュアルのノード「マージの追加と削除」(aqを参照してください。 さらに、各 -j オプションにはオプションの日付指定を含めることができ、ブランチで使用する場合、選択したリビジョンを特定の日付内のリビジョンに制限できます。 オプションの日付を指定するには、タグにコロン(:)を追加します:*-j * *Symbolic_Tag : Date_Specifier *。 CVSマニュアルの「分岐とマージ」ノード(aq |
出力を更新する
Tag | Description |
---|---|
U file** | |
The file was brought up to date with respect to the repository. This is done for any file that exists in the repository but not in your working directory, and for files that you haven\(aqt changed but are not the most recent versions available in the repository. | |
P file*** * | |
Like* U*, but the cvs *server sends a patch instead of an entire file. This accomplishes the same thing as U* using less bandwidth. | |
A file*** * | |
The file has been added to your private copy of the sources, and will be added to the source repository when you run* commit* on the file. This is a reminder to you that the file needs to be committed. | |
R file*** * | |
The file has been removed from your private copy of the sources, and will be removed from the source repository when you run* commit* on the file. This is a reminder to you that the file needs to be committed. | |
M file** | |
The file is modified in your working directory.
| |
C file*** * | |
A conflict was detected while trying to merge your changes to file with changes from the source repository. file (the copy in your working directory) is now the result of attempting to merge the two revisions; an unmodified copy of your file is also in your working directory, with the name* .''file.*revision* where revision is the revision that your modified file started from. Resolve the conflict as described in see node ‘Conflicts example\(aq in the CVS manual. (Note that some systems automatically purge files that begin with . if they have not been accessed for a few days. If you intend to keep a copy of your original file, it is a very good idea to rename it.) Under vms*, the file name starts with __ *rather than .#*. | |
? file*** * | |
file is in your working directory, but does not correspond to anything in the source repository, and is not in the list of files for* cvs to ignore (see the description of the -I* option, and see node ‘cvsignore\(aq in the CVS manual). |
作者
Tag
説明
ディック・グルーン
1986年12月のvolume6リリースで comp.sources.unix に投稿された cvs シェルスクリプトバージョンの原作者。 cvs 競合解決アルゴリズムの多くが認められています。
ブライアン・ベルリナー
1989年4月の cvs プログラム自体のコーダーおよびデザイナー。Dickによるオリジナルの作品に基づいています。
ジェフ・ポーク
ラリー・ジョーンズ、デレク・R 価格、およびマークD バウシュケ
長年にわたって cvs の維持を支援してきました。
そして、ここで言及するにはあまりにも多くの人がいます。
関連項目
- CVS情報 *
CVSの更新、ドキュメントの詳細、CVSに関連するソフトウェア、CVSの開発などについては、次を参照してください。
Tag | Description |
---|---|
link:/unix_commands/index [previous] link:/unix_commands/index [next] link:/cgi-bin/printversion.cgi?tutorial = unix_commands&file = cvs [Printer Friendly]
Advertisements |