{
    "content": [
        {
            "type": "text",
            "text": "# cvs-switchroot (man)\n\n## NAME\n\ncvs-switchroot — change repository or tag in a cvs working copy\n\n## SYNOPSIS\n\ncvs-switchroot [-T] newroot [file ...]\ncvs-switchroot [-T] - srcpath [file ...]\n\n## DESCRIPTION\n\nThe cvs-switchroot utility manipulates a CVS working copy directly, modifying the information\nstored in the administrative subdirectory and saving space by hardlinking if possible.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXAMPLES**\n- **SEE ALSO**\n- **HISTORY**\n- **CAVEATS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "cvs-switchroot",
        "section": "",
        "mode": "man",
        "summary": "cvs-switchroot — change repository or tag in a cvs working copy",
        "synopsis": "cvs-switchroot [-T] newroot [file ...]\ncvs-switchroot [-T] - srcpath [file ...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "Change all Root information in the current sandbox to /cvs:",
            "$ cvs-switchroot /cvs .",
            "Set all roots in the current working directory and all its subdirectories to the Root of the",
            "parent directory:",
            "$ cvs-switchroot - .. .",
            "Hardlink the Tag information in the current working directory, for example /usr/src, and",
            "/usr/ports with each other:",
            "$ cvs-switchroot -T - . . /usr/ports"
        ],
        "see_also": [
            {
                "name": "cvs",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/cvs/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CAVEATS",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "cvs-switchroot — change repository or tag in a cvs working copy\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "cvs-switchroot [-T] newroot [file ...]\n\ncvs-switchroot [-T] - srcpath [file ...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The cvs-switchroot utility manipulates a CVS working copy directly, modifying the information\nstored in the administrative subdirectory and saving space by hardlinking if possible.\n\nIf the -T option is given, the sticky tag is operated on, otherwise, the repository path\n(CVSROOT).\n\nThe information (Tag or Root) is set to the same as in srcpath if the first non-option argument\nnewroot is a sole dash (‘-’), the literal value newroot otherwise.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "Change all Root information in the current sandbox to /cvs:\n\n$ cvs-switchroot /cvs .\n\nSet all roots in the current working directory and all its subdirectories to the Root of the\nparent directory:\n\n$ cvs-switchroot - .. .\n\nHardlink the Tag information in the current working directory, for example /usr/src, and\n/usr/ports with each other:\n\n$ cvs-switchroot -T - . . /usr/ports\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "cvs(1)\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "cvs-switchroot has existed in the MirBSD source tree since 2005.  It was added to Debian's cvs\npackage in 2011.\n",
                "subsections": []
            },
            "CAVEATS": {
                "content": "cvs-switchroot depends on mksh.\n\nBSD                              June 10, 2011                             BSD",
                "subsections": []
            }
        }
    }
}