manpagez: man pages & more
info cvsclient
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.12 Tags for the MT tagged text response

The MT response, as described in Responses, offers a way for the server to send tagged text to the client. This section describes specific tags. The intention is to update this section as servers add new tags.

In the following descriptions, text and newline tags are omitted. Such tags contain information which is intended for users (or to be discarded), and are subject to change at the whim of the server. To avoid being vulnerable to such whim, clients should look for the tags listed here, not text, newline, or other tags.

The following tag means to indicate to the user that a file has been updated. It is more or less redundant with the Created and Update-existing responses, but we don't try to specify here whether it occurs in exactly the same circumstances as Created and Update-existing. The name is the pathname of the file being updated relative to the directory in which the command is occurring (that is, the last Directory request which is sent before the command).

MT +updated
MT fname name
MT -updated

The importmergecmd tag is used when doing an import which has conflicts. The client can use it to report how to merge in the newly imported changes. The count is the number of conflicts. The newly imported changes can be merged by running the following command:

cvs checkout -j tag1 -j tag2 repository
MT +importmergecmd
MT conflicts count
MT mergetag1 tag1
MT mergetag2 tag2
MT repository repository
MT -importmergecmd

© 2000-2017
Individual documents may contain additional copyright information.