[Pf-tools-devel] Migration from Subversion to Mercurial

Thomas Parmelan tom+pf-tools at ankh.fr.EU.org
Mon Sep 13 12:04:41 UTC 2010


Hi,

We recently switched the repository from Subversion to Mercurial.

All the history has been transferred to the new repository, keeping svn
branches as mercurial internal nambed branches, then all the branches
(except "default", which is the hg name for svn "trunk"), have been
marked as closed. They are there only to keep the whole history. In the
future, we will work only with external branches (that is: 1 branch == 1
repository).

To get a working copy of the main (development) branch, say :

    hg clone ssh://hg.debian.org//hg/pf-tools/pf-tools (read/write)
or
    hg clone http://hg.debian.org/hg/pf-tools/pf-tools (read-only)

To list the available historic branches, say "hg branches --closed".

To create a new repository to work on the 0.33-stable old branch, say :

    hg clone \
	-r 0.33-stable \
	ssh://hg.debian.org//hg/pf-tools/pf-tools \
	pf-tools-0.33-stable

If there's demand for it we can host that new repository on Alioth too,
for instance at ssh://hg.debian.org//hg/pf-tools/0.33-stable. But,
please, DON'T COMMIT ANYTHING IN THE HISTORIC BRANCHES of the main
(ssh://hg.debian.org//hg/pf-tools/pf-tools) repository.

A really good and easy to read introduction to the Mercurial way of
doing things is available on http://hginit.com/. For more details, see
_Mercurial: The Definitive Guide_, available on paper (O'Reilly, 2009)
or freely available on-line at http://hgbook.red-bean.com/.

Thanks for your attention, and sorry for the late notice.


NB: I can send a tarball of the old svn repository on demand.

-- 
Thomas Parmelan



More information about the pf-tools-devel mailing list