debcheckout - checkout the development repository of a Debian package
debcheckout retrieves the information about the Version Control System used to maintain a given Debian package (the PACKAGE argument), and then checks out the latest (potentially unreleased) version of the package from its repository. By default the repository is checked out to the PACKAGE directory; it can be overridden providing the DESTDIR argument.
The information about where the repository is available is expected to be found
in Vcs-* fields available in the source package record. For example, the vim
package exposes such an information with a field like Vcs-Svn:
svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim, you can see it grepping
apt-cache showsrc vim.
If more than one source package record containing Vcs-* fields is available, debcheckout will select the record with the highest version number. Alternatively, a particular version may be selected from those available by specifying the package name as PACKAGE=VERSION.
If you already know the URL of a given repository you can invoke debcheckout directly on it, but you will probably need to pass the appropriate -t flag.
The currently supported version control systems are: arch, bzr, cvs, darcs, git, hg, svn.
apt-cache(8), Section 4.10.4 of the Debian Developer's Reference and/or Bug#391023 in the Debian Bug Tracking System (for more information about Vcs-* fields)
debcheckout and this manpage have been written by Stefano Zacchiroli <email@example.com>