Upstream is in mercurial at http://hg.mozilla.org/services/server-full (and server-core, server-storage, server-reg). I don't know mercurial very well and git doesn't pull from the other DVCSes, so I wanted to use bazaar -- unfortunately for some reason the bzr-hg plugin was having trouble pulling directly from the http server. However I discovered I can make a bzr branch from a local hg repository.
hg clone http://hg.mozilla.org/services/server-full upstream/server-full
hg tagsto find their tagged release version
bzr branch -r hg:<hg spec> upstream/server-full syncserver
python setup.py sdist --dist-dir ..to build the "orig" tarball the debian tools want
ln -s SyncServer-1.0.tar.gz syncserver_1.0.orig.tar.gz
- copy over my old debian directory & update changelog
- Edit MANIFEST.in a few times to add in whatever components were in the build tree but not in the archive built with sdist