The version numbers should be considered as examples.

Use of the version control system
---------------------------------

You may either create an empty Monotone database
# mtn -d $db db init
or use an existing one.

All work on this package is tracked in the
www.ada-france.org monotone repository.
# upstream_branch=com.adacore.asis tracks the contents of AdaCore tarballs.
Revision 7e362eda8e369edabec347b9fe9381d95764f9d2 contains what uscan
would repackage for the GPL-2015 edition.
# debian_branch=org.debian.asis tracks the Debian packaging.
Note: com.adacore.asis.debian used to track the contents of the orig
DFSG tarball, but can be ignored since version 2014.

Download the branches from the server to your database.  The first
time you contact this server, monotone will show its key. You should
check that it matches f8a11727e8983cf9083c08c6a2acaa27e439dd39.
# server=www.ada-france.org
# mtn -d $db pull mtn://$server?$upstream_branch
# mtn -d $db pull mtn://$server?$debian_branch

Recreate repackaged archive from a revision.
# mtn -d $db checkout -r $revision asis-gpl-2014-src
# tar caf asis_2014.orig.tar.xz asis-gpl-2014-src --exclude=_MTN
# rm -fr asis-gpl-2014-src

Inspect the unpatched source tree.
# tar xf asis_2014.orig.tar.xz
# cd asis-gpl-2014-src
# mtn -d $db checkout -r h:$debian_branch .

Build the package
# debuild

Beware that:
- mtn status does not list all changes. Try "mtn list missing", "mtn
  list unknown", "mtn list ignored" and "mtn status" to get the
  equivalent of "git status".
- Monotone will detect changes outside debian/ caused by patches.
  Always "quilt pop -a" when preparing a commit.

 -- Nicolas Boulenguez <nicolas@debian.org>, Sun, 24 Apr 2016 02:40:04 +0200
